Operating System - HP-UX
1833790 Members
2974 Online
110063 Solutions
New Discussion

limit the number of outgoing smtp connections

 
Johan Hoeke
Advisor

limit the number of outgoing smtp connections

Hi folks,

We send 1000's of mails to a messaging service daily using a private ISDN dailup line straight to their smtp box.

They are complaining that our server seems to be opening an smtp connection for every mail message. (They are probably exaggerating a little bit) They have limited their incoming smtp connections to 4. It there way I can limit the number of outgoing smtp connections on my side as wel?

We're on HPUX 11.0, sendmail 8.9.3

3 REPLIES 3
Manish Srivastava
Trusted Contributor

Re: limit the number of outgoing smtp connections

Hi,

Probably you could set
ConnectionRateThrottle=4

for sendmail.

manish
Johan Hoeke
Advisor

Re: limit the number of outgoing smtp connections

> Probably you could set
> ConnectionRateThrottle=4
> for sendmail.

> manish

Thanks for your reply Manish, but ConnectionRateThrottle applies to incoming
connections according to my oreilly bat bible.

"You slow incoming connections with the ConnectionRateThrottle option:"
Fred Ruffet
Honored Contributor

Re: limit the number of outgoing smtp connections

from http://www.software.hp.com/products/Sendmail/ :

Set the option in sendmail.cf using,

O SingleThreadDelivery

This option avoids letting two sendmails on the local machine open connections to the same remote host at the same time. This reduces load on the other machine, but can cause mail to be delayed (for example, if one sendmail is delivering a huge message, other sendmails won't be able to send even small messages). Also, it requires another file descriptor (for the lock file) per connection, so you may have to reduce ConnectionCacheSize to avoid running out of per-process file descriptors.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)