• Resolved steve49589

    (@steve49589)


    I had GMail SMTP set up and working fine through late in the day on Oct. 5. I’m pretty certain I did not make any changes on that date. There was a server move on Sept. 22, but that was almost two weeks prior to the problem.

    When sending a test message, this is what I get. Can you provide any insight or help?

    Also, do you have any documentation on how to COMPLETELY remove the plugin, all information and clear/delete the connection with GMail? I wanted to try a complete wipe and start completely over with this plugin to see if it was a setting issue or a reset, but I could not seem to remove everything on the WP AND the Google side.

    Here is the log…

    2017-10-10 06:56:11 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
    2017-10-10 06:56:11 Connection: opened
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is ""
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "220-host3.spidercreations.net ESMTP Exim 4.89 #1 Tue, 10 Oct 2017 02:56:11 -0400 "
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "220-host3.spidercreations.net ESMTP Exim 4.89 #1 Tue, 10 Oct 2017 02:56:11 -0400 "
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited, "
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "220-host3.spidercreations.net ESMTP Exim 4.89 #1 Tue, 10 Oct 2017 02:56:11 -0400 220-We do not authorize the use of this system to transport unsolicited, "
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "220 and/or bulk e-mail."
    2017-10-10 06:56:11 SERVER -> CLIENT: 220-host3.spidercreations.net ESMTP Exim 4.89 #1 Tue, 10 Oct 2017 02:56:11 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
    2017-10-10 06:56:11 CLIENT -> SERVER: EHLO grayguns.com
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is ""
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]"
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]"
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "250-SIZE 52428800"
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]250-SIZE 52428800"
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "250-8BITMIME"
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]250-SIZE 52428800250-8BITMIME"
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "250-PIPELINING"
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]250-SIZE 52428800250-8BITMIME250-PIPELINING"
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN"
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN"
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "250-STARTTLS"
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is "250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS"
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "250 HELP"
    2017-10-10 06:56:11 SERVER -> CLIENT: 250-host3.spidercreations.net Hello grayguns.com [64.91.229.6]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
    2017-10-10 06:56:11 CLIENT -> SERVER: STARTTLS
    2017-10-10 06:56:11 SMTP -> get_lines(): $data is ""
    2017-10-10 06:56:11 SMTP -> get_lines(): $str is "220 TLS go ahead"
    2017-10-10 06:56:11 SERVER -> CLIENT: 220 TLS go ahead
    2017-10-10 06:56:11 Connection failed. Error #2: stream_socket_enable_crypto(): Peer certificate CN=<code>host3.spidercreations.net' did not match expected CN=</code>smtp.gmail.com' [/home/grayguns/public_html/wp-content/plugins/gmail-smtp/PHPMailer/class.smtp.php line 370]
    SMTP Error: Could not connect to SMTP host.
    2017-10-10 06:56:11 CLIENT -> SERVER: QUIT
    2017-10-10 06:56:12 SMTP -> get_lines(): $data is ""
    2017-10-10 06:56:12 SMTP -> get_lines(): $str is "221 host3.spidercreations.net closing connection"
    2017-10-10 06:56:12 SERVER -> CLIENT: 221 host3.spidercreations.net closing connection
    2017-10-10 06:56:12 Connection: closed
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Viewing 1 replies (of 1 total)
  • Thread Starter steve49589

    (@steve49589)

    It turns out the issue was a change to the server settings. Readers may find this helpful in the future. It took some time to find the cause since the error in the log file was not too helpful. I do not think the log file or plugin could have pointed us to the issue, but I’m not sure if it can be something to look for in the future.

    Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak) was set to YES and it needs to be NO.

    This change was made by my server host during a PCI Compliance review and they didn’t tell me they made the change. That is what broke the connection.

Viewing 1 replies (of 1 total)
  • The topic ‘Emails stopped flowing on Oct. 5’ is closed to new replies.