On 10/15/20 10:15 PM, Ranjan Maitra wrote:
Thanks very much for this. I have found a tool that can convert mh to
mailbox:
https://github.com/vuntz/mh2maildir/blob/master/mh2maildir
It seems to work, but can not handle a second level of subfolders: brings them all out as
individual folders at the first level, so Ihave to fix that. Also, I don't like the
new folder names, seem too unnecessary for me. (I was expecting to the old MH folder names
inside my Maildir.) Also, the mails get stored as something like:
1602799622.116065_21187.hostname:2, not sure if this is the recommended way that files are
stored in the Maildir format. I was expecting to have something that I could have control
over.
I have to look into this some more. I am not sure if this is the standard way to store
Maildir format messages.
Maildir has all the folders at the top level with dots to indicate
subfolders. And that is also the standard filename format.
One aspect of MH that I have liked is that I pull mail on two
machines (using fetchmail via a POP server) and they are assigned the same filenames
(numbers). Then, if I use rsync with delete, I can delete the corresponding message in the
remote machine if I have deleted it on my local machine. It has worked like a charm over
the past 15 years (I would say).
That sounds either amazingly risky or it's a one-way sync and what's the
point of having the email on the remote machine?