[email protected] 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/

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

Reply via email to