On Sat, May 26, 2012 at 2:08 PM, Lamar Owen <lowen at pari.edu> wrote: > On Saturday, May 26, 2012 12:47:04 PM Les Mikesell wrote: >> Have you looked at MimeDefang's ability to run all of your scanners >> out of one milter? > > Yes. > > Doing the same thing with amavisd-new on the few sendmail installs I still have running; amavisd-new runs clam (or, at one site, the sophos scanner) and spamassassin, and amavisd-milter does everything needed with one milter. Using essentially the same setup with a couple of postfix sites, but no milter in that case. > Is it as efficient as the MimeDefang architecture? Aside from just unpacking the attachments once, MimeDefang runs a small binary as a multiplexor that connects to all sendmail milter hooks and passes the requests to the perl daemon as they happen. That means you can have a much smaller number of perl processes (that run spamassassin in-process) than sendmail children, and fast operations done by sendmail itself or a milter don't wait for slow operations tying up memory. I'm not sure there is even any equivalent way to do this without milters. See pg. 31 of http://www.mimedefang.org/static/mimedefang-lisa04.pdf Plus, you can add custom behavior to sendmail with a small snippet of perl. -- Les Mikesell lesmikesell at gmail.com