If I submit a message into localhost using SMTP, it appears Exim is not creating a Message-ID as I thought it should. My understanding is that it should always create a Message-ID for a message in which it's missing.
Here's the header of a message submitted in this way, to a Gmail recipient - you see Google had to create a Message-ID. The same behaviour for other receiving mail servers - they all have to add their own Message-ID.
Surely the Exim server on localhost should create the Message-ID?
Delivered-To: [email protected]
Received: by 10.76.72.101 with SMTP id c5csp11056oav;
Wed, 8 May 2013 08:05:46 -0700 (PDT)
X-Received: by 10.180.183.133 with SMTP id em5mr11111688wic.26.1368025545215;
Wed, 08 May 2013 08:05:45 -0700 (PDT)
Return-Path: <[email protected]>
Received: from hostname.sender.com (hostname.sender.com. [89.145.86.xxx])
by mx.google.com with ESMTPS id o4si9553430wjo.79.2013.05.08.08.05.44
for <[email protected]>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Wed, 08 May 2013 08:05:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 89.145.86.xxx as permitted sender) client-ip=89.145.86.xxx;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of [email protected] designates 89.145.86.xxx as permitted sender) [email protected];
dkim=policy (weak key) [email protected]
Date: Wed, 08 May 2013 08:05:45 -0700 (PDT)
Message-Id: <[email protected]>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; [email protected]; s=x;
h=To:From:Subject; bh=I3H+2RR4Gh+ISvkep1BNhywvLlNcy8ptbpJ3zaZuKCQ=;
b=qn7yUvKHKsdQZ/pjeb+FiOzLw4trz3HENtk+RXroMTfMD5g+3DxP+uFDkfjR921ENG+LyyWhb77lIpj37EBvvNshFziY/4vdGOZyRj9L3eYC93nz5zLt8J4IB6XUBWNq;
Received: from localhost ([127.0.0.1])
by hostname.sender.com with smtp (Exim 4.76)
(envelope-from <[email protected]>)
id 1Ua5vq-0000Ck-RZ
for [email protected]; Wed, 08 May 2013 16:05:44 +0100
Subject: test1
From: [email protected]
To: [email protected]
Here's the header of a message submitted in this way, to a Gmail recipient - you see Google had to create a Message-ID. The same behaviour for other receiving mail servers - they all have to add their own Message-ID.
Surely the Exim server on localhost should create the Message-ID?
Delivered-To: [email protected]
Received: by 10.76.72.101 with SMTP id c5csp11056oav;
Wed, 8 May 2013 08:05:46 -0700 (PDT)
X-Received: by 10.180.183.133 with SMTP id em5mr11111688wic.26.1368025545215;
Wed, 08 May 2013 08:05:45 -0700 (PDT)
Return-Path: <[email protected]>
Received: from hostname.sender.com (hostname.sender.com. [89.145.86.xxx])
by mx.google.com with ESMTPS id o4si9553430wjo.79.2013.05.08.08.05.44
for <[email protected]>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Wed, 08 May 2013 08:05:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 89.145.86.xxx as permitted sender) client-ip=89.145.86.xxx;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of [email protected] designates 89.145.86.xxx as permitted sender) [email protected];
dkim=policy (weak key) [email protected]
Date: Wed, 08 May 2013 08:05:45 -0700 (PDT)
Message-Id: <[email protected]>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; [email protected]; s=x;
h=To:From:Subject; bh=I3H+2RR4Gh+ISvkep1BNhywvLlNcy8ptbpJ3zaZuKCQ=;
b=qn7yUvKHKsdQZ/pjeb+FiOzLw4trz3HENtk+RXroMTfMD5g+3DxP+uFDkfjR921ENG+LyyWhb77lIpj37EBvvNshFziY/4vdGOZyRj9L3eYC93nz5zLt8J4IB6XUBWNq;
Received: from localhost ([127.0.0.1])
by hostname.sender.com with smtp (Exim 4.76)
(envelope-from <[email protected]>)
id 1Ua5vq-0000Ck-RZ
for [email protected]; Wed, 08 May 2013 16:05:44 +0100
Subject: test1
From: [email protected]
To: [email protected]