Begin forwarded message:

From: Jon Rowell <[EMAIL PROTECTED]>
Date: Sat Mar 1, 2003  2:31:24 AM US/Central
To: [EMAIL PROTECTED]
Subject: date received

I am working on converting from unix mail spools to cyrus. I have pretty much everything working except for after I get things converted and startup cyrus and people download the messages to their client the "Date Received" (that's what my mac email client calls it... outlook express calls it "Received") for every message is set to the time that the message was converted to cyrus format. Is it possible to change this value to either the Date: header of the message or the date/time mentioned in the Received: header? Anything is better than 3am on whatever date I ran my conversion program.

Some notes on how I'm doing my conversion. I am using more or less the same process that is described in the O'Reilly "Managing Imap" book which creates all of the mailboxes for you, splits each spool up using formail, copies into individual files for cyrus and then when we're all done runs "reconstruct -r". I would expect reconstruct to reset this date received for me but it doesn't.

Anybody know anything about this? I haven't run across this issue anywhere on the web. Is everyone simply happy getting the message there with the wrong date received?

Also, as a related issue, anybody know how I can use php to receive the date received value for a given message? Also, what raw command is given to the imap server in order to retrieve this information?

Jon Rowell




Reply via email to