Re: [exim] non-static qualify_domain

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: Exim, Users
Subject: Re: [exim] non-static qualify_domain
On 10/01/07, Patrick von der Hagen <hagen@???> wrote:
> Peter Bowyer wrote:
> [...]
> > The canonical way round this is to use a macro in the 'qualify_domain'
> > line, and 'include' a local file at the top of the config which
> > defines local macros.
> Why do I always forget about inclusion? :-(
>
> >
> > eg
> >
> > .include /etc/DOMAIN.exim
> >
> >
> > qualify_domain= INCLUDED_DOMAIN
> >
> >
> > /etc/DOMAIN.exim contains
> >
> > INCLUDED_DOMAIN=<something>
>
> Even better:
> qualify_domain = \
>        .include /etc/DOMAIN

>
> No scripting at all. :-)
> The linebreak and continuation are required to have the
> include-statement line by itself.


And why do I forget that .include isn't line-break bound?

Nice one.

Peter


--
Peter Bowyer
Email: peter@???