On Sun, Mar 06, 2011 at 04:21:44PM +0000, myrdhin bzh wrote:

> > From : myrdhin
> > Thank you for your help. I'll try your solution.
> 
> Sorry, but i always have "Too many connections, slow down." in my 
> /var/log/mail.log.
> 
> My Postfix is old (mail_version = 2.1.5) butI am constrained to correct this 
> problem before doing the migration on another server (with a recent
> version of postfix...).

The scheduler features that you are new with Postfix 2.5 and required at
least Postfix 2.5.7. You really should be using 2.7.2 or later.

> Finally i do that :
> 
>   # in /etc/postfix/main.cf :
>   transport_maps = hash:/etc/postfix/transport
>   slow_destination_concurrency_limit = 2
> 
>   # in /etc/transport/transport :
>   zeDomain.tld slow:
> 
>   # in /etc/postfix/master.cf :
>   slow      unix  -       -       n       -       3       smtp -o 
> smtp_connection_cache_on_demand=no -o smtp_destination_concurrency_limit=2

The second "-o ..." option is pointless and should be removed. Concurrency
limits are enforced in the queue manager, individual delivery agents just
deliver one message at a time, it is the queue manager that knows about
multiple deliveries in progress.

-- 
        Viktor.

Reply via email to