Alex Regan:
> Hi,
> 
> I have a fedora20 server with postfix-2.10.5 I'm trying to configure 
> rate limiting for outbound mail to google, yahoo, etc, in hopes of not 
> only building a better reputation with these systems, but also to 
> prevent my outbound pipe from being saturated.
> 
> I've configured a few of the rate_delay parameters according to the 
> instructions here:
> 
> http://steam.io/2013/04/01/postfix-rate-limiting/
> 
> It includes building two new transports in master.cf
> 
> polite unix - - n - - smtp
> turtle unix - - n - - smtp
> 
> And in /etc/postfix/transport
> 
> gmail.com polite:
> yahoo.com turtle:
> hotmail.com polite:
> 
> In main.cf I've configured:
> 
> transport_maps = hash:/etc/postfix/transport
> polite_destination_concurrency_limit = 10
> polite_destination_rate_delay = 0
> polite_destination_recipient_limit = 5
> turtle_destination_concurrency_limit = 5
> turtle_destination_rate_delay = 3s
> turtle_destination_recipient_limit = 2

As documented,

1) A non-zero rate delay forces a concurrency of 1.  If
you want to trickle email, sending it in parallel makes little
sense.
http://www.postfix.org/postconf.5.html#default_destination_rate_delay

2) If you change the destination_recipient_limit to 1, then you
will regret it (the rate changes from per-domain into per-recipient
which you probably do not want).
http://www.postfix.org/postconf.5.html#default_destination_rate_delay

> I believe the problem is that messages not destined for gmail, yahoo, or 
> hotmail no longer have a path, correct?

As documented in the transports(5) manpage this table is optional.
http://www.postfix.org/transports.5.html

If nothing matches the table, Postfix uses the "default_transport"
setting.  http://www.postfix.org/postconf.5.html#default_transport

> Feb 14 19:26:31 mail01 postfix/trivial-rewrite[16804]: warning: 
> transport_maps lookup failure

You have an error in the file. Did you run the command "postmap
hash:/etc/postfix/transport"?

        Wietse

Reply via email to