Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any way to configure delay in sending mails thru Postfix server (ubuntu 10.04Lts), what I'm trying to limit sending mail to 60 mails/min or 1 mail in 1Sec.

share|improve this question
    
Are you trying to rate-limit globally or per user? –  Janne Pikkarainen Jan 20 '12 at 12:19
    
rate-limit globally –  user103373 Jan 21 '12 at 7:12

3 Answers 3

I would recommend Policyd/cluebringer

http://www.policyd.org/

share|improve this answer

Policyd mentioned by mangia is better complete solution to throttle all dispatches.

In postfix however you can throttle delivery per destination with: http://www.postfix.org/postconf.5.html#default_destination_rate_delay

Add smtp_destination_rate_delay = 1m for a minute gap between each delivery.

share|improve this answer

What goal are you trying to achieve ?

Global rate limiting is almost never the right solution.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.