Henrik K a écrit : > On Mon, Dec 29, 2008 at 12:15:22PM -0500, Michael Scheidell wrote: >>> Hello, >>> >>> before i was using amavis in post-queue mode. >>> But due to german law, i must use amavis in pre-queue mode. >>> How can i accelerate amavis, to use it in pre-queue mode? >>> \ >> Just curious: >> >> What is english translation of german law, something like >> "You must use amabisd-new in pre-queue mode under penalty of law"? >> >> Since amavisd-new in pre-queue mode is SLOW.... SLOW ... SLOW > > What's all the fuss about SLOW SLOW BOOM BOOM it's gonna explode? > > It's slow if you use smtpd_proxy_filter
That's what I understood by pre-queue. vocabulary from the days before milter support in postfix... > and gazillion amavisd processes. > Probably something like that is the case here.. or huge or slow SA rules. > > Using amavisd-milter is much better option, you can control concurrent > process amount and socket queue. how? if you configure postfix to accept 100 simultaneous connections, then you should be prepared to filter 100 simultaneous messages (I am talking pre-queue here). but even assuming a single message. if the time it takes to scan is long, the client may disconnect. I don't know if caching would help here (so that next time, the message is filtered quickly). Can you explain why -milter would be better than proxy_filter. > No limiting then needed for postfix > processes, you can do do cheap rejects before amavisd (unknown users, > helo/rbl etc). > Yes. That should be the first thing to do when setting up an anti-spam server/relay/... etc. > Of course you do have to know something about your average traffic and > hardware limits. But nothing wrong about running pre-queue scanning. > ------------------------------------------------------------------------------ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/