Postfix throttling for outgoing messages
Posted
by
Sergey Kovalev
on Server Fault
See other posts from Server Fault
or by Sergey Kovalev
Published on 2010-02-08T22:33:24Z
Indexed on
2012/10/05
15:41 UTC
Read the original article
Hit count: 313
postfix
|rate-limiting
I need Postfix to send outgoing messages (from local PHP) with a certain rate. Say, one message in 120 seconds. Any messages exceeding this rate should be queued (delayed) and delivered later.
Policyd is not what I'm looking for. I don't need limiting overall number of messages sent. I need a pause (120s) between any two messages beeing sent.
Tried this config, but it's not working:
initial_destination_concurrency = 1
default_destination_concurrency_limit = 1
default_destination_rate_delay = 120
default_destination_recipient_limit = 1
default_process_limit = 1
Any suggestions?
© Server Fault or respective owner