The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ESMTP Exim 4.89 - using Emacs VM for sending mail hangs

Discussion in 'E-mail Discussions' started by Stas Burdan, Jul 26, 2017.

  1. Stas Burdan

    Stas Burdan Member

    Joined:
    Jul 26, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Reseller Owner
    Hello all,

    I have been using Emacs VM for sending mail via SMTP through hosting facility running cPanel and
    ESMTP Exim for years, (it must have been 15 years now). This week I ran into an issue that some of my SMTP messages hang.
    I narrowed the messages that hang down to a handful of conditions - which I suspect are related with encoding in the messages that I am replying to. When I reply to these messages, the process goes to the point of sending "." on the line by itself and just hangs there, as if the other side does not recognize that as a valid end of message.

    When I compose a new message in Emacs and send it to the same recipients it works.
    I don't control cPanel and can only provide the guidance to the hosting facility on what to do, and while they are working on the issue, I am not sure they have enough expertise to help.

    I have been experiencing these issues for a week and it is seriously affecting my ability to send email, so I am stepping in to figure this out and help cPanel admin solve this.

    versions of software:

    GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2013-05-16 on komainu, modified by Debian

    ESMTP Exim 4.89


    Thank you in advance for your help!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you check with your hosting provider and see if they notice any entries in /var/log/exim_mainlog when the issue is reproduced?

    Thank you.
     
  3. Stas Burdan

    Stas Burdan Member

    Joined:
    Jul 26, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Reseller Owner
    here is the log provided by the hosting facility. I changed to domain names in emails for privacy reasons. And only providing records with "data timeout (message abandoned)"

    Please let me know if this gives you any further ideas.

    Thank you



    2017-07-26 19:27:00 1daYVs-0005po-FM => stas (alex@domain1.co, alex@domain1.co, alex@domain2.com) <alex@domain2.com> R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 <stas@domain1.co> I+m1G3RPeVn1VwAAKB3gjA Saved"
    2017-07-26 19:28:04 1daYWv-0005sc-BZ => stas (alex@domain1.co, alex@domain1.co, alex@domain2.com) <alex@domain2.com> R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 <stas@domain1.co> EbTNDrRPeVn1VwAAKB3gjA Saved"
    2017-07-26 19:31:38 SMTP connection identification H=c-76-19-64-7.hsd1.ma.comcast.net A=76.19.64.7 P=61587 U=altreco ID=593 S=stas@domain1.co B=get_recent_authed_mail_ips_entry
    2017-07-26 19:34:23 SMTP data timeout (message abandoned) on connection from c-76-19-64-7.hsd1.ma.comcast.net (captain) [76.19.64.7]:61587 F=<stas@domain1.co>
    2017-07-26 19:38:54 1daYhS-0006Ym-5l <= stas@domain1.co H=(s534.c4.crucialp.com) [::1]:41484 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_plain:stas@domain1.co S=1698 id=20170726193854.Horde.JhJQhKEDuxkoX5jy73CVDUw@domain1.co T="Re: Estimate 5356 from Country Glass Company Inc." for tdoherty@countryglass.com stas@domain1.co
    2017-07-26 19:38:55 1daYhS-0006Ym-5l => stas <stas@domain1.co> R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 <stas@domain1.co> w3vLMT9SeVmZYgAAKB3gjA Saved"
    2017-07-26 19:40:29 SMTP connection identification H=c-76-19-64-7.hsd1.ma.comcast.net A=76.19.64.7 P=33930 U=altreco ID=593 S=stas@domain1.co B=get_recent_authed_mail_ips_entry
    2017-07-26 19:43:15 SMTP data timeout (message abandoned) on connection from c-76-19-64-7.hsd1.ma.comcast.net (captain) [76.19.64.7]:33930 F=<stas@domain1.co>
    2017-07-26 19:49:02 SMTP connection identification H=c-76-19-64-7.hsd1.ma.comcast.net A=76.19.64.7 P=33931 U=altreco ID=593 S=stas@domain1.co B=get_recent_authed_mail_ips_entry
    2017-07-26 19:50:29 SMTP connection identification H=c-76-19-64-7.hsd1.ma.comcast.net A=76.19.64.7 P=33933 U=altreco ID=593 S=stas@domain1.co B=get_recent_authed_mail_ips_entry
    2017-07-26 19:50:29 1daYsf-0007WM-IK <= stas@domain1.co H=c-76-19-64-7.hsd1.ma.comcast.net (captain) [76.19.64.7]:33933 P=esmtp S=634 id=22905.21628.18859.155363@gargle.gargle.HOWL T="yes, tile sample is on site" for kurt@hhdesignstudio.com
    2017-07-26 19:50:29 1daYsf-0007WM-IK SMTP connection identification H=c-76-19-64-7.hsd1.ma.comcast.net A=76.19.64.7 P=33933 M=1daYsf-0007WM-IK U=altreco ID=593 S=stas@domain1.co B=recent_authed_mail_ips_domain
    2017-07-26 19:51:47 SMTP data timeout (message abandoned) on connection from c-76-19-64-7.hsd1.ma.comcast.net (captain) [76.19.64.7]:33931 F=<stas@domain1.co>
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's possible the "SMTP data timeout (message abandoned) on connection" error message stems from the following option under the "ACL Options" tab in "WHM >> Exim Configuration Manager >> Basic Editor":

    Introduce a delay into the SMTP transaction for unknown hosts and messages detected as spam.

    It's documented at:

    ACL Options - Exim Configuration Manager

    Could you have your provider temporarily add the IP address you are making the SMTP connection from to the Trusted SMTP IP Addresses section of WHM's Exim Configuration Manager interface to verify if that's the cause of the problem?

    Thank you.
     
  5. Stas Burdan

    Stas Burdan Member

    Joined:
    Jul 26, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Reseller Owner
    Thank you - will ask them to try it
     
  6. Stas Burdan

    Stas Burdan Member

    Joined:
    Jul 26, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Reseller Owner
    From the hosting provider:

    I have disabled the option to introduce a delay for unknown hosts and added your IP address 76.19.64.7 to the 'Trusted SMTP IP addresses' list. Please have a check on your end and write back to us with the results so that we can assist you further.


    However, the problem did not go away. I found a message that failed yesterday and modified To: and Cc: list to only have my email address on To: list and no other email addresses. The message failed the same way it did yesterday. If I chop up the message and only send first few lines (random number of lines) to the same list, i.e. only my own email, SMTP works.

    At this point I am convinced that the message body content, encoding or similar issue causes the problem with SMTP protocol.

    I have been asking my hosting provider to describe what they did in the last week or so, as nothing changed on my side, however I am having difficulties getting it from them. I will try again.

    If you have any further ideas on how to debug this - I would really appreciate it

    Thank you
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may also want to ask your hosting provider to open a support ticket with us using the link in my signature so we can access the system and take a closer look.

    Thank you.
     
  8. Stas Burdan

    Stas Burdan Member

    Joined:
    Jul 26, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Boston
    cPanel Access Level:
    Reseller Owner
    the hosting facility says that they did not have any major upgrades recently. And in the meantime the problem went away...

    I honestly have no idea why. If it is indeed true, that no updates or configuration changes happen on their end, it must have been some other condition that they didn't understand caused the problem. I can't imagine it was anything on my end.

    Anyway, thank you for your help
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Feel free to let us know if the issue comes back and you have additional questions.

    Thank you.
     
Loading...

Share This Page