Mark Martinec wrote:
Bogdan,
I'm trying to make use of Mail::SpamAssassin::Plugin::AccessDB plugin.
This is what I have in config:
body GMAIL_IZDANJA eval:check_access_database('/etc/mail/gmail_spam.db')
describe GMAIL_IZDANJA spam from gmail.com
score GMAIL_IZDANJA 35.000
Content of /etc/mail/gmail_spam is in format "em...@addr REJECT". File
is compiled with postmap and exim_dbmbuild, both didn't work.
When I do spamassassin --lint I get this:
[18199] warn: util: cannot untaint path: "ARRAY(0x8819ebc)"
The test is supposed to receive a header as argument, not a body:
wrong:
body GMAIL_IZDANJA eval:check_access_database('/etc/mail/gmail_spam.db')
right:
header GMAIL_IZDANJA eval:check_access_database('/etc/mail/gmail_spam.db')
Mark
Hi Mark,
thanks for the reply. What I am trying to do is actually have access map
of blacklisted email addresses or websites that are mentioned in the
*body* of email, not in header.
Best,
Bogdan