spamassassin's whitelist_to not working...
Hello.
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
whitelist_to *@mpcnet.com.br
(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:
whitelist_to root@socrates
the test fails, and the message will go to my spam box... (I don't
know why)
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 pellegrini@mpcnet.com.br Fri Apr 26 09:27:35 2002
Return-Path: <pellegrini@mpcnet.com.br>
Delivered-To: root@socrates
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>
To: root@socrates
Subject: a
Message-ID: <20020426122735.GF28904@mpcnet.com.br>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Spam-Status: No, hits=3.3 required=4.0 tests=FROM_MALFORMED,TO_MALFORMED,SIGNATURE_DELIM version=2.20
X-Spam-Level: ***
Status: RO
Content-Length: 5
Lines: 2
--
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!
J.
--
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: