You can also do it with

After poking around, found that you can also configure

plugin {

 acl_user = %u

}

to make it use the correct username. This way the master_user is preserved.

Aki

On 9.4.2019 10.55, Alessio Cecchi via dovecot wrote:

Hi,

you can do it via post-login script as explained in https://wiki.dovecot.org/Authentication/MasterUsers

I have a post login script similar to:

#!/bin/bash
export USERNAME=${USER%@*}
export DOMAIN=${USER#*@}
exec "$@"

and works fine.

Ciao

Il 09/04/19 09:46, Ludwig Wieland via dovecot ha scritto:
Thank you,

How and where ?


I configured only this:
cat /Library/Server/Mail/Data/shared/shared-mailboxes 
* user=masteruser lr


masteruser is ok for all masters (mailmaster) ?

Luda

Am 09.04.2019 um 09:33 schrieb Aki Tuomi <aki.tuomi@open-xchange.com>:

Hi!

You need to grant the master user rights in your ACL file.

Aki

-- 
Alessio Cecchi
Postmaster @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice