Hi Timo,
Thanks for your prompt answer, I wasn't expecting an answer that soon ;-) I just tried your workaround, and actually, master_user is properly set to the username, but then is overriden with the proxy login again :
Jan 6 13:14:19 mail01 dovecot: imap: Debug: Added userdb setting: mail=maildir:/var/vmail/domain/user Jan 6 13:14:19 mail01 dovecot: imap: Debug: Added userdb setting: plugin/quota=dirsize:storage=0 Jan 6 13:14:19 mail01 dovecot: imap: Debug: Added userdb setting: plugin/master_user=user Jan 6 13:14:19 mail01 dovecot: imap: Debug: Added userdb setting: plugin/master_user=proxy
Is there any other flag I can set to avoid this? (Something like Y for the password)?
Alexis
On Fri, Jan 6, 2012 at 12:48 PM, Timo Sirainen tss@iki.fi wrote:
On Fri, 2012-01-06 at 12:36 +0100, Alexis Lelion wrote:
The thing is that when the ACLs are checked, it actually doesn't give the user login, but the master login, which is useless.
Yes, this is intentional.
Is there a way to use the first part of destuser as it is done when fetching info from the userdb?
You should be able to work around this with modifying userdb's query:
user_query = select '%n' AS master_user, ...