Re: [exim] Problems with Macros

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dave Evans
Päiväys:  
Vastaanottaja: Exim Users List
Aihe: Re: [exim] Problems with Macros
On Fri, Oct 26, 2007 at 01:09:33PM -0500, D. Dante Lorenso wrote:
> >    ............- /etc/exim/exim/acl/helo.conf (acl_smtp_helo=)
> >    ............- /etc/exim/exim/acl/mail.conf (acl_smtp_mail=)
> >    ............- /etc/exim/exim/acl/rcpt.conf (acl_smtp_rcpt=)
> >    ............- /etc/exim/exim/acl/data.conf (acl_smtp_data=)
> >    ............- /etc/exim/exim/acl/mime.conf (acl_smtp_mime=)


And then also wrote:
> acl_smtp_helo = /etc/exim/exim/acl/helo.conf
> acl_smtp_mail = /etc/exim/exim/acl/mail.conf
> acl_smtp_rcpt = /etc/exim/exim/acl/rcpt.conf
> acl_smtp_predata = accept
> acl_smtp_data = /etc/exim/exim/acl/data.conf
> acl_smtp_mime = /etc/exim/exim/acl/mime.conf
>
> Suddenly my macros are working again inside the ACL sections.


Ah, so that's what you meant in your original posting. Well, the answer is
that macros are substituted in the configuration file (and files ".include"d
into it), and that's it. Other files (e.g. "acl_foo = /path/to/somefile", or
files referenced by lookups, etc) are not subject to macro substitution.

Regards,

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey