Mike Cathey wrote on 03/02/2006 22:35: > On Fri, 2006-02-03 at 04:58 -0800, Caleb Walker wrote: > >>I am having a hard time finding the best way to combine these 3 >>products. Currently I have mail arrive through postfix, which sends to >>procmail, which sends through spamassassin and then to the cyrus message >>store. > > I would humbly suggest that you consider using Amavisd-new. > > The flow looks like this on our system: > > postfix -> amavisd-new (sa/clamav) -> postfix -> postfix -> cyrus > > We're using local tcp sockets for postfix<->amavis. We use a unix > socket for lmtp, but we'll probably be switching to TCP at some point.
I have pretty much the same setup except that I disabled SA in amavisd-new (because I don't like the way amavisd-new handles SA reports), using it only as an antivirus "frontend" for postfix. Instead I use spampd to do the real spam detection. spampd is a perl daemon, which (like amavisd-new) acts as a sort of SMTP proxy, but unlike amavisd-new (which uses spamc/spamd unless I'm mistaken), it uses SpamAssassin's perl modules directly. SpampD is quite efficient as it only loads all spamassassin rules only once (like spamd) and tries to avoid spawning of new childs (as far as this is reasonable). Have a look at http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm for spampd (original author) or just use my Debian packages (in Debian/Stable) if you use Debian. cu, sven ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html