Re: [exim] ACL not working. what am I doing wrong

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Ted Cooper
Datum:  
To: exim-users
Betreff: Re: [exim] ACL not working. what am I doing wrong
isolderj@??? wrote:
> I have a mysql lookup that ends up with.
>
> lookup yielded: N
>
> this is saved to variable JUNKMAIL_SETTING.
>
> Now I would like to use the folowing in an acl.
>
> accept
>                 condition = ${if eq{$JUNKMAIL_SETTING}{N}}
>                 log_message = This user has Junkmail settings disabled and will not be spam scanned
>  endpass

>
> this Does not seem to work. What and I doing wrong?


Variables start with $acl_c for connection acl variables, and $acl_m for
message variables.

Macros are ALL_CAPITALS and don't need a leading $



--
The Exim Manual
http://www.exim.org/docs.html
http://docs.exim.org/current/