On Wed, 2013-08-14 at 14:53 -0400, Andrew Talbot wrote: > I’m trying to whitelist all our internal subdomains but I can’t seem > to get it to work. > > We have so many of them that it’s impractical to do them individually.
> I was thinking that whitelist_from *.domain.com would work but it > doesn’t According to the docs [1], it does. That's precisely one of the examples. If it does not work for you, you'll have to show some samples by providing raw headers. I strongly suggest to use the much safer variants with additional constraints: whitelist_from_rcvd and whitelist_auth. > I can’t seem to find any documentation on the net anywhere – is it > even possible to do this? M:SA:Conf docs [1], section Whitelist and Blacklist Options. [1] http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Conf.html -- 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; }}}