Re: Sendmail SMTP server outgoing email rate

2009-10-30 Thread Giorgos Keramidas
On Thu, 29 Oct 2009 21:50:06 -0700 (PDT), Aflatoon Aflatooni 
 wrote:
> Hi,
> Is there a way that I could configure sendmail so that I could control
> the rate of outgoing emails?
>
> For example if there are 2 outbound emails destined for Yahoo.com
> server then they would be sent one connection at a time so that it is
> not flooding their server.
>
> Also, is there a limit on the incoming connection for sendmail?

Yes, there is a limit for the incoming connections.  See the description
of "confCONNECTION_RATE_THROTTLE" and "confCONNECTION_RATE_WINDOW_SIZE"
in "/usr/share/sendmail/cf/README".

For outgoing connections Sendmail only supports throttling based on the
load average of the system, at least AFAIK.  So you will probably have to
use some sort of connection rate-limiting in your firewall if you want to
limit the number of outgoing connections.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Sendmail SMTP server outgoing email rate

2009-10-30 Thread Ruben de Groot
On Thu, Oct 29, 2009 at 09:50:06PM -0700, Aflatoon Aflatooni typed:
> Hi,
> Is there a way that I could configure sendmail so that I could control the 
> rate of outgoing emails?
> For example if there are 2 outbound emails destined for Yahoo.com server then 
> they would be sent one connection at a time so that it is not flooding their 
> server.
> 
> Also, is there a limit on the incoming connection for sendmail? 

For incoming connections you are looking at the ratecontrol and conncontrol
features, see /usr/share/sendmail/cf/README.

For outgoing, I don't know. Why would you want to be so nice to the Yahoo.com 
server ;)
They should rate-limit their server if they have a problem (and I bet they do 
this).

There is a SINGLE_THREAD_DELIVERY option, but that's probably not what you want.

cheers,
Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"