Home Forums Newsletter Plugin Support Newsletter unexpectedly disconnects the SMTP session

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12036
    pazzaglia
    Participant

    Ciao Stefano,

    I’m having problems sending out the newsletter at the stated speed. I contacted my tech support (thinking for some reason my sending limit had been reduced but it had not. They looked at the server logs and said:

    “We have not placed any limits on the email sending. However, in the server logs I see that your script unexpectedly disconnects the SMTP session for some reason. It could well be because the script may be taking too much time to process the queue and thus leave the server waiting for a response for too long which would cause the server to reach its timeouts (I am supposing here).

    I now increased the server limits. Please, give the email sending another try. ”

    Well.. it didn’t help. I wonder is something else is going on. Mod_security is not installed and I have successfully sent out newsletters many, many times!

    Maybe a php incompatibility?

    Here are my diagnostics…

    Operating System Linux
    Server Apache/2.2.24 (Unix) mod_hive/3.6 mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_fcgid/2.3.6
    Memory usage 44.29 MByte
    MYSQL Version 5.5.31-30.3-log
    SQL Mode Not set
    PHP Version 5.5.17
    PHP Safe Mode Off
    PHP Allow URL fopen On
    PHP Memory Limit 256M
    PHP Max Upload Size 2M
    PHP Max Post Size 8M
    PHP Max Script Execute Time 30
    PHP Exif support Yes ( V1.4 )
    PHP IPTC support Yes
    PHP XML support Yes
    Site URL http://www.hippressurecooking.com
    Home URL http://www.hippressurecooking.com
    WordPress Version 4.0
    WordPress DB Version 29630
    Multisite No
    Active Theme Proxima Child 0.1

    Active Plugins

    All In One Schema.org Rich Snippets 1.2.0
    All In One SEO Pack 2.2.3.1
    AP Gravatars 1.0
    bbPress 2.5.4
    bbPress Custom Topic & Reply Notifications 1.4
    bbPress Moderation 1.8.3
    bbPress Stay Checked 1.0
    Better WordPress Recent Comments 1.2.2
    Bounce 1.1.2
    Comment Plus 1.3.4
    Easy Recipe Plus 3.2.2807
    Featured Image Thumbnail Grid 3.1
    GC Message Bar 2.3.8
    GD bbPress Attachments 2.1
    Include Me 1.0.9
    Jetpack by WordPress.com 3.1.1
    Newsletter 3.6.4
    Redirect Editor 1.2
    SG CachePress 2.1.4
    SlickQuiz 1.3.5
    Sliders 0.2.3
    Stop Spammer Registrations Plugin 5.9.3
    TablePress 1.4
    Theme My Login 6.3.10
    User Role Editor 3.8
    WordPress Popular Posts 3.0.3
    WordPress Protection Lite 7.2

    In

    #12038
    Stefano
    Keymaster

    Hi, go to the diagnostic panel of Newsletter and enable to logs to debug level. Here the plugin should track the SMTP error. May be in the logs there is already the error listed. Check the logs folder.

    Let me know.

    Bye, Stefano.
    Already tried Nearby Photos? Try it and see what’s happening around you!

    #12040
    pazzaglia
    Participant

    I added the xx’s in the email addresses. When I force the delivery engine trigger, the newsletter sending count only goes up by one. And this is what is logged….

    11-10-2014 13:00:44 – DEBUG – 45.4 MB – hook_newsletter> Start
    11-10-2014 13:00:45 – DEBUG – 45.4 MB – hook_newsletter> Emails found in sending status: 1
    11-10-2014 13:00:45 – DEBUG – 45.4 MB – hook_newsletter> Sending email 37
    11-10-2014 13:00:45 – DEBUG – 46.3 MB – limits_exceeded> Setting the limits for the first time
    11-10-2014 13:00:45 – INFO – 46.3 MB – limits_exceeded> Max time set to 28
    11-10-2014 13:00:45 – DEBUG – 46.3 MB – limits_exceeded> Max number of emails can send: 83
    11-10-2014 13:00:45 – DEBUG – 46.3 MB – Replace start
    11-10-2014 13:00:45 – DEBUG – 46.4 MB – Replace end
    11-10-2014 13:00:45 – DEBUG – 46.3 MB – Replace start
    11-10-2014 13:00:45 – DEBUG – 46.4 MB – Replace end
    11-10-2014 13:00:45 – DEBUG – 46.3 MB – Replace start
    11-10-2014 13:00:45 – DEBUG – 46.4 MB – Replace end
    11-10-2014 13:00:45 – DEBUG – 46.3 MB – mail> To: xxxx@luckeme.net
    11-10-2014 13:00:45 – DEBUG – 46.3 MB – mail> Subject: The Pressure Cooker Recipe Converter
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – mail> To: xxx4@yahoo.com
    11-10-2014 13:00:45 – DEBUG – 47.0 MB – mail> Subject: The Pressure Cooker Recipe Converter
    11-10-2014 13:00:55 – ERROR – 47.0 MB – mail> The following From address failed: bounce@hippressurecooking.com : MAIL FROM command failed,,
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – mail> To: xxxxt@gmail.com
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – mail> Subject: The Pressure Cooker Recipe Converter
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – mail> To: axxx30@yahoo.com
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – mail> Subject: The Pressure Cooker Recipe Converter
    11-10-2014 13:00:55 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:56 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:56 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:56 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:56 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:00:56 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:00:56 – DEBUG – 47.0 MB – mail> To: axxxxxg@comcast.net
    11-10-2014 13:00:56 – DEBUG – 47.0 MB – mail> Subject: The Pressure Cooker Recipe Converter
    11-10-2014 13:01:06 – ERROR – 47.0 MB – mail> The following From address failed: bounce@hippressurecooking.com : MAIL FROM command failed,,
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – mail> To: xxxxx@yahoo.com
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – mail> Subject: The Pressure Cooker Recipe Converter
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace start
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – Replace end
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – mail> To: axxxxxr@gmail.com
    11-10-2014 13:01:06 – DEBUG – 47.0 MB – mail> Subject: The Pressure Cooker Recipe Converter
    11-10-2014 13:01:16 – ERROR – 47.0 MB – mail> The following From address failed: bounce@hippressurecooking.com : MAIL FROM command failed,,
    11-10-2014 13:01:16 – INFO – 47.0 MB – limits_exceeded> Max execution time limit reached
    11-10-2014 13:01:16 – DEBUG – 46.1 MB – hook_newsletter> End

    #12041
    pazzaglia
    Participant

    BTW, in the configuration panel I have bounce@hippressurecooking.com set as return-path, the reply-to is info@hippressurecooking.com

    #12043
    pazzaglia
    Participant

    Also, I just spotted another new error in the log:

    11-10-2014 13:22:41 – ERROR – 41.5 MB – mail> SMTP Error: data not accepted.

    #12044
    pazzaglia
    Participant

    Ciao Stefano, my web host found the solution. Php was up-graded a couple of weeks ago and the default php.ini was causing problems. The re-named my local file to php.ini.back and raised the server memory limit to 600 MB.

    They still got some errors when sending a test e-mails…

    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “220-serv01.vm3065.sgvps.net ESMTP Exim 4.80.1 #2 Sat, 11 Oct 2014 16:19:59 -0500
    “SMTP -> get_lines(): $data is “220-serv01.vm3065.sgvps.net ESMTP Exim 4.80.1 #2 Sat, 11 Oct 2014 16:19:59 -0500
    “SMTP -> get_lines(): $data was “220-serv01.vm3065.sgvps.net ESMTP Exim 4.80.1 #2 Sat, 11 Oct 2014 16:19:59 -0500
    “SMTP -> get_lines(): $str is “220-We do not authorize the use of this system to transport unsolicited,
    “SMTP -> get_lines(): $data is “220-serv01.vm3065.sgvps.net ESMTP Exim 4.80.1 #2 Sat, 11 Oct 2014 16:19:59 -0500
    220-We do not authorize the use of this system to transport unsolicited,
    “SMTP -> get_lines(): $data was “220-serv01.vm3065.sgvps.net ESMTP Exim 4.80.1 #2 Sat, 11 Oct 2014 16:19:59 -0500
    220-We do not authorize the use of this system to transport unsolicited,
    “SMTP -> get_lines(): $str is “220 and/or bulk e-mail.
    “SMTP -> get_lines(): $data is “220-serv01.vm3065.sgvps.net ESMTP Exim 4.80.1 #2 Sat, 11 Oct 2014 16:19:59 -0500
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    “SMTP -> FROM SERVER:220-serv01.vm3065.sgvps.net ESMTP Exim 4.80.1 #2 Sat, 11 Oct 2014 16:19:59 -0500
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    CLIENT -> SMTP: EHLO http://www.hippressurecooking.com
    SMTP -> get_lines(): $data was “”SMTP -> get_lines(): $str is “”SMTP -> get_lines(): $data is “”SMTP -> get_lines(): timed-out (10 sec)SMTP -> FROM SERVER:SMTP -> ERROR: EHLO command failed: SMTP -> NOTICE: EOF caught while checking if connectedSMTP connect() failed.

    They changed the SMTP port to 25 and that seemed to solve it.

    Ciao,

    L

    P.S. The anti-spam messages are apparently default php messages – caused by the upgrade- the host was not actively or purposely limiting the mails.

    #12045
    Stefano
    Keymaster

    Anyway the worse problem was that:

    The following From address failed: bounce@hippressurecooking.com : MAIL FROM command failed,,

    you address used in the return path was not accepted by the smtp server. This is a thing that only the provider can sort out.

    Bye, Stefano.
    Already tried Nearby Photos? Try it and see what’s happening around you!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.