Postfix long delivery delay when sending 5000+ mails
paul at paulgraydon.co.uk
Thu Apr 14 18:27:11 UTC 2011
On 04/13/2011 08:16 PM, Lox wrote:
> 2011/4/13 Gerald Drouillard <gerrylist at drouillard.ca
> <mailto:gerrylist at drouillard.ca>>
> Just reduce main.cf:default_process_limit so you don'ttry to run
> an insane number of email deliveries in parallel.
> I increased that value because I thought that sending more mails in
> parallel will increase the postfix mail queue delivery....
> 2011/4/13 Loïc Minier <loic.minier at ubuntu.com
> <mailto:loic.minier at ubuntu.com>>
> There might be
> ways to have multiple queue managers, but ISTR that's kind of
> so you might want to use multiple instances of Postfix instead if you
> go down that path.
> Running two separated instance of postfix could be the solution has I
> have two ips on my server. But I have honestly no idea on how to set
> that up....
In the main.cf file there is a setting inet_interfaces, you can specify
there which IP address to listen to, or even port. You could then run
postfix twice using different config files.
> 2011/4/14 Paul Graydon <paul at paulgraydon.co.uk
> <mailto:paul at paulgraydon.co.uk>>
> We use the following to restrict concurrency and rate:
> default_destination_concurrency_limit = 2
> default_destination_recipient_limit = 5
> default_destination_rate_delay = 60s
> Should I apply does settings on the postfix instance dedicated to
> newsletter sending? Or should I apply those to my main postfix server?
Yes, that'd be my suggestion anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-server