[Dovecot] More Migration Questions
Timo Sirainen
tss at iki.fi
Fri Aug 14 17:54:46 EEST 2009
On Aug 14, 2009, at 8:57 AM, Richard Hobbs wrote:
> Where should i convert my mbox mailboxes into? "/home/username/
> Maildir/"
> or "/somewhere/maildirs/"?
>
> Does it actually matter? Is there a standard location that they
> *should* go?
It doesn't matter. Maildir/ is a bit more standard, but Dovecot
doesn't care.
> Also, having converted the mbox files into maildir files, i do seem to
> have one email per file, as intended, but the files have names like
> "1250253965.000586.mbox,S=8167,W=8427:2,S". Should they have the word
> "mbox" in their filename if they are maildir files?
The file names don't matter, as long as they're unique. The S= and W=
parts are about optimizing looking up file sizes.
> Finally, it appears that our existing IMAP users (all mbox) have
> mailboxes stored simply in their home directory, not necessarily
> inside
> the "~/mail/" directory - is this going to be a problem?
That's better actually, you don't then have to add those ~/mail/
compabilitity namespaces.
> The command i'm using to convert is this one:
>
> ./migrateuser.sh username /home/username /vol2/maildirs/username
I'd have separate "home" and maildir directories. For example:
home = /vol2/maildirs/username
mail_location = maildir: ~/Maildir
http://wiki.dovecot.org/VirtualUsers#Home_directories
More information about the dovecot
mailing list