[Pkg-exim4-users] Basic questions

Neil S. Briscoe neil.briscoe at censornet.com
Thu Apr 9 19:58:57 UTC 2009


Hi

Léon Dignòn wrote:
> Hello!
>
> I cannot find anything about the following questions to the
> Debian-standard-configuration-files of exim4:
>
> 1.
> Is "UPEX4CmacrosUPEX4C = 1" including the update-exim4.conf.conf in
> the exim4.conf.template?
>
>   

It is - here's how to find out

root at romulus:/etc/exim4# grep UPEX4 exim4.conf.template
UPEX4CmacrosUPEX4C = 1

> 2.
> There is a line "domainlist local_domains = MAIN_LOCAL_DOMAINS". Is
> MAIN_LOCAL_DOMAINS defined anywhere? Or is it unset so that exim uses
> the uname() system function to obtain the hostname?
> If it is empty and I like to fill the macro with a list of domains,
> where should I do that best? At the very top of the single-conf-file?
> Any best practices?
>
>   
Looking in /var/lib/exim4/config.autogenerated (never touch this file by 
hand) there is a block which runs something like

.ifndef MAIN_LOCAL_DOMAINS
MAIN_LOCAL_DOMAINS=@:localhost:
.endif

What gets put in that MAIN_LOCAL_DOMAINS= line is whatever is in the 
dc_other_hostnames variable in update-exim4.conf.conf
> If I understand it, the line should look like this:
> "MAIN_LOCAL_DOMAINS = example1.org : example2.org : example3.org"
> Correct?
>
>   
Make your line in update-exim4.conf.conf read somethine like

dc_other_hostnames='localhost:hostname:example1.org:example2.org:example3.org'

When you've edited that file run

invoke_rc.d exim4 restart

Regards
Neil

-- 
Neil Briscoe
CensorNet Ltd - professional & affordable Web & E-mail filtering
neil.briscoe at censornet.com web: www.censornet.com
tel: 0845 230 9592 / fax: 0845 230 9591 / main office: 0845 230 9590
snail: The Old Post Office, Bristol Rd, Hambrook, Bristol BS16 1RY. UK.
MSN: nbriscoeuk at hotmail.co.uk

CensorNet Ltd is a registered company in England & Wales No. 05518629
VAT registration number 901-2048-78

Any views expressed in this email communication are those
of the individual sender, except where the sender specifically states
them to be the views of a member of CensorNet Ltd.  CensorNet Ltd does not
represent, warrant or guarantee that the integrity of this communication
has been maintained nor that the communication is free of errors or
interference. 


------------------------------------------------------------------------------------
Scanned for viruses, spam and offensive content by CensorNet MailSafe

Try CensorNet free for 14 days. Provide Internet access on your terms.
Visit www.censornet.com for more information.




More information about the Pkg-exim4-users mailing list