On Fri, 2009-07-10 at 11:30 -0700, John Hardin wrote:
> On Fri, 10 Jul 2009, an anonymous Nabble user wrote:
> 
> > Am using procmail.
> 
> Take a look at http://www.impsec.org/~jhardin/antispam/ for a procmail SA 
> ruleset that skips mail originating from localhost. If you need help 
> generalizing that for your situation, contact me offlist.

With procmail, you can trivially exonerate specific sender addresses
from scanning. Just add a condition like this to your spamc filtering
procmail recipe:

  * ! ^From: f...@example.net

However, with IMAP and server-side procmail filtering I personally
strongly prefer to sort the cron crap into a dedicated folder, not
cluttering up my Inbox.

For that, just add a delivery recipe *before* scanning with SA. Like
this example.

  :0 :
  * ^From: ....@example.net \(Cron Daemon\)
  * ^X-Cron-Env:
  cron


-- 
char *t="\10pse\0r\0dtu...@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; }}}

Reply via email to