[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'.
On Fri, 2011-10-07 at 11:43 -0700, mephistopheles@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/INBOX
Well, 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.
participants (2)
-
mephistophelesļ¼ operamail.com
-
Timo Sirainen