On Thu, 2007-08-30 at 23:52 +0200, M. Fioretti wrote:
Dovecot only sees the INBOX* folders. Under these constraints I'm safe, am I not? Also, since all the file names are created by procmail (there is nobody else injecting email from the outside) I can count on them being always unique, right?
Right.
mv, rm and ln are always safe. Just don't ever write to new mail files in new/ or cur/ directory, because then Dovecot might read partially written files. That means that "cp file new/" isn't safe, but "ln file new/" is.
Er.. sorry, what do you mean exactly here? where is "file" where I link to new?
Whatever file. :)
What is the complete, exact sequence of Unix commands to safely go from:
aux_maildir_1/new/some_file
to, say,
INBOX.one/new/some_file
If you want to move, then it's simply
mv aux_maildir_1/new/some_file INBOX.one/new/some_file
The important thing is that you don't use "cp".