On Mon, Feb 06, 2006 at 11:20:49PM +0100, wim wrote: > Hi all, > > I'm setting up a local mailserver. I configured the box as smart host, > but I want to deliver my local mail to Mailbox. > I was looking for some docs on Exim4's config, but I di not find clear > documentation on dc_other_hostnames. > Is the syntax of dc_other_hostnames correct and can I combine > dc_smarthost and dc_localdelivery? No, I don't think the syntax is correct and yes you can combine smarthost and local delivery. One question though, why not use exim4-config as it makes the configuration so easy :) `dpkg-reconfigure exim4-config` The dc_other_hostnames has a normal exim list construction syntax. I think the dc_ in the beginning of that variable means that it is a debian configuration specific variable. The syntax should however be the same as with native exim domain list. The exim list syntaxes are explained at: http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch10.html So, your line should say dc_other_hostnames='localhost.localdomain : *.thuis.net' BTW, why you have the '*' in your domain? Do you have multiple hosts in your domain and they have separate addresses like somebody@host1.thuis.net? If the addresses are only somebody@thuis.net, then you shouldn't need the '*' (just a thought :) > Here is my /etc/exim4/update-exim4.conf.conf: > > dc_eximconfig_configtype='smarthost' > dc_other_hostnames='localhost.localdomain, *.thuis.net' > dc_local_interfaces='127.0.0.1' > dc_readhost='' > dc_relay_domains='' > dc_minimaldns='false' > dc_relay_nets='' > dc_smarthost='smtp.isp.net' > CFILEMODE='644' > dc_use_split_config='false' > dc_hide_mailname='false' > dc_mailname_in_oh='true' > dc_localdelivery='maildir_home' > > Thanks for the help.. > > Cheers! > > Wim HTH Simo -- :r ~/.signature
Attachment:
signature.asc
Description: Digital signature