Best way to move large Maildir to another machine?

ಚಿರಾಗ್ ನಟರಾಜ್ mailinglist at chiraag.me
Wed Nov 25 22:43:49 UTC 2020


Hi!

I've moved/renamed/backed up/restored Maildirs which contain files with the hostname in the file name and it really doesn't matter afaict. getmail, procmail, etc just want a way to construct a unique filename, so they use the hostname as part of it. Your mail reader shouldn't care what the files are named, since it should be parsing the message itself (including headers) to figure out the information to display. One caveat: Maildir uses the last parts of the file name to store flags like replied, flagged, and so on, so the file names *do* matter, just not in this context.

HTH!

- Chiraag
-- 
ಚಿರಾಗ್ ನಟರಾಜ್
Pronouns: he/him/his

25/11/20 22:30 ನಲ್ಲಿ, Dave Woodfall <dave at tty1.uk> ಬರೆದರು:
> 
> Hello all,
> 
> I have a Maildir folder which I want to move to another machine:
> about 830M with 29000 messages.
> 
> Would just rsync'ing or scp'ing be OK?
> 
> I'm asking because I noticed that either procmail or getmail puts the
> hostname in the file names, and I wondered if this would cause
> problems at the other end or not when I've setup getmail+procmail on
> it?
> 
> Renaming all the files is possible I guess, but would be a task.
> 
> --
> Dave
> 
> Love is a snowmobile racing across the tundra and then suddenly it flips over,
> pinning you underneath.  At night, the ice weasels come.
> 	 --Friedrich Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - mailinglist at chiraag.me - b0c8d720.asc
Type: application/pgp-keys
Size: 659 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20201125/86f0c9f3/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 233 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20201125/86f0c9f3/attachment-0001.asc>


More information about the Mutt-users mailing list