On Fri, 2008-10-10 at 17:14 +0200, mouss wrote: > Liam-PrintingAutomation a écrit :
> > I'm noticing we're getting a lot of spam coming through with a from > > address of our own domain. This gives spamassassin an automatic -100 on > > the score pretty much guaranteeing that it'll not get flagged as spam. > > Since we have a limited number of people using that domain, is there a > > way to tell spamassassin to block or at least give a really bad score ot > > any email with a FROM as coming from our domain but is not a user (left > > of @ sign) that isn't one of these X addresses? > > This is a common configuration error. don't whitelist mail from your > domain. Ah, finally found the wiki page explaining to use whitelist_from_rcvd rather than whitelist_from. http://wiki.apache.org/spamassassin/WhitelistingEverybody If you properly constrain your whitelisting, you can do so for the entire domain, instead of adding one line per user. Also have a look here: http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#whitelist_and_blacklist_options HTH guenther -- char *t="[EMAIL PROTECTED]"; 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; }}}