[Exim] Add Date: header line?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Hans-Juergen Beie
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Add Date: header line?
The CHANGELOG of Exim 4.30 says

-----> cut here >-----
56. Exim used to add From:, Date:, and Message-Id: header lines to any
incoming messages that did not have them. Now it does so only if the
message originates locally, that is, if there is no associated remote
host address. When Resent- header lines are present, this applies to the
Resent-lines rather than the non-Resent-lines.
-----< cut here <-----

Some days ago I upgraded from Exim 4.12 to 4.32. Since that time mails
sent from a local cron job, which does _not_ add a "Date:" header line,
are deliverd by Exim 4.32 without adding a date header.

Header with Exim 4.12:
-----> cut here >-----
Return-Path: <cyrus@???>
Received: from cebulon.franken.de ([unix socket])
    by cebulon.franken.de (Cyrus v2.1.11-Invoca-RPM-2.1.11-3) with LMTP;
Thu, 15 Apr 2004 18:18:35 +0200
X-Sieve: CMU Sieve 2.2
Received: from mail by cebulon.franken.de with spam-scanned (Exim 4.12)
    id 1BE9ZQ-0007ZI-00
    for root@???; Thu, 15 Apr 2004 18:18:35 +0200
Received: from [192.168.202.5] (helo=localhost.localdomain)
    by cebulon.franken.de with esmtp (Exim 4.12)
    id 1BE9ZQ-0007ZF-00
    for notify_avupdate@???; Thu, 15 Apr 2004 18:18:32 +0200
To: notify_avupdate@???
From: update_antivir@???
Subject: Update AntiVir fuer Win98/NT/2K/XP
Message-Id: <E1BE9ZQ-0007ZF-00@???>
Date: Thu, 15 Apr 2004 18:18:32 +0200
-----< cut here <-----


Header with Exim 4.32:
-----> cut here >-----
Return-Path: <cyrus@???>
Received: from cebulon.franken.de ([unix socket])
    by cebulon.franken.de (Cyrus v2.1.11-Invoca-RPM-2.1.11-3) with LMTP;
Tue, 20 Apr 2004 06:18:40 +0200
X-Sieve: CMU Sieve 2.2
Received: from [192.168.202.5] (helo=localhost.localdomain)
    by cebulon.franken.de with esmtp (Exim 4.32)
    id 1BFmiT-0006n3-1o
    for notify_avupdate@???; Tue, 20 Apr 2004 06:18:38 +0200
To: notify_avupdate@???
From: update_antivir@???
Subject: Update AntiVir fuer Win98/NT/2K/XP
-----< cut here <-----


According to the CHANGELOG statement above I would have expected the
same behaviour as before (date and message id added). I'm a bit confused.

How does Exim decide whether a message originates locally or remote?

hjb :-?

--
Hans-Juergen Beie
Phone: +49 911 396628 / +49 173 3546274
Fax: +49 911 396663
mailto:hjb@pollux.franken.de