On 10/01/07, Patrick von der Hagen <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to