LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Sendmail & multiple messages/connection

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell