Hi,
I have read elsewhere that the Maildir shouldn’t be at the home. But that’s how it worked for me since the start.
I wonder if I could either change the location of these .dovecot.lda-dupes, or if I could change home without having to move the mailboxes of all the users.
Today I have this:
On my dovecot-sql.conf.ext:
iterate_query = SELECT username AS user FROM mailbox
user_query = SELECT CONCAT('/var/mail/vmail/',maildir) AS home, 
CONCAT('maildir:/var/mail/vmail/',maildir,':INDEX=/var/vmail-index/index/%d/%n:CONTROL=/var/vmail-index/control/%d/%n') AS mail, 
5000 AS uid, 5000 AS gid, CONCAT('*:bytes=',quota) AS quota_rule 
FROM mailbox WHERE username = '%u' AND active = 1
password_query = SELECT username AS user,password FROM mailbox 
WHERE username = '%u' AND active=‘1'
On my 10-mail.conf
mail_location = maildir:/var/mail/vmail/%d/%n:INDEX=/var/vmail-index/index/%d/%n:CONTROL=/var/vmail-index/control/%d/%n
If I add Maildir to the mail_location and to the mail user_query, will I have to move mailboxes, or the only thing I have to do is to add “Maildir” when I use %h/%%h?
Best,
Francis
participants (1)
- 
                
                Francis Augusto Medeiros-Logeay