I have set up Dovecot on my Postfix mailserver. My mailserver is using Maildir format:
home_mailbox = Mail/inbox/ A user's Mail directory looks like this:
$HOME/Mail/inbox $HOME/Mail/drafts $HOME/Mail/sent $HOME/Mail/trash I have set up mailboxes in Dovecot accordingly
mail_location = maildir:~/Mail namespace inbox { mailbox drafts { special_use = \Drafts } mailbox sent { special_use = \Sent } mailbox trash { special_use = \Trash } } Now, the problem is, Dovecot does not use the mailboxes as defined, but creates its own mailboxes named with a . in front and with first letter capital:
$HOME/Mail/.Drafts $HOME/Mail/.Sent $HOME/Mail/.Trash Further, instead of using $HOME/Mail/inbox as inbox, it uses $HOME/Mail as inbox. i.e. it created the cur/new/tmp directories directly in $HOME/Mail/, rather than using the existing $HOME/Mail/inbox:
$HOME/Mail/cur $HOME/Mail/new $HOME/Mail/tmp SUMMARY:
explained briefly, what I need is the following:
I have an existing Maildir folder structure where Postfix delivers mail, plus the usual folders (drafts, sent, ...):
$HOME/Mail/inbox/{cur,new,tmp} $HOME/Mail/drafts/{cur,new,tmp} $HOME/Mail/sent/{cur,new,tmp} $HOME/Mail/trash/{cur,new,tmp} How can I tell Dovecot to use the correct directories?