From: Chris B. <li...@pi...> - 2005-12-09 13:02:53
|
fet...@be... wrote: >Message: 1 >Date: Thu, 8 Dec 2005 22:04:18 -0800 >From: Greg Lindahl <li...@pb...> >To: fet...@li... >Subject: [fetchmail-users] more clever resource limitations > >[snip] > >Due to the advent of spamassassin, I am no longer able to accept lots >of messages at once via fetchmail -- it causes my laptop to thrash. I >use sendmail -> procmail -> spamassassin, so using sendmail's load >average limit didn't really help the situation, since sendmail has no >idea it's kicked off a bunch of spamassassin processes that in a few >seconds will drive the load way up. (In this analysis I'm assuming that >it's only cpu time and not disk I/O which is causing the problem.) > > Can you not limit the no. of messages sendmail accepts per connection and a queue limit instead? That's what i did with my similar setup but with exim as the MTA. Fetchmail copes with this gracefully. I had exactly the same problem every time I went on holiday and shutdown my local mailserver: with the huge volume of spam, fetchmai, would go and get loads of messages from my POP3 box, deliver them to Exim, which would then launch lots of spamd processes. The box would work itself into a corner until theer was little choice but to 240-reset it! Once I set the limits in exim, it's just a question of waiting a while. |