[Pkg-exim4-users] Basic questions

Marc Haber mh+pkg-exim4-users at zugschlus.de
Fri Apr 10 08:49:34 UTC 2009


On Thu, Apr 09, 2009 at 09:40:03PM +0200, Léon Dignòn wrote:
> 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?

update-exim4.conf (the shell script) takes the contents of
update-exim4.conf.conf (the configuration files) and generates a bunch
of macros (including MAIN_LOCAL_DOMAINS). These macros get inserted
into the file generated from /etc/exim4/exim4.conf.template at the
place where UPEX4CmacrosUPEX4C=1 is found, which serves as a marker
showing where to insert the macro defs.

> 2.
> There is a line "domainlist local_domains = MAIN_LOCAL_DOMAINS". Is
> MAIN_LOCAL_DOMAINS defined anywhere?

It is generated by update-exim4.conf from the local_domains setting in
update-exim4.conf.conf.

>  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?

As far as I remember, MAIN_LOCAL_DOMAINS is not .ifdef wrapped in the
original file, so you either need to modify the template file itself
(which is OK if you want to) or to modify local_domains in ue4cc.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



More information about the Pkg-exim4-users mailing list