Re: Ratelimits for outgoing smtp

2009-11-23 Thread Sahil Tandon
On Nov 23, 2009, at 4:18 AM, ram wrote: At one of our locations I need to throttle outgoing , due to bandwidth constraints Can I specify maximum number of outgoing messages sent via smtp in a minute or hour Use a policy service.

Re: Ratelimits for outgoing smtp

2009-11-23 Thread ram
On Mon, 2009-11-23 at 15:51 +0530, Dhiraj Chatpar wrote: > > > > In your main.cf, set "default_destination_rate_delay = 1s" and > > > > leave all those other parameters at their default. > > > > > > > > This will instruct postfix to send no more than 60 messages > > > > per minute. > > > > > > Th

Re: Ratelimits for outgoing smtp

2009-11-23 Thread Dhiraj Chatpar
> > > In your main.cf, set "default_destination_rate_delay = 1s" and > > > leave all those other parameters at their default. > > > > > > This will instruct postfix to send no more than 60 messages > > > per minute. > > > > This will apply to all transports, not just "smtp", if all mail is > > sent

Re: Ratelimits for outgoing smtp

2009-11-23 Thread ram
Thanks but that is throttling by introducing a delay between messages, not by controlling the actual number of messages sent So with that I cannot control the max messages to be sent per minute. ( I know I can get an approximate throttle .. though ) On Mon, 2009-11-23 at 14:53 +0

Re: Ratelimits for outgoing smtp

2009-11-23 Thread Dhiraj Chatpar
Dear Mr. Ram, Incase you want to slow all the mails to 1s.. Please select this option smtp_destination_rate_delay = 1s and/or destination_destination_rate_delay = 1s Rgds Dhiraj Marie von Ebner-Eschenbach - "Even a sto

Re: Ratelimits for outgoing smtp

2009-11-23 Thread Dhiraj Chatpar
Hi Mr Ram, Here is the solution... http://www.postfix.org/QSHAPE_README.html Look at the example with _destination_rate_delay Rgds Dhiraj Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some d