[ILUG] Sendmail & multiple messages/connection

Michael Armbrecht marmbrecht at eircom.net
Sat Jan 12 15:23:57 GMT 2002


On Thursday 10 January 2002 13:31, Kenn Humborg wrote:

> How can I tell sendmail to only accept one message per
> SMTP connection?  Does it advertise this capability in
> the EHLO response, or does the submitting MTA just go
> ahead and try sending multiple messages regardless.

There are two options to tell sendmaill to send multiple messages when  
making a connection and how long  to keep the connection and wait for  more 
messages coming into the queue to be sent thru this connection. But if 
sendmail is on the receiving end, there is nothing you can do, it takes in  
what might come.


> (Rationale:  I need to limit the rate of incoming
> messages on an underpowered machine.  I can get sendmail
> to stop accepting _connections_ on port 25 if the
> load average is too high, but this doesn't help if
> the remote server decides to submit a whole bunch
> of messages in one connection.)

As the sendmail daemon  forks for each connection and not for each message 
coming in, limiting the number of parallel connections should do exactly what 
you want.

HTH
Mick

-- 
... The things love can drive a man to -- the ecstasies, the
the miseries, the broken rules, the desperate chances, the glorious
failures and the glorious victories.
		-- McCoy, "Requiem for Methuselah", stardate 5843.7




More information about the ILUG mailing list