Re: Random delay on incoming SMTP connection to OpenSMTPD

2016-06-13 Thread Marc Peters
Am 06/11/16 um 10:47 schrieb ML mail: > This VM has 2 GB of RAM and 2 vCPUs and does only serve as a mail gateway, > nothing else really. Does SpamAssassin really need so much resources? Of course, it perl ;). You could use something like amavis, which does additionally queueing and invoking

Re: Random delay on incoming SMTP connection to OpenSMTPD

2016-06-11 Thread ML mail
So by testing empirically and change my max-childrens to 5 and this is what actually happens: Jun 11 09:35:45 mgw1 spamd[30100]: prefork: child states: BJun 11 09:35:45 mgw1 spamd[3024]: spamd: connection from localhost [127.0.0.1]:8686 to port 783, fd 6 Jun 11 09:35:45 mgw1 spamd[30100]:

Re: Random delay on incoming SMTP connection to OpenSMTPD

2016-06-10 Thread Devin Reade
--On Friday, June 10, 2016 09:04:07 PM + ML mail wrote: Well right now I have max-children on 50, so you mean lowering this value to something like 10? But then if I receive 20 simultaneous incoming SMTP connection, what will happen to the 10 others?Will they

Re: Random delay on incoming SMTP connection to OpenSMTPD

2016-06-10 Thread Edgar Pettijohn
Would filter-pause not work for you? Sent from my iPhone > On Jun 10, 2016, at 4:04 PM, ML mail wrote: > > Well right now I have max-children on 50, so you mean lowering this value to something like 10? But then if I receive 20 simultaneous incoming SMTP connection, what

Re: Random delay on incoming SMTP connection to OpenSMTPD

2016-06-10 Thread Devin Reade
Seems like the wrong solution. How about altering spamassassin's max-children parameter instead?

Re: Random delay on incoming SMTP connection to OpenSMTPD

2016-06-10 Thread ML mail
Well right now I have max-children on 50, so you mean lowering this value to something like 10? But then if I receive 20 simultaneous incoming SMTP connection, what will happen to the 10 others?Will they fail/timeout or simply wait? On Friday, June 10, 2016 11:01 PM, Devin Reade

Random delay on incoming SMTP connection to OpenSMTPD

2016-06-10 Thread ML mail
Hi, Is it somehow possible to add a random delay of between 5-10 seconds upon a new incomming connection to OpenSMTPD on OpenBSD? I am asking this because I sometime have 20 mails all arriving at the same time and then spamassassin is really slow because it spawns 20 processes and uses all my