Thanks. That was helpful. much appreciated.
--Curtis > Curtis, > >> A quick question. I've been running amavisd-new and postfix for a few >> years and it works well. amavisd is a bit of a resource hog, but I've >> managed to trim down what gets fed to it and that has helped a great >> deal. >> However, lately I've been reading about the newer amavisd-milter >> interface. Which is more efficient for handing mail to amavis, the >> milter >> interface or the smtp handoff? amavis is running on the same machine as >> the smtp server. I was thinking of splitting it off onto a separate >> machine, but finally getting postfix to reject unknown virtual >> recipients >> has reduced the load dramatically. > > Well, the milter interface is a little bit faster, as it avoids having > amavisd do the reading line by line (because of the dot stuffing) and > can read by chunks. But the difference is really negligible - on our > server the SMTP receiving by amavisd takes 60 ms on the average. Even if > you'd reduce that reading time to zero, it would still make no difference > to the total time spent, mostly in SpamAssassin. The SMTP sending time > is even shorter, as in this case I/O can go by chunks and is cheap. > > So I don't think it is worth loosing some of the capabilities (like > per-recipient mail header rewrites) for the sole purpose of saving > 60 milliseconds per message, especially when also doing spam checks. > > You may move amavisd to a separate machine to split the load > if CPU resources are better there. This applies either to the > SMTP interface, or to the milter interface (milter must run > on the same host as amavisd, both of which may be moved away > from the MTA host). With SMTP interface one can even have multiple > amavisd backends and let MTA use its MX load sharing functionality. > > Mark > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > Please visit http://www.ijs.si/software/amavisd/ regularly > For administrativa requests please send email to rainer at openantivirus > dot org > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org