Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    16

    Default lost while reading message data (header)

    Hello,

    I am unable to recieve emails from a mailserver .. keep getting the error......



    2007-08-06 18:30:46 SMTP connection from <remote mail servername> [x.x.x.x]:2149 I=[y.y.y.y]:25 lost while reading message data (header)



    x.x.x.x = remote mail server IP
    y.y.y.y = my mailserverIP


    Spamassasin is turned of for the domain that needs to recieve ....mail scanne runinstalled .... exim reset to defaults,... x.x.x.x added to /etc/rblwhitelist ... sender verify callout disabled.


    Please advise.


    Thanks.

  2. #2
    Member
    Join Date
    Jul 2002
    Posts
    350

    Default Re: lost while reading message data (header)

    apologies to bump this old thread, but since my search turned vein, i am updating an old ticket,

    I am also seeing this in my logs and the customer complaining about not being able to connect to our server to send mails, I have NO hard firewall or any such restrictions but i see this in the exim_mainlog

    list matching forced to fail: failed to find host name for

    What could this mean ...any one ?

  3. #3
    Member
    Join Date
    Jul 2004
    Posts
    185

    Default Re: lost while reading message data (header)

    Yes, we need to know what this means too please in /var/log/exim-mainlog:

    list matching forced to fail: failed to find host name for
    Also seeing

    unexpected disconnection while reading SMTP command from (pc) [xx.xx.xx.xx]
    the IP of which is a hosting client who cannot send emails out

  4. #4
    Member
    Join Date
    Jan 2011
    Posts
    505
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: lost while reading message data (header)

    Hello,

    You need to check whether the mail server IP is having a Rdns or not.

    You can check using the below given steps :

    Ip Tools, DNS tools, internet tools, WHOIS, traceroute, ping, domain name tools >> Reverse DNS Lookup

  5. #5
    Member
    Join Date
    Jul 2004
    Posts
    185

    Default Re: lost while reading message data (header)

    Yes, reverse dns is in place for the server IP, and has been for years.

  6. #6
    Member
    Join Date
    Jan 2011
    Posts
    505
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: lost while reading message data (header)

    Hello,

    Is this issue resolved?

  7. #7
    Member
    Join Date
    Jul 2004
    Posts
    185

    Default Re: lost while reading message data (header)

    OK, there does seem to be a known issue with Orange Internet connections currently where 3rd pary SMTP connections are being blocked. Orange have confirmed this by telephone.

    Our current workaround is to simply ask the clients (assuming they are indeed with Orange) to use smtp.orangehome.co.uk as the outgoing mail server and make sure they use port 25 and disable 'server requires authentication'.

    Hope this helps anyone.

  8. #8
    Member
    Join Date
    Jan 2011
    Posts
    505
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: lost while reading message data (header)

    Hello,

    If this is the issue, can't you try 26,465 ( common alternative ports for smtp which should be opened in the server ) for mail purposes.

  9. #9
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: lost while reading message data (header)

    Hello Varada,

    Port 26 is not opened by default on cPanel machines unless the following has been set in WHM > Service Manager:

    exim on another port

    Allow exim to listen on port
    Here you would have had to place 26 into the field and then click "Save" to change the setting. Now, port 587 is also another alternate port you could add in that area rather than 26, since many ISPs block port 26 as well (but do not block 587).

    465 is the TLS on connect port, so that one is opened by default. It's a secure port for exim actually.

    You can see which ports are opened for mail and being used by running the following (I've used port 465 as the example):

    Code:
    [root@itchy:~] # egrep 465 /etc/exim.conf
    daemon_smtp_ports = 25 : 465
    tls_on_connect_ports = 465
    
    [root@itchy:~] # lsof -i :465
    COMMAND   PID     USER   FD   TYPE    DEVICE SIZE NODE NAME
    exim    16160 mailnull    5u  IPv6 198945326       TCP *:smtps (LISTEN)
    exim    16160 mailnull    6u  IPv4 198945327       TCP *:smtps (LISTEN)
    If you run the same commands to check port 26 and/or 587, you will not receive a return unless you've set one of those as the alternate exim port in WHM's Service Manager as previously mentioned.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  10. #10
    Member
    Join Date
    Jan 2011
    Posts
    505
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: lost while reading message data (header)

    Hello Tristan,

    Yes, I was exactly mentioning to set the port 26 in Service Manager. Some ISP's blocks port 25 and now a days most of the hosts opens an extra port for smtp to resolve this issue.

    Thanks.

Similar Threads & Tags
Similar threads

  1. mod_fcgid: error reading data from FastCGI server
    By imploder303 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 06-15-2011, 04:07 PM
  2. Lost Data
    By topman23 in forum New User Questions
    Replies: 1
    Last Post: 02-01-2010, 04:39 PM
  3. error reading session data
    By ccarpenter in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-17-2009, 12:01 PM
  4. Boxtrapper whitelisting according to a message header
    By taheer in forum E-mail Discussions
    Replies: 0
    Last Post: 08-13-2007, 08:05 AM
  5. Horder gives header already sent message.
    By bmcpanel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-20-2006, 06:46 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube