[Dovecot] Received Date vs Date Header
I am trying to figure out why my mail clients are not correctly showing me the received date versus the date header date. I am using Dovecot 1.1B9. Here is a copy of the rawlog from Dovecot when I started up the client. Is Dovecot supposed to be sending the received date and the date header during this conversation?
- OK [RAWLOG TIMESTAMP] 2007-11-30 16:48:31
- NAMESPACE (("" ".")) NIL NIL 3 OK Namespace completed.
- LSUB () "." "Junk E-mail"
- LSUB () "." "Deleted Items"
- LSUB () "." "Drafts"
- LSUB () "." "Ham"
- LSUB () "." "INBOX"
- LSUB () "." "Keep Messages"
- LSUB () "." "Mailing Lists"
- LSUB () "." "Sent Items"
- LSUB () "." "Spam"
- LSUB () "." "Other"
- LSUB () "." "Inbox2"
- LSUB () "." "Dovecot"
- LSUB () "." "MIMEDefang"
- LSUB () "." "Beta"
- LSUB () "." "Debian"
- LSUB () "." "Leafnode"
- LSUB () "." "Sendmail" 4 OK Lsub completed.
- LIST (\HasNoChildren) "." "INBOX" 5 OK List completed.
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $MDNSent Junk NonJu: nk)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $MDNSent Junk NonJunk \*)] Flags permitted.
- 19 EXISTS
- 2 RECENT
- OK [UNSEEN 17] First unseen.
- OK [UIDVALIDITY 1191346544] UIDs valid
- OK [UIDNEXT 7608] Predicted next UID 6 OK [READ-WRITE] Select completed.
- 1 FETCH (FLAGS (\Seen) UID 5)
- 2 FETCH (FLAGS (\Seen) UID 5707)
- 3 FETCH (FLAGS (\Seen) UID 7042)
- 4 FETCH (FLAGS (\Seen) UID 7103)
- 5 FETCH (FLAGS (\Seen) UID 7110)
- 6 FETCH (FLAGS (\Seen) UID 7183)
- 7 FETCH (FLAGS (\Seen) UID 7237)
- 8 FETCH (FLAGS (\Seen) UID 7334)
- 9 FETCH (FLAGS (\Seen) UID 7353)
- 10 FETCH (FLAGS (\Answered \Seen) UID 7355)
- 11 FETCH (FLAGS (\Seen) UID 7364)
- 12 FETCH (FLAGS (\Seen) UID 7482)
- 13 FETCH (FLAGS (\Seen) UID 7485)
- 14 FETCH (FLAGS (\Seen) UID 7496)
- 15 FETCH (FLAGS (\Seen) UID 7546) :
- 16 FETCH (FLAGS (\Seen) UID 7555)
- 17 FETCH (FLAGS () UID 7605)
- 18 FETCH (FLAGS (\Recent) UID 7606)
- 19 FETCH (FLAGS (\Recent) UID 7607) 7 OK Fetch completed.
- 18 FETCH (UID 7606 RFC822.SIZE 4589 FLAGS (\Recent) BODY[HEADER.FIELDS
(FROM TO CC SUBJECT DATE MESSAGE-ID PRIORITY X-PRIORITY REFERENCES
NEWSGROUPS IN-REPLY-(END)
TO CONTENT-TYPE)] {352}
Date: Fri, 30 Nov 2007 15:24:32 -0800
Subject: x
From: x
To: x
Message-ID:
Content-type: text/plain; charset="US-ASCII"
)
- 19 FETCH (UID 7607 RFC822.SIZE 4590 FLAGS (\Recent) BODY[HEADER.FIELDS
(FROM TO CC SUBJECT DATE MESSAGE-ID PRIORITY X-PRIORITY REFERENCES
NEWSGROUPS IN-REPLY-TO CONTENT-TYPE)] {353}
Date: Fri, 30 Nov 2007 15:25:23 -0800
Subject: x
From: x
To: x
Message-ID:
Content-type: text/plain; charset="US-ASCII"
) 8 OK Fetch completed.
- idling
I am using Maildir and the date and time of those files from "ls -l" are "2007-11-30 16:48" and "2007-11-30 16:49". The mail client (Thunderbird) showed the received date/time and date date/time as "2007-11-30 3:24" and "2007-11-30 3:25"
Thanks for any help you can offer me.
Jeff
On 01.12.2007 4:03, Jeff Grossman wrote:
I am trying to figure out why my mail clients are not correctly showing me the received date versus the date header date. I am using Dovecot 1.1B9. Here is a copy of the rawlog from Dovecot when I started up the client. Is Dovecot supposed to be sending the received date and the date header during this conversation?
- OK [RAWLOG TIMESTAMP] 2007-11-30 16:48:31
- NAMESPACE (("" ".")) NIL NIL 3 OK Namespace completed.
- LSUB () "." "Junk E-mail"
- LSUB () "." "Deleted Items"
- LSUB () "." "Drafts"
- LSUB () "." "Ham"
- LSUB () "." "INBOX"
- LSUB () "." "Keep Messages"
- LSUB () "." "Mailing Lists"
- LSUB () "." "Sent Items"
- LSUB () "." "Spam"
- LSUB () "." "Other"
- LSUB () "." "Inbox2"
- LSUB () "." "Dovecot"
- LSUB () "." "MIMEDefang"
- LSUB () "." "Beta"
- LSUB () "." "Debian"
- LSUB () "." "Leafnode"
- LSUB () "." "Sendmail" 4 OK Lsub completed.
- LIST (\HasNoChildren) "." "INBOX" 5 OK List completed.
- FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $MDNSent Junk NonJu: nk)
- OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $MDNSent Junk NonJunk \*)] Flags permitted.
- 19 EXISTS
- 2 RECENT
- OK [UNSEEN 17] First unseen.
- OK [UIDVALIDITY 1191346544] UIDs valid
- OK [UIDNEXT 7608] Predicted next UID 6 OK [READ-WRITE] Select completed.
- 1 FETCH (FLAGS (\Seen) UID 5)
- 2 FETCH (FLAGS (\Seen) UID 5707)
- 3 FETCH (FLAGS (\Seen) UID 7042)
- 4 FETCH (FLAGS (\Seen) UID 7103)
- 5 FETCH (FLAGS (\Seen) UID 7110)
- 6 FETCH (FLAGS (\Seen) UID 7183)
- 7 FETCH (FLAGS (\Seen) UID 7237)
- 8 FETCH (FLAGS (\Seen) UID 7334)
- 9 FETCH (FLAGS (\Seen) UID 7353)
- 10 FETCH (FLAGS (\Answered \Seen) UID 7355)
- 11 FETCH (FLAGS (\Seen) UID 7364)
- 12 FETCH (FLAGS (\Seen) UID 7482)
- 13 FETCH (FLAGS (\Seen) UID 7485)
- 14 FETCH (FLAGS (\Seen) UID 7496)
- 15 FETCH (FLAGS (\Seen) UID 7546) :
- 16 FETCH (FLAGS (\Seen) UID 7555)
- 17 FETCH (FLAGS () UID 7605)
- 18 FETCH (FLAGS (\Recent) UID 7606)
- 19 FETCH (FLAGS (\Recent) UID 7607) 7 OK Fetch completed.
- 18 FETCH (UID 7606 RFC822.SIZE 4589 FLAGS (\Recent) BODY[HEADER.FIELDS (FROM TO CC SUBJECT DATE MESSAGE-ID PRIORITY X-PRIORITY REFERENCES NEWSGROUPS IN-REPLY-(END) TO CONTENT-TYPE)] {352} Date: Fri, 30 Nov 2007 15:24:32 -0800 Subject: x From: x To: x Message-ID:
Content-type: text/plain; charset="US-ASCII" )
- 19 FETCH (UID 7607 RFC822.SIZE 4590 FLAGS (\Recent) BODY[HEADER.FIELDS (FROM TO CC SUBJECT DATE MESSAGE-ID PRIORITY X-PRIORITY REFERENCES NEWSGROUPS IN-REPLY-TO CONTENT-TYPE)] {353} Date: Fri, 30 Nov 2007 15:25:23 -0800 Subject: x From: x To: x Message-ID:
Content-type: text/plain; charset="US-ASCII" ) 8 OK Fetch completed.
- idling
I am using Maildir and the date and time of those files from "ls -l" are "2007-11-30 16:48" and "2007-11-30 16:49". The mail client (Thunderbird) showed the received date/time and date date/time as "2007-11-30 3:24" and "2007-11-30 3:25"
Thanks for any help you can offer me.
Jeff
That's usually depends on MUA. And as I remeber there is debates in TB bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=216033
Nikolay Shopik wrote:
On 01.12.2007 4:03, Jeff Grossman wrote:
- 19 FETCH (UID 7607 RFC822.SIZE 4590 FLAGS (\Recent) BODY[HEADER.FIELDS (FROM TO CC SUBJECT DATE MESSAGE-ID PRIORITY X-PRIORITY REFERENCES NEWSGROUPS IN-REPLY-TO CONTENT-TYPE)] {353} Date: Fri, 30 Nov 2007 15:25:23 -0800 Subject: x From: x To: x Message-ID:
Content-type: text/plain; charset="US-ASCII" That's usually depends on MUA. And as I remeber there is debates in TB bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=216033
Okay, that makes sense. But, I was using the 3.0a1pre build of Thunderbird which includes a Received Date column, but I guess they are not done with it yet. It must not be asking for that information. The two columns Received Date and Date in Thunderbird 3.0a1pre were the same.
I did a test with Squirrelmail and here is what I see:
- 50 FETCH (FLAGS () UID 7726 RFC822.SIZE 4992 INTERNALDATE "01-Dec-2007 09:24:07 -0800" BODY[HEADER.FIELDS (DATE TO CC FROM SUBJECT X-PRIORITY IMPORTANCE PRIORITY CONTENT-TYPE)] {214} Date: Sat, 01 Dec 2007 11:23:11 -0600 From: x To: debian-user@lists.debian.org Subject: Re: Mounting a USB Mass Storage Device Content-Type: text/plain; charset=ISO-8859-1
It appears the client is asking for the Received Date, which is the
INTERNALDATE and it gets the header date field. But, what is
interesting is that Squirrelmail will always show that e-mail as 9:23
for me if I select the "Sort By Received Date" setting in the options.
Oh, now reading the setting, it will only change the sort and not change
what time is displayed. I guess it will only show the time from the
Date header and not from the Received header.
Jeff
participants (2)
-
Jeff Grossman
-
Nikolay Shopik