Mailing List Archive

Slow down ?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi every body,
I've a problem with one of main French provider : orange.fr
When several messages are sent to @ orange.fr in a too short period of
time, they are (temporarily) refused:

> SMTP error from remote mail server after initial connection: 421
> mwinf5c78 ME Trop de connexions, veuillez verifier votre
> configuration. Too many connections, slow down. OFR004_104 [104]
The french part of this message say some thing like "Too many
connections, please verify you configuration"

Then the mailq takes a long time to empty ...

Well, the question in "how to slow down" ?

If I found the solution for Postfix, I did not find the one for exim :-(

Can you help me ?

Regards
Francois
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREIAAYFAlxWsaUACgkQFN3+vrHD9BsobQD/eRNUxEq/QszncsrbNTxHfJOv
VU0lcJWHT/Y6eLAtB2wA/2yhK81TrAi7hu5yLp3vBxacnSsDHc8gzrPTZ4hn+8pw
=mk2V
-----END PGP SIGNATURE-----

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Slow down ? [ In reply to ]
On 03/02/2019 09:17, Francois Sauterey via Exim-users wrote> I've a
problem with one of main French provider : orange.fr
> When several messages are sent to @ orange.fr in a too short period of
> time, they are (temporarily) refused:
>
>> SMTP error from remote mail server after initial connection: 421
>> mwinf5c78 ME Trop de connexions, veuillez verifier votre
>> configuration. Too many connections, slow down. OFR004_104 [104]
> The french part of this message say some thing like "Too many
> connections, please verify you configuration"

One thing you could do would be to deliberately queue this
class of messages (decided during ACL), and run your queue
using "-qq", and not so often. You'd then have single
connections handling multiple messages to a larger extent,
so fewer of them overall.

Another thing you could do would be to investigate the
transport option "max_parallel".
--
Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Slow down ? [ In reply to ]
On Mon, 4 Feb 2019 at 01:16, Jeremy Harris via Exim-users <
exim-users@exim.org> wrote:

> On 03/02/2019 09:17, Francois Sauterey via Exim-users wrote> I've a
> problem with one of main French provider : orange.fr
> > When several messages are sent to @ orange.fr in a too short period of
> > time, they are (temporarily) refused:
> >
> >> SMTP error from remote mail server after initial connection: 421
> >> mwinf5c78 ME Trop de connexions, veuillez verifier votre
> >> configuration. Too many connections, slow down. OFR004_104 [104]
> > The french part of this message say some thing like "Too many
> > connections, please verify you configuration"
>
> One thing you could do would be to deliberately queue this
> class of messages (decided during ACL), and run your queue
> using "-qq", and not so often. You'd then have single
> connections handling multiple messages to a larger extent,
> so fewer of them overall.
>
> Another thing you could do would be to investigate the
> transport option "max_parallel".
>
>
Out of curiosity, I went checking for this option, but only
found remote_max_parallel documented - as a global/main option.
Is max_parallel as a transport option documented anywhere??


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Slow down ? [ In reply to ]
On 04/02/2019 09:22, Odhiambo Washington via Exim-users wrote:
> Out of curiosity, I went checking for this option, but only
> found remote_max_parallel documented - as a global/main option.
> Is max_parallel as a transport option documented anywhere??

I can quickly find it in the "option index". Where did you look?

PS: please do not copy me on mails sent to the list. I read the
list. I don't need a duplicate.
--
Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Slow down ? [ In reply to ]
On Mon, 4 Feb 2019 at 12:53, Jeremy Harris via Exim-users <
exim-users@exim.org> wrote:

> On 04/02/2019 09:22, Odhiambo Washington via Exim-users wrote:
> > Out of curiosity, I went checking for this option, but only
> > found remote_max_parallel documented - as a global/main option.
> > Is max_parallel as a transport option documented anywhere??
>
> I can quickly find it in the "option index". Where did you look?
>

In the documentation. It seems I did not dig deeper enough.


>
> PS: please do not copy me on mails sent to the list. I read the
> list. I don't need a duplicate.
>

I am not CCing you. I do reply-all, but that does include your address by
default.
I keep forgetting to edit. Sorry for that.



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Slow down ? [ In reply to ]
> When several messages are sent to @ orange.fr in a too short period of
> time, they are (temporarily) refused:

> > Too many connections

I use in the transport:

serialize_hosts = *

You can use:

serialize_hosts = smtp-in.orange.fr

At reboot:
rm /var/spool/exim/db/misc*


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/