MESSAGE-ID is not being added on outgoing mails

mooony

Well-Known Member
Nov 9, 2002
82
0
156
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 
[email protected] 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
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
normally it should. else check

Main >> Server Setup >> Tweak Settings

at WHM to see header modifications.
 

mooony

Well-Known Member
Nov 9, 2002
82
0
156
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
 

mooony

Well-Known Member
Nov 9, 2002
82
0
156
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
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
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
 

mooony

Well-Known Member
Nov 9, 2002
82
0
156
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
 

mooony

Well-Known Member
Nov 9, 2002
82
0
156
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.
chirpy said:

cd /etc
mv exim.conf.local exim.conf.local.old
/scripts/buildeximconf
/scripts/restartsrv_exim
here are the headers:

Code:
Return-path: <[email protected]>
Envelope-to: [email protected]
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 [email protected]; 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 [email protected]; 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 [email protected]; Wed, 31 Aug 2005 23:19:51 +0200
From: "REM Links" <[email protected]>
To: <[email protected]>
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: [email protected]
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: <[email protected]>
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: <[email protected]>
Envelope-to: [email protected]
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 [email protected]; 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 [email protected]; 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 [email protected]; Wed, 31 Aug 2005 23:30:51 +0200
Message-ID: <[email protected]>
From: "remlinks" <[email protected]>
To: <[email protected]>
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: [email protected]
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
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
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...
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
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.
 

mooony

Well-Known Member
Nov 9, 2002
82
0
156
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