mephistopheles at operamail.com
2011-Oct-07 18:43 UTC
[Dovecot] Syntax to specify sdbox: mail_location path?
I'm implementing sdbox. In conf.d/10-mail.conf, with "maildir:" mail_location = maildir:/my_mailbox_path/%d/%n mail gets stored in /my_mailbox_path/%d/%n/new/ With "sdbox:" mail_location = sdbox:/my_mailbox_path/%d/%n mail gets stored in /my_mailbox_path/%d/%n/mailboxes/INBOX/dbox-Mails. How do I get rid of the '/mailboxes/' and '/dbox-Mails/' path components so sdbox stores in: /my_mailbox_path/%d/%n/INBOX @ wiki2.dovecot.org/MailboxFormat/dbox#Alternate_storage points out that 'ALT=' can change the *lookup* location, and messages can be *moved* to ALT storage using 'doveadm altmove'. Unclear what TAGS are available/used for 'sdbox'.
Timo Sirainen
2011-Oct-18 14:49 UTC
[Dovecot] Syntax to specify sdbox: mail_location path?
On Fri, 2011-10-07 at 11:43 -0700, mephistopheles at operamail.com wrote:> With "sdbox:" > > mail_location = sdbox:/my_mailbox_path/%d/%n > > mail gets stored in /my_mailbox_path/%d/%n/mailboxes/INBOX/dbox-Mails. > > How do I get rid of the '/mailboxes/' and '/dbox-Mails/' path components > so sdbox stores in: > > /my_mailbox_path/%d/%n/INBOXWell, there are a few settings so you could make it work that way, but why do you want to do that? There's a reason why those extra directory components were added, you shouldn't remove them.