Deliver to different namespace with address detail

Tobia Grosselle [ Terralink ] tobia.grosselle at terralink.it
Thu Jan 21 13:37:15 EET 2021


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>


More information about the dovecot mailing list