commit f78ac025f87088afeb533fe7e5af106ac94c1412 parent 71cfbf3a477af1d64741ac664fd7337671b6f06e Author: Petar Yotsev <petar@yotsev.xyz> Date: Sat, 18 Jun 2022 02:14:10 +0300 Fix maildir structure For some reason location doesn't inherit the value of mail_location and causes the other mailboxes to be stored inside Inbox/.OtherBox Diffstat:
M | files/local.conf | | | 14 | ++++++-------- |
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/files/local.conf b/files/local.conf @@ -36,17 +36,17 @@ passdb { # mailbox # -mail_location = maildir:/var/vmail/%d/%n +mail_location = maildir:/var/vmail/%d/%n:INBOX=/var/vmail/%d/%n/Inbox:LAYOUT=fs namespace inbox { - type = private - separator = / - prefix = - location = /var/vmail/%d/%n/Inbox inbox = yes - hidden = no + type = private list = yes + hidden = no subscriptions = yes + separator = / + prefix = + location = maildir:/var/vmail/%d/%n:INBOX=/var/vmail/%d/%n/Inbox:LAYOUT=fs mailbox Archive { auto = subscribe @@ -70,8 +70,6 @@ namespace inbox { } } -mail_attachment_dir = /var/vmail/%d/%n/attachments - # # protocol settings #