[Dovecot] Migrating to dovecot configuration questions
I am currently running a mail server on an earlier version of Red Hat Advanced Server, sendmail and UW IMAP (imap-2007e). I am considering changing to Dovecot for IMAP but have a few configuration questions in regards to a hashed directory setup.
Right now the mail spool for everyone's mailbox is located in /var/mail/first letter of email address/second letter of email address, for example ajaym would be found in /var/mail/a/j ,email address john would be in /var/mail/j/o and so on.....
Most users using IMAP have a home directory where they can store their personal folders, trash, sent items, etc.. in /home/username.
I am looking for some configuration information on making a smooth transition from UW IMAP to Dovecot and keeping the existing directory structure.
Any info or suggestions??
Thanks Adam -
On 14.7.2010, at 0.50, Adam wrote:
Right now the mail spool for everyone's mailbox is located in /var/mail/first letter of email address/second letter of email address, for example ajaym would be found in /var/mail/a/j ,email address john would be in /var/mail/j/o and so on.....
So that would be the INBOX.
Most users using IMAP have a home directory where they can store their personal folders, trash, sent items, etc.. in /home/username.
This would be the mail root directory. Probably you can use the home directory that's in passwd.
I am looking for some configuration information on making a smooth transition from UW IMAP to Dovecot and keeping the existing directory structure.
mail_location = mbox:~/:INBOX=/var/mail/%1n/%1.1n/%n
Although you should consider moving the mails from home directory to e.g. ~/mail/ directory. Would help to avoid trouble in future.
participants (2)
-
Adam
-
Timo Sirainen