Re: [exim] Increasing smtp_accept_max for submission

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] Increasing smtp_accept_max for submission
On 05/10/15 14:03, David Woodhouse wrote:
> Recently I've noticed a few times that I've been unable to send mail
> (from my MUA) because the mail server has too many concurrent SMTP conn
> ections.
>
> This doesn't work, because it's not expanded:
>
> smtp_accept_max = ${if eq{$interface_port}{587} {25}{20}}
>
> Could it be?


Small coding change; minor decrement to performance.

> Any alternative suggestions?


- Just increase the numbers. Anything more beefy than a PI
can easily handle more.

- Offload peaks by queueing. See queue_only_load and
smtp_accept_queue.

- Limit per-host connections: smtp_accept_max_per_host

- Reserve conns for known IPs: smtp_accept_reserve.

- Don't teergrube so aggressively.

- Don't use an Apple MUA. They aggressively open multiple
connections merely to monitor the MSA presence.

--
Cheers,
Jeremy