> I'm using Exim 4.34-4.1 (Debian) and like to define an ACL which sets
> acl_m0 = 1 for example if one of the recipients was found in a MySQL
> database. Does anybody know how to do it?
acl_smtp_rcpt = acl_check_rcpt
.
.
.
acl_check_rcpt :
warn condition = ${lookup mysql {MYSQL_Q_FOUNDRECIPIENTS}{$value}}
set acl_m0 = 1
.
.
.
In MYSQL_Q_FOUNDRECIPIENTS lookup '$local_part@$domain' for example.
- oliver