04.06.2013 15:28, "M.Atıf CEYLAN" пишет: > On 06/04/2013 12:13 PM, Alex Dubinin wrote: >> This is my first experience of the mail server. >> Set up a mail server from Postfix + Dovecot with the MySQL >> authorization. >> When you create a new user dovecot makes strange folder structure: the >> 'inbox' contains 'juncus', 'tash', 'sent' etc. >> ie 'sent' and other folders are subdir to the 'inbox'. >> How to make the imap folders 'sent', 'trash' and others were not >> affiliated? >> >> P.S. Sorry for my english. >> > Hi, > try below parameters in your dovecot conf file (if you use dovecot 2.x) > > namespace { > inbox = yes > prefix = . > separator = . > subscriptions = yes > list = yes > type = private > } Thank you for your answer. This is my config: # cat 10-mail.conf | sed -e "s/^\s*//g" | grep -v ^\# | grep -v ^$ mail_location = maildir:/var/vmail/%d/%n/Maildir namespace inbox { type = private separator = . prefix = INBOX. location = inbox = yes hidden = no list = yes } mail_plugins = $mail_plugins quota
# cat 15-mailboxes.conf | sed -e "s/^\s*//g" | grep -v ^\# | grep -v ^$ namespace inbox { mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Trash { special_use = \Trash } mailbox Sent { special_use = \Sent } } This is default config of dovecot 2.
signature.asc
Description: OpenPGP digital signature