Steve Jenkins:
> So for example, let's say I wanted to limit outgoing mail to yahoo.com
> to 10 simultaneous connections and 20 emails per second. In master.cf
> I'm presuming I put:
>
> yahoosmtp ? ? ?unix ?- ? ? ? - ? ? ? n ? ? ? - ? ? ? - ? ? ? smtp
To limit the concurrency to 10:
/etc/postfix/main.cf:
yahoosmtp_destination_concurrency_limit = 10
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport:
yahoo.com yahoosmtp:
Details:
http://www.postfix.org/postconf.5.html#transport_destination_concurrency_limit
http://www.postfix.org/postconf.5.html#transport_maps
To limit the sending rate:
/etc/postfix/main.cf:
yahoosmtp_rate_delay = 1
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport:
yahoo.com yahoosmtp:
The ..._destination_rate_delay feature always sends one message at
a time, and it does not support delays smaller than 1s. It is
primarily meant for home users and their ISP's usage policies.
Details:
http://www.postfix.org/postconf.5.html#transport_destination_rate_delay
http://www.postfix.org/postconf.5.html#transport_maps
http://www.postfix.org/postconf.5.html#transport_destination_recipient_limit
Wietse