Carlos E. R. wrote:
The Friday 2007-06-29 at 22:15 +0200, Sandy Drobic wrote:
I assume that you configured both systems with reasonable defaults? Transfer over SMTP is indeed blazing fast with Postfix. I had to switch off my main server over night once. The queue on the replacement drained almost immediately (a few hundred mails only) when the primary came online again. Although the mails then sat in the active queue of the primary waiting to be scanned by amavisd-new. (^-^)
For a time, I had to reuse my old computer to retrieve suse list mail (suse 7.3, 32 MB ram, refurbished with postfix). Mail delivery went so slow that it tried to bounce! The amavis script took more than half an hour to process some emails and postfix decided to bounce back, thinking it had stalled.
32 MB is indeed rather small for ram. (^-^) Your system was bouncing because the destination hop (content_filter) timed out. If your maximal_queue_lifetime was set sufficiently low, you could indeed end up bouncing the mails that could not be processed in time.
The problem was that the system was starting a new instance or child amavis (or amvis.new, I don't remember), using swap memory for each and slowing the system more and more. The solution was, of course, to use a queue of one, so that postfix didn't feed amavis with the nest email till it had finished with the previous one, so that there were only one amavis child in memory and running. The processing time went down to under a minute per mail :-)
Interesting lesson! Even on a fast server, the number of amavis childs must be limited to a sensible value.
Of course. Even the fastest computer can be flooded with more mail than he can scan in realtime. On my old server here at home (was build around the end of the last century) I use amavisd-new as a pre-queue proxy-filter. So I have to restrict the number of concurrent connections to 6. Any more and I might run out of RAM (my server only has 512 MB and has a few more daemons running aside of Postfix). -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org