Tobia Grosselle [ Terralink ]
2021-Jan-21 11:37 UTC
Deliver to different namespace with address detail
Hello, with this settings: Dovecot 2.3.7.2 (3c910f64b) namespace { list = yes type = private inbox = yes prefix = INBOX/ separator = / } namespace Archive { list = yes type = private inbox = no prefix = Archive/ separator = / mailbox Incoming { auto = create } } lmtp_save_to_detail_mailbox = yes recipient_delimiter = + userdb_query = SELECT accounts.username AS user, accounts.home AS home, CONCAT('mdbox:', accounts.home, '/mdbox') AS mail, CONCAT('mdbox:', accounts.home, '/archive') AS 'namespace/Archive/location', 'vmail' AS uid, 'vmail' as gid FROM accounts WHERE accounts.username = '%u' it is possible to deliver an email to Archive namespace instead of inbox with address detail (email+Archive/Incoming at domain)? If i try i see that the lmtp service search the path from the inbox namespace (so INBOX/Archive/Incoming). Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20210121/74d3df28/attachment.html>
On 21 Jan 2021, at 04:37, Tobia Grosselle [ Terralink ] <tobia.grosselle at terralink.it> wrote:> Dovecot 2.3.7.2 (3c910f64b) > > namespace { > > list = yes > type = private > inbox = yes > prefix = INBOX/ > separator = / > > } > > namespace Archive { > > list = yes > type = private > inbox = no > prefix = Archive/ > separator = / > > mailbox Incoming { > auto = create > } > }This is what I have: namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { autoexpunge = 14 days auto = subscribe special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Trash { autoexpunge = 31 days special_use = \Trash } mailbox Archive { auto = subscribe special_use = \Archive } prefix = } Note that all the special_use mailboxes are under the main unlabeled namespace. Does that make a difference?> it is possible to deliver an email to Archive namespace instead of inbox with address detail (email+Archive/Incoming at domain)?It is possible for me to deliver mail to archived via, for example, kremels+Archive at kreme.com, yes. I have some alias emails on my admin accounts that deliver to +Archive (cron) and some to +Junk (web verification garbage that I only need for a minute at most).> If i try i see that the lmtp service search the path from the inbox namespace (so INBOX/Archive/Incoming).-- 7-Up? What happened to Ups 1-6?