[Dovecot] Multiple Maildirs per Virtual User
Ruslan Nabioullin
rnabioullin at gmail.com
Tue Jan 3 19:33:31 EET 2012
On 01/03/2012 06:52 AM, Timo Sirainen wrote:
> On Sun, 2012-01-01 at 20:32 -0500, Ruslan Nabioullin wrote:
>> How would it be possible to configure dovecot (2.0.16) in such a way
>> that it would serve several maildirs (e.g., INBOX, INBOX.Drafts,
>> INBOX.Sent, forum_email, [Gmail].Trash, etc.) per virtual user?
>>
>> I am only able to specify a single maildir, but I want all maildirs in
>> /home/my-username/mail/account1/ to be served.
>
> Sounds like you want LAYOUT=fs rather than the default LAYOUT=maildir++.
> http://wiki2.dovecot.org/MailboxFormat/Maildir#Directory_Structure
>
>
I changed /etc/dovecot/passwd to:
my-username_account1:{PLAIN}password:my-username:my-group::::userdb_mail=maildir:/home/my-username/mail/account1:LAYOUT=fs
Dovecot creates {tmp,new,cur} dirs within account1 (the root),
apparently not recognizing the maildirs within the root (e.g.,
/home/my-username/mail/account1/INBOX/{tmp,new,cur}).
--
Ruslan Nabioullin
rnabioullin at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120103/2b7ca96e/attachment-0004.bin>
More information about the dovecot
mailing list