in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
24 stars 25 forks source link

Mailserver - too many connections #79

Closed cdaecke closed 3 years ago

cdaecke commented 3 years ago

I am trying to send 100 mails per minute with ext:luxletter and get the following error:

Die Ausführung von Task "Konsolenbefehle ausführen (scheduler)" ist fehlgeschlagen mit folgender Meldung: Expected response code "220" but got code "421", with message "421 4.7.0 mailserver.com Error: too many connections from xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx“.

Is the extension opening a connection to the mailserver for each single email or just one connection for sending all emails in a bunch?

Do you have any hint, how to overcome this error?

Thanks a lot.

einpraegsam commented 3 years ago

It's possible that your Mailserver can't send 100 mails at once. I would recommend to reduce the amount to 50 (the default settings). But you have to ask your mail provider how many mails can be send. I think luxletter will open 50 requests (but I'm not totally sure because it is similar to the core functionality) to the server if you configure 50.

cdaecke commented 3 years ago

Thanks for your quick reply!

According to my mail provider, I can send 20.000 mails within one hour, so this would be more than 300 per minute. But this is only possible, with one connection for sending the mails.

For the moment I reduced to 90 mails per minute, which is working fine. But as my client sends more than 16.000 emails for one newsletter, it would be nice, to send more than 90 mails per minute to be more quick :-)

einpraegsam commented 3 years ago

ok, you could be right that this is not yet possible. For the moment I will close this ticket.

cdaecke commented 3 years ago

Do you have plans on changing this?

einpraegsam commented 3 years ago

Not in the next time. I have too much tasks on my table sorry.