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.