[exim] variables at acls

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Marten Lehmann
日付:  
To: exim-users
題目: [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