Another possibility: http://wiki2.dovecot.org/PostLoginScripting
and set MASTER_USER environment. On Fri, 2012-01-06 at 13:55 +0100, Alexis Lelion wrote: > Thanks Timo. > I'm actually using a packaged version of Dovecot 2.0 from Debian, so I > can't apply the patch easily right now. > I'll try do build dovecot this weekend and see if it solves the issue. > > Cheers > > Alexis > > On Fri, Jan 6, 2012 at 1:30 PM, Timo Sirainen <t...@iki.fi> wrote: > > > On Fri, 2012-01-06 at 13:22 +0100, Alexis Lelion wrote: > > > > > 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 > > > > I thought it would have been the other way around.. See if > > http://hg.dovecot.org/dovecot-2.0/raw-rev/684381041dc4 helps? > > > > > Is there any other flag I can set to avoid this? (Something like Y for > > the > > > password)? > > > > Nope. > > > > > >