I'm trying to transition a number of large mbox's to maildirs for use with
qmail/courier. I found the mbox2maildir script, and it works great to
separate out the files.
But it seems that Courier uses the mtime of the FILE of the message, and not
the information in the message header, to deliver the "Received" date to the
mail client - in this case, Outlook Express for the Mac and/or Entourage
2001 for Mac OS X.
I am not implying that's the wrong way to do it - just that I was a little
surprised by it. The plain ol' mbox style IMAP clients seem to do this
(otherwise, how would they know?), so I assumed Courier may as well.
I wrote a PHP script to go through all of the maildir files and try to parse
out the received time from the headers and then "touch" the file with that
time as the mtime. When I do that, the proper received time is shown in the
mail client. It works around 94% of the time, but that's still .06 * 1000's
of messages to do by hand. Tedious work. :)
* Is it necessary to touch all the files?
* Is there a script out there which would do a better job that my PHP
script which people on this list have experience with?
* Am I overthinking this?
Any help would be much appreciated. Thanks!
-- mjh
[Courier 1.3.12 / qmail 1.0.3 / RH 7.0 i386]
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users