You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Nuno Fernandes <np...@eurotux.com> on 2009/03/26 20:14:15 UTC
whitelist precence over unwhitelist
Hi,
I have the following configuration in spamassassin:
whitelist_from *@domain.com
unwhitelist_from marketing@domain.com
Using debug i can see:
[26305] dbg: eval: all '*From' addrs: marketing@domain.com
[26305] dbg: rules: address marketing@domain.com matches whitelist or
blacklist regexp: ^.*\@domain\.com$
[26305] dbg: rules: ran eval rule USER_IN_WHITELIST ======> got hit (1)
Shouldn't the unwhitelist take precence on the whitelist? I'm using
spamassassin-3.2.5-1.el5.rf.
Any ideas?
Thanks,
Nuno Fernandes
Re: whitelist precence over unwhitelist
Posted by John Hardin <jh...@impsec.org>.
On Thu, 26 Mar 2009, Nuno Fernandes wrote:
> I have the following configuration in spamassassin:
>
> whitelist_from *@domain.com
Bad idea. That's trivially forgeable by spammers. whitelist_from is a last
resort. You should use whitelist_from_*, which aren't easily spoofable.
> unwhitelist_from marketing@domain.com
The unwhitelist_from documentation says: "The specified email address has
to match exactly the address previously used in a whitelist_from line."
It sounds like what you're trying to do is not supported.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Users mistake widespread adoption of Microsoft Office for the
development of a document format standard.
-----------------------------------------------------------------------
64 days since Obama's inauguration and still no unicorn!