On Fri, 23 Oct 2009, Angus Dunn wrote: > > Thanks everyone for your help! > > I have changed procmailrc to the following: > DROPPRIVS=yes > :0fw > * < 512000 > | /usr/bin/spamc > > :0 > * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\* > /dev/null > > It is now working fine. > > Someone mentioned that i can actually invoke spamassassin directly from > sendmail. What will be the advantage/disadvantage to do that? Also any docs > on how to do that? > > Thanks, > > Angus
Check the SA wiki for "IntegradedInMta" http://wiki.apache.org/spamassassin/IntegratedInMta There are multiple sendmail 'milters' (EG spamas-milter, milterassassin) which will do that, other kinds of more exotic integration systems (EG MIMEDefang, amavis2, etc). General advantages: can filter all mail passing thru your system not just locally delivered messages, only need to call once per message not per recipient, can do SMTP rejects of high-scoring spam, etc General disadvantage: harder to do per-user customization of rules etc. -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{
