Stop incoming mail if message queue exceeds set value

Kai Schaetzl maillists at conactive.com
Mon Apr 27 11:40:47 IST 2009


Gordon Colyn wrote on Mon, 27 Apr 2009 12:31:06 +0200:

> I have tried with sendmail creating 2 cf files but can't get it working.
> Does this have to be managed by mailscanner, r can it be done in sendmail?

It can only be done in sendmail. sendmail stops accepting mail if your load 
average exceeds 9 (by default). You could drop this to a lower value. You 
can also stop accepting mail when you reach a number of children. I'm not 
sure if you can stop accepting mail with a certain queue volume. Have a look 
at the sendmail config options. -> www.sendmail.org

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com





More information about the MailScanner mailing list