On 3/28/2012 3:17 AM, FC Mario Patty wrote:
> On Wed, Mar 28, 2012 at 11:55 AM, ddodell <da...@d2net.net
> <mailto:da...@d2net.net>> wrote:
>
>
>     I've tried researching this question without much luck.
>
>     Is there a way to whitelist a specific IP address in spamassassin.
>
>     Be gentle ... I'm new at this.
>

> I put
>
>   *   trusted_networks 172.1.*
>
> in /etc/mail/spamassassin/local.cf <http://local.cf> (replace 172.1.
> with your real network id). I think it should work with your
> configuration too.
>
> Another place I'd like to check is simcontrol (since I use simscan to
> coordinate clamd and spamassassin and I configured simscan with
> --enable-per-domain=y(?)). By configure simcontrol, I can clamd-scan
> email from particular network, say 172.1, for viruses yet let it
> bypass spam check. The last time I did it was when I upgraded
> spamassassin on our production server to let emails keep coming about
> 10 minutes without spam check while the upgrading was in progress.

trusted_networks is not whitelisting.  IPs in trusted_networks get a
pass from blacklist lookups, but otherwise are scored normally.  If you
want whitelisting, take a look at the various whitelist_from_* options.

$ man Mail::SpamAssassin::Conf

If you really want to simply let through all mail from a specific IP,
the simplest way is probably at the MTA.  Don't send those messages to
SA in the first place...problem solved.

-- 
Bowie


Reply via email to