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.

MESSAGE-ID is not being added on outgoing mails

Discussion in 'E-mail Discussions' started by mooony, Aug 31, 2005.

  1. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    HI,

    I am having the following problems on my servers. The MESSAGE-ID in the mails are not being added when the mail gets send. My clients are getting back there emails with the following message:

    Code:
    550 5.7.1 message unacceptable
    We have asked the provider that is refusing the emails why the 550 error and the gave us the following description:

    Code:
    Mar, 30 ago 2005 18:13:38 +0200	No Message-ID header from 
    user@domain.biz at host.domain.net (xx.xx.xx.xxx)
    It seems that exim is not adding the MESSAGE-ID to the emails. Can somebody confirm this.

    How can make exim add the MESSAGE-ID to the headers when it is sending the email.

    Thank you.

    Ronald
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    normally it should. else check

    Main >> Server Setup >> Tweak Settings

    at WHM to see header modifications.
     
  3. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I have clicked every possible box that has headers in it but the MESSAGE-ID gets added by the receiving server and not the sending server.

    Is it possible to rebuild the exim.conf with a standard exim.conf?

    Thanks

    Ronald
     
  4. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    I noticed that emails generated on the server and mails from outlook express have the MESSAGE-ID but emails send out by outlook don't have the message-id. This seems very strange. :eek:

    Thanks

    Ronald
     
    #4 mooony, Aug 31, 2005
    Last edited: Aug 31, 2005
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Very strange indeed. You really need to post the full email headers here from those that are being rejected. Have you also made sure that you don't have an dubious customisations in exim.conf by resetting it back to defaults:

    cd /etc
    mv exim.conf.local exim.conf.local.old
    /scripts/buildeximconf
    /scripts/restartsrv_exim
     
  6. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Hello chirpy,

    I have tried it on 8 servers. On 7 servers the exim.conf has been modified. The one server that has not been modified at all, has the same problem. I will try your advice in resetting the exim.conf. I will let you know if it works.

    It seems that outlook sends the information in a wrong and exim can't create the message-id.

    Thanks for your help,

    Ronald
     
  7. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Ok. I did what you suggested but the message-id gets added by the recieving server and not the the sending server. This is only with outlook. Outlook expres work prefect.
    here are the headers:

    Code:
    Return-path: <remgrit@cpanel.rem-graphics.com>
    Envelope-to: ronald@rem-graphics.it
    Delivery-date: Wed, 31 Aug 2005 23:19:50 +0200
    Received: from remgrit by cpanel.rem-graphics.com with local-bsmtp (Exim 4.52)
    	id 1EAZzq-0000ZN-31
    	for ronald@rem-graphics.it; Wed, 31 Aug 2005 23:19:50 +0200
    Received: from [209.51.133.74] (port=49360 helo=ls-224.rem-graphics.net)
    	by cpanel.rem-graphics.com with esmtps (TLSv1:DES-CBC3-SHA:168)
    	(Exim 4.52)
    	id 1EAZzp-0000ZI-TD
    	for ronald@rem-graphics.it; Wed, 31 Aug 2005 23:19:49 +0200
    Received: from host4-155.pool21345.interbusiness.it ([213.45.155.4] helo=REMPORT)
    	by ls-224.rem-graphics.net with esmtpa (Exim 4.52)
    	id 1EAZzq-00078d-Ar
    	for ronald@rem-graphics.it; Wed, 31 Aug 2005 23:19:51 +0200
    From: "REM Links" <info@remlinks.net>
    To: <ronald@rem-graphics.it>
    Subject: test
    Date: Wed, 31 Aug 2005 23:19:37 +0200
    MIME-Version: 1.0
    Content-Type: text/plain;
    	charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    X-Mailer: Microsoft Office Outlook, Build 11.0.6353
    Thread-Index: AcWucbDjsoZ9eBEhTsK086WbWX9xIQ==
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
    X-PopBeforeSMTPSenders: info@remlinks.net
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - ls-224.rem-graphics.net
    X-AntiAbuse: Original Domain - rem-graphics.it
    X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
    X-AntiAbuse: Sender Address Domain - remlinks.net
    X-Source: 
    X-Source-Args: 
    X-Source-Dir: 
    X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on 
    	cpanel.rem-graphics.com
    X-Spam-Status: No, score=0.0 required=5.9 tests=none autolearn=unavailable 
    	version=3.0.4
    X-Spam-Level: 
    Message-Id: <E1EAZzq-0000ZN-31@cpanel.rem-graphics.com>
    As you can see the message-id is on the bottom of the headers and it is the receiving server that has added this message-id.

    Here is a header send with oulook express:

    Code:
    Return-path: <remgrit@cpanel.rem-graphics.com>
    Envelope-to: ronald@rem-graphics.it
    Delivery-date: Wed, 31 Aug 2005 23:30:48 +0200
    Received: from remgrit by cpanel.rem-graphics.com with local-bsmtp (Exim 4.52)
    	id 1EAaAR-0001g5-OZ
    	for ronald@rem-graphics.it; Wed, 31 Aug 2005 23:30:48 +0200
    Received: from [209.51.133.74] (port=49458 helo=ls-224.rem-graphics.net)
    	by cpanel.rem-graphics.com with esmtps (TLSv1:DES-CBC3-SHA:168)
    	(Exim 4.52)
    	id 1EAaAR-0001g1-KX
    	for ronald@rem-graphics.it; Wed, 31 Aug 2005 23:30:47 +0200
    Received: from host4-155.pool21345.interbusiness.it ([213.45.155.4] helo=REMPORT)
    	by ls-224.rem-graphics.net with smtp (Exim 4.52)
    	id 1EAaAU-0007Ug-KC
    	for ronald@rem-graphics.it; Wed, 31 Aug 2005 23:30:51 +0200
    Message-ID: <000301c5ae73$3edf2290$049b2dd5@REMPORT>
    From: "remlinks" <info@remlinks.net>
    To: <ronald@rem-graphics.it>
    Subject: test
    Date: Wed, 31 Aug 2005 23:30:41 +0200
    MIME-Version: 1.0
    Content-Type: text/plain;
    	format=flowed;
    	charset="iso-8859-1";
    	reply-type=original
    Content-Transfer-Encoding: 7bit
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2900.2180
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
    X-PopBeforeSMTPSenders: info@remlinks.net
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - ls-224.rem-graphics.net
    X-AntiAbuse: Original Domain - rem-graphics.it
    X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
    X-AntiAbuse: Sender Address Domain - remlinks.net
    X-Source: 
    X-Source-Args: 
    X-Source-Dir: 
    X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on 
    	cpanel.rem-graphics.com
    X-Spam-Status: No, score=0.0 required=5.9 tests=none autolearn=unavailable 
    	version=3.0.4
    X-Spam-Level: 
    Thanks for your help,

    Ronald
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Just confirmed it myself sending email using Outlook through two cPanel exim servers and there's no Message-ID in the email header. I'll dig a little deeper...
     
  9. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Hello chirpy

    I have opened a bugzilla:

    http://bugzilla.cpanel.net/show_bug.cgi?id=3150

    I have searched on google and it seems it is outlook that is having problems but exim should add the message-id if it is not there.

    Thanks you trying as well. I thought I was the only one.

    Ronald
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Done some research. It's clearly a bug in Outlook as it is its responsibility as the MUA to add that field. That said, exim does add missing Date: and Message-ID: header records to local emails:
    http://www.exim.org/exim-html-4.50/doc/html/spec_toc.html#TOC363

    You can force the same check on remotely delivered emails using this method:
    http://www.exim.org/exim-html-4.50/doc/html/spec_toc.html#TOC352

    I tested this by doing the following successfully:

    Go to WHM > Exim Configuration Editor > Advanced Mode > and scroll to the ACL section (the middle textarea of the first set of 3) and add the following with empty lines above and below after the line:

    Code:
      accept  hosts = :
    such that it looks like

    Code:
      accept  hosts = :
    
      warn hosts = *
            control = submission/sender_retain
    
    I've not done any more testing other than verufying that works, so there may be other implications on doing this. It might also be better to narrow it down more by only doing it for authenticated sessions.
     
  11. mooony

    mooony Well-Known Member

    Joined:
    Nov 9, 2002
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Ok. I have added that line to one of the servers. I will see how how it goes. I have found this link about outlook:

    http://pessoal.org/blog/?p=30

    I sure means that microsoft outlook is not confirm as being a MUA.

    Thanks alot for your help.

    ROnald
     
Loading...

Share This Page