I just solved a problem with Mozilla that could apply to other issues.

When I mbox2maildir to convert a mbox to maildir files, and copy it
into the cur subdir of the desired mail folder, all seems well at first.
Mozilla takes a few seconds to download the header, then they appear,
and I can click on a message to read them.

Two problems:

1) All messages are marked unread. This is becuase such status is not
kept in the mbox format, its kept by the client. Thus mbox2maildir has
no reference, and simply makes all files without any Maildir status
flags. Since I am converting old mbox's I want them all marked as read.

2) When Mozilla sees a new folder full of unread messages, it insists
on download the body of every message, even with all "offline" options
disabled. With hundreds or thousands of messages, this is a real pain.

Solution:

$ cd ~/Maildir/..<desired folder>..
$ for i in * ; do mv $i "${i}:2,S" ; done

This will mark all the newly converted messages as read, and thus they
appear in the client as read. Then Mozilla does not feel the need to
download them all. Hope this helps someone.

BTW, I see the ",S" is the "STORED" flag, but what is the ":2"?

                              ,,,
                             (oo)
  ----------------------o0Oo-(_)-oO0o-----------------------
  |    John F. Masinter      Total Business Computing Inc. |
  | Voice: 770-886-9100 x10         Fax: upon request      |
  | mailto:[EMAIL PROTECTED]        http://www.totalb.com    |
  |     P.O. Box 88584               Atlanta, GA 30356     |
  ------------------------ooO--Ooo--------------------------

"The spec said Windows-95 or better...so I installed Linux"



Reply via email to