On 23/02/2025 13:05 EET sveyret--- via dovecot <dovecot@dovecot.org> wrote:
Hi, I’m using Dovecot 2.3.21.1. I have mailboxes for the family members and some shared mailboxes, all of them available with IMAP protocol. Users are authenticating using PAM, and shared mailboxes appear as sub-folders of user accounts. Because it is easier to use with some clients, I’m looking for a way to use the shared mailboxes as independent accounts. This would mean that, on a client, I would like to create an account to access to
family@mydomain
, but using my own username and password. I thought of a way to do this by tricking the password, setting it, for example, tomyname+mysecretpassword
, then split it in dovecot configuration in order to override the username and password. But not only didn’t I found a way to split the string, but also, if I understand correctly, setting another user to PAM module will override the name of the mailbox I want to open. What would you suggest me to do in order to get this desired behavior? Thank you.
You probably are looking for 'master user' authentication. See https://doc.dovecot.org/2.3/configuration_manual/authentication/master_users...
Aki