[exim-dev] [Bug 1912] New: exim adds Date header with incorr…

Góra strony
Delete this message
Reply to this message
Autor: admin
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 1912] New: exim adds Date header with incorrect date for locally initiated email messages
https://bugs.exim.org/show_bug.cgi?id=1912

            Bug ID: 1912
           Summary: exim adds Date header with incorrect date for locally
                    initiated email messages
           Product: Exim
           Version: 4.87
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: nigel@???
          Reporter: arekm@???
                CC: exim-dev@???


RFC 2822 says about Date:

3.6.1. The origination date field

The origination date field consists of the field name "Date" followed
by a date-time specification.

orig-date       =       "Date:" date-time CRLF


The origination date specifies the date and time at which the creator
of the message indicated that the message was complete and ready to
enter the mail delivery system. For instance, this might be the time
that a user pushes the "send" or "submit" button in an application
program. In any case, it is specifically not intended to convey the
time that the message is actually transported, but rather the time at
which the human or other creator of the message has put the message
into its final form, ready for transport. (For example, a portable
computer user who is not connected to a network might queue a message
for delivery. The origination date is intended to contain the date
and time that the user queued the message, not the time when the user
connected to the network to send the message.)

which means that for locally generated messages send via sendmail, Date header
should represent date at which EOF was send (because only EOF means this
message is complete and ready to go).

Example:

1) start: sendmail -t some_address, enter some headers, From, To, etc (without
Date obviously), enter some body text
2) wait a day (or a few minutes)
3) press ctrl+D (EOF)


Exim will add "Date" header with date of 1) action instead of 3) action.

But only date of 3) action matches rfc requirements.

--
You are receiving this mail because:
You are on the CC list for the bug.