spamassassin's whitelist_to not working...
I'm using spamassassin (2.20-1 from sid), an just noticed a problem with
the whitelist_to. I'd like to whitelist_to my root address (root@socrates)
because some packages will send mail ot that address, but it doesn't seem
to be working.
1) If I whitelist_to something like
(and other domains where I can get mail)
it works fine, and I can see the tag in the mail header showing that the
USER_IN_WHITELIST_TO test was successful;
2) Now, if I do:
the test fails, and the message will go to my spam box... (I don't
3) And the funny part: if I whitelist_from root@socrates, it works
(USER_IN_WHITELIST is there);
Here's one example of mail not whitelisted: I've forged the From header
to look like "root" only, and sent the message to "root@socrates", which
was in whitelist_to. This is quite similar to what happens to the mails
sent by the packages.
>From firstname.lastname@example.org Fri Apr 26 09:27:35 2002
Received: by socrates.dnsalias.org (Postfix, from userid 1001)
id 600C9431A8; Fri, 26 Apr 2002 09:27:35 -0300 (BRT)
Date: Fri, 26 Apr 2002 09:27:35 -0300
From: root <root>
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=3.3 required=4.0 tests=FROM_MALFORMED,TO_MALFORMED,SIGNATURE_DELIM version=2.20
I'm using spamd/spamc, and whitelisting in my .spamassassin/user_prefs
file, and /etc/spamassassin/local.cf is empty.
I've checked the BTS and didn't find anything that helps with that. I
also tried to check the sources, but it looks like the whitelist_to and
whitelist-from tests are quite similar (there's one little difference,
but it did look OK to me).
Can anyone confirm that this happens? Any ideas?
Thanks in advance!
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org