Re: [Exim] Using macros within ACL files

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John Dalbec
Datum:  
To: Hubbard, Matt R W, exim-users
Betreff: Re: [Exim] Using macros within ACL files

Hubbard, Matt R W wrote:

> Would it be feasible and advisable to have MACRO expansion applied to loaded ACL files? As this doesn't seem to happen in v4.30.
>
> Cheers,
> Matt.
>
>
> For example:
>
> in file exim.conf:
> ...
> ETCDIR=/usr/local/exim/etc
> acl_smtp_data=ETCDIR/acl-data
> ...
>
> in file acl-data:
> deny !acl = ETCDIR/acl-data-attachments
> warn acl = ETCDIR/acl-data-spam
>
>
> This currently fails with 'unknown ACL verb in "ETCDIR/acl-data-attachments"'.


What's in file ETCDIR/acl-data-attachments? I've run into this when I had a
multi-line regex clause (condition=...) and forgot a \ at the end of one of the
lines.

John
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>