I have an email list of approximately 50,000. We just moved the list to a brand new dedicated server for this purpose.
During the sending with a Reconnect Every 1200 messages, it will send exactly 1,000 messages and then report "421 too many messages in this connection."
So I set the Reconnect Every to 900 messages. This is what happens (according to the SMTP log that it creates):
(this is the 900th email)
> MAIL FROM: <bounce@4xriches.com>
> RCPT TO: <recipient_address_goes_here>
250 OK
250 Accepted
> DATA
354 Enter message, ending with "." on a line by itself
> SENT DATA
250 OK id=1Izbxv-0002Lq-M9
> QUIT
221 server.4xconfidential.org closing connection
LM: Reconnecting... 221 server.4xconfidential.org closing connection
Connected!
> EHLO localhost
250-server.4xconfidential.org Hello server.4xconfidential.org [74.50.110.25]
250-SIZE 20971520
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
> MAIL FROM: <bounce@4xriches.com>
> RCPT TO: <recipient_address_goes_here>
250 OK
550 authentication required
LM: Undeliverable. RCPT response: 550 authentication required
. Skipping.
> RSET
250 Reset OK
(then another MAIL FROM: and the cycle continues)
After 12 attempts with a "Skipping. RSET" every time, it says "554 Too many nonmail commands".
It's almost like, when it does re-connect, it's not re-sending the username/password to make the connection again. It's reconnecting but not re-authenticating.
Does that make sense and is there a fix?
Yes, I did try adding $smtp_timeout=45; to the config.php - it did not help.
-Scott