[exim] variables at acls

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marten Lehmann
Datum:  
To: exim-users
Betreff: [exim] variables at acls
Hello,

exim -bh spam@??? gives me the following output:

acl_check_data:

check spam = nobody
>>> check condition = ${if

eq{${lookup{$local_part@$domain}lsearch*@{/mailin/conf/antispam.txt}}}{junk-folder}{1}{0}}
 >>>                 = 0
 >>> warn: condition test failed


But I don't know why this happens, because within the file
/mailin/conf/antispam.txt there is an entry for spam@???
"junk-folder" and a later condition within a transport with exactly the
same condition works fine. The only thing I can image for the condition
to fail is that $local_part and $domain don't have the expected values.
Are they set correctly during the ACLs? If not, how else can I access
them or work with them?

Regards
Marten