Hi
all,
I've run the
mbox2cyrus.pl script to import our old wu-imapd mail folder to our new cyrus
imapd 2.1.3 system. After a bit of tweaking in the perl script I managed to get
it to import ok, except the received times on the imported messages are set to
the time that they were imported.
Does anyone know of
a way to set the received time for each message? I can get the received time out
of each mail file in /var/spool/imap, but I don't know where the received time
is stored for each of the messages. My guess is that its stored in the
cyrus.index or cyrus.header file somewhere. I thought it might be the modified
time on each mail file, but I tried that and it didn't make any
difference.
The weird thing is
that it's only the received time in Outlook or Outlook Express that is stuffed
up. If I used netscape or the IMP webmail browser to view the mail then the
received times are ok. So I'm thinking that netscape and IMP use the date the
message was created to sort by instead of the date the message was
received.
Anyone got any ideas
on how I get get this received time correct?
Thanks
Adam
Fox.
Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. Thank You. Whilst every effort has been made to ensure that this
e-mail message and any attachments are free from viruses, you should scan this
message and any attachments. |