[Dovecot] Upgrading from 2.0.1 to 2.0.3

Jerrale G jerralegayle at sheltoncomputers.com
Fri Sep 24 02:41:19 EEST 2010


  What has changed in 2.0.3 to make dovecot start storing the inbox in a 
"com" subdirectory of "user at domain"directory in the inbox folder? I am 
guessing I need to add ":INBOX=/home/mail/%d/%n/mail/" to:
mail_location = 
maildir:/home/mail/%d/%n/mail:CONTROL=/home/mail/control/%d/%n:INDEX=/home/mail/index/%d/%n

The inbox was never defined as it automatically put the messages in 
either "cur" or "new" subdirectories of the "maildir" definition. 
Because it automatically used subdirectories, it was not a problem for 
it to use the "maildir" as both the Inbox directory and the directory to 
hold the other directories created by the user; so, I never defined the 
inbox.

The mysql query is:

user_query = SELECT CONCAT('/home/mail/', mailboxes.domain, '/', 
mailboxes.username, '/') AS home, CONCAT('/home/mail/', 
mailboxes.domain, '/', mailboxes.username, '/sieve/', 
mailboxes.username, '.sieve') as sieve, CONCAT('/home/mail/', 
mailboxes.domain, '/', mailboxes.username, '/sieve/') as sieve_dir, 
CONCAT('/home/mail/', mailboxes.domain, '/', mailboxes.username, 
'/mail/') AS maildir, 600 AS uid, 600 AS gid, CONCAT('*:storage=', 
ROUND(mailboxes.quota/1200), 'M') AS quota_rule, 'Trash:ignore' AS 
quota_rule2 FROM mail.mailboxes WHERE username = '%n' AND domain = '%d' 
AND active = '1'

iterate_query = SELECT concat(mailboxes.username, '@', mailboxes.domain) 
AS user, CONCAT('/home/mail/', mailboxes.domain, '/', 
mailboxes.username, '/') AS  home, CONCAT('/home/mail/', 
mailboxes.domain, '/', mailboxes.username, '/mail/') AS maildir FROM 
mail.mailboxes


I was looking at another thread and saw where the names of dovecot 
fields, such as "userdb_maildir", have been prefixed with userdb to 
equal "userdb_maildir". Please Let me know of any changes, or additions, 
I need to do above. As said,  I'm guessing I need to just add 
":INBOX=/home/maill/%d/%n/mail/" to dovecot.conf or add ", 
CONCAT('/home/mail', mailboxes.domain, '/', mailboxex.username, 
'/mail/') AS INBOX" to the mysql query.

Am I correct?


Thanks
Jerrale G.
SC Senior Admin


More information about the dovecot mailing list