[exim] spam assassin / acl_check_data

Top Page
Delete this message
Reply to this message
Author: Michael da Silva Pereira
Date:  
To: exim-users
Subject: [exim] spam assassin / acl_check_data
Hi,

As per my previous emails to the list about spam assassin and passing the username to spamassassin, here is what I have setup:

acl_check_data:
warn set acl_m9 = ${lookup mysql {LOG_FIRST}}

warn message = X-Spam-Score: $spam_score
                spam = test


Using this config I can see exim call spamassassin and spamassassin looks up the user "test" in the sql database.
I have tried changing it to "spam = $local_part@$domain" but then spam assassin will lookup "@", i think that $local_part and $domain
don't return any values in the acl_smtp_data acl list, what would give me the recipient address in the acl_data function?


Thanks,
Michael