> > Can anybody point me in the direction of a document or place where I > > could find information about setting up a solo Linux Debian server > > running spamassassin as a gateway spam filter that sends the mail > > along to an exchange server? > > This can be confusing to those that have never done this before. What you > need is postfix to receive the mail, then for it to pass onto spamassassin > to scan it for spam. If it passes, then to forward it to exchange.
I guess the only (important!) stunt, that is not outlined in a gazillion howtos out there is, how to accept mail *exclusively* for valid email addresses -- where the (non-static list?) master is the Exchange server. If you accept all mail at your MX, regardless of the recipient, your backends most likely will contribute to the problem by rejecting after the original accept, and bounce the spam for a nonexistent address "back" to the forged, innocent sender. -- 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; }}}