spamassassin-users March 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: trusted_networks

Re: trusted_networks

From: Karsten Bräckelmann <guenther_at_nospam>
Date: Mon Mar 29 2010 - 16:24:42 GMT
To: users@spamassassin.apache.org

On Mon, 2010-03-29 at 11:40 -0400, Kaleb Hosie wrote:
> I'm having a problem with the trusted_networks option. Right now I have
> it set to:
>
> trusted_networks 10.0.1/24

> When I try to use this option; I login through telnet port 25, and send
> the test spam string (from the 10.0.1.0 subnet) it still gets caught
> in spam. Am I doing something wrong or is there another option I need
> to choose?

Please re-read the documentation about trusted_networks again. It is
*not* an option for bypassing SA.

In fact, there is no such option. SA will scan whatever it gets fed. So
if you want to bypass SA for mail generated from a particular network,
you need to adjust the glue that calls SA to just not do that.

-- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}