devel anaconda: > Hello everybody! > > I have a little problem with local delivery performance. Due to > specific mail routes (it's complicated), on a couples of my SMTP > gateways, I have to deliver all local mail to another smtp:host:25. > I do the following: > > myhostname = external.mydomain.com > mydomain = mydomain.com > mailbox_transport = smtp:internal.mydomain.com:25 > default_process_limit = 1000 > > > When "internal.mydomain.com" unreachable, I have queue about > 200.000 queued mails on my "external.mydomain.com". > And when internal.mydomain.com comes back, my external.mydomain.com > delivers mails to it very, very slow. About 50-60 mails per second. > I though, that it is postfix's weakness, but when I do the following: > > mydomain = fakedomain.com > relayhost = [internal.mydomain.com] and restart postfix, all queue flushes to > internal.mydomain.com 20 times faster (about 1000 mails per second), than if > it mailbox_transport = smtp:internal.mydomain.com:25. > > My question is - how can I get _MAXIMUM_ performance of local > delivery by smtp/lmtp. As fast, as forwarding by "relayhost"? Due > to specific of my mail-routing, I can't use "relayhost" scheme.
To maximize the delivery rate, don't use mailbox_transport, which forces Postfix to delivery mail via the local delivery agent first. The local delivery agent has a safety mechanism that gives each recipient only a low concurrency level. Wietse