On 11/24/2010 3:22 PM, Stan Hoeppner wrote:
Brian Evans - Postfix List put forth on 11/24/2010 7:54 AM:
On 11/24/2010 7:17 AM, Stan Hoeppner wrote:
-o transport_destination_rate_delay = 16s
It's worth noting that transport_destination_rate_delay is implemented
in qmgr and not the smtp client.
Therefore, specifying "-o" is worthless in master.cf for a smtp client
entry.
You should, instead, put such a line in main.cf. e.g.:
slowdown_destination_rate_delay = 16s

And match the transport in master.cf:

slowdown         unix  -       -       n       -       -       smtp
How does that work?  slowdown_destination_rate_delay isn't a valid
main.cf parameter.  Is prepending a master.cf service name and an
underscore to a main.cf parameter allowed?  Is so that's new to me (and
pretty cool).  So the OP would create multiple smtp servers with
different names, such as "google" "yahoo" etc in master.cf and a
[smtp-service-name]_slowdown_destination_rate_delay= entry for each in
main.cf, with a different delay value for each, if so desired?

Is this what you're saying Brian?

No.. it's [transport-name]_destination_rate_delay. "slowdown" is the transport in this example. This allows processes such as qmgr to control things per transport (a feature of Postfix 2.5+)

The "transport_*" features means to replace "transport" with the real transport name in master.cf.

This can be smtp, lmtp, or any transport name created in master.cf, such as antivir, or slowpoke, etc.

Brian

Reply via email to