On 29/02/2024 17.08, Serg wrote:

On 2/29/24 15:54, Andreas via dovecot wrote:
Thanks! Can you say where the mapping from the user part in "From" addresses to actual mail(sub)dir goes after switching to LMTP?

Currently, I've got a `virtual_mailbox_maps` in Postfix main.cf for this purpose. Is there something similar in Dovecot?

It looks similar to this:
# If you don't have any user-specific settings, you can avoid the user_query
# by using userdb static instead of userdb sql, for example:
# <doc/wiki/UserDatabase.Static.txt>
userdb {
  driver = static
  args = uid=vmail gid=vmail home=/var/vmail/%u
}

And then:
mail_location = maildir:~/.maildir

Thanks. I've had something like this already for the "shared filesystem" config. But how do I do an actual mapping from u...@domain.tld to maildir names and possibly submaildirs?

Let me show an example `virtual_mailbox_maps`:

 j...@smith.name joe.smith/         # two normal users
 j...@smith.name jane.smith/
 t...@smith.name joe.smith/.test/  # submaildir of first user
 @smith.name joe.smith/.catchall/  # catchall goes to submaildir too

In this example, there are only two IMAP accounts:

 joe.smith
 jane.smith

No IMAP account for "test" and none for the catchall.

How do I configure this in Dovecot? I assume the mapping can't stay with Postfix if I migrate to LMTP – is that correct?
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to