[Dovecot] Master user

Emiliano Rago rago at lal.in2p3.fr
Tue Feb 28 21:04:23 EET 2012


On 02/28/2012 07:47 PM, Timo Sirainen wrote:
> On 28.2.2012, at 20.45, Emiliano Rago wrote:
>
>>> userdb {
>>>    args = uid=mailreader gid=mailreader allow_all_users=yes master_user=%u
>>>    driver = static
>>> }
>>
>> Thanks,
>> but nothing has changed.
>
> Set auth_debug=yes. What does it log when you login?

That's the log:

Feb 28 19:57:48 oneprivvm-239 dovecot: auth: Debug: client in: 
AUTH#0111#011PLAIN#011service=imap#011secured#011lip=127.0.0.1#011rip=127.0.0.1#011lport=143#011rport=60873#011resp=<hidden>
Feb 28 19:57:48 oneprivvm-239 dovecot: auth: Debug: 
auth(admin,127.0.0.1,master): Master user lookup for login: rago
Feb 28 19:57:48 oneprivvm-239 dovecot: auth: Debug: 
passwd-file(admin,127.0.0.1,master): lookup: user=admin 
file=/etc/dovecot/master-shared
Feb 28 19:57:48 oneprivvm-239 dovecot: auth: 
passdb(admin,127.0.0.1,master): Master user logging in as rago
Feb 28 19:57:48 oneprivvm-239 dovecot: auth: Debug: client out: 
OK#0111#011user=rago
Feb 28 19:57:48 oneprivvm-239 dovecot: auth: Debug: master in: 
REQUEST#0113607363585#0112591#0111#0114d6e591e980edb0fabccfa9c1cd4e198
Feb 28 19:57:48 oneprivvm-239 dovecot: auth: Debug: master out: 
USER#0113607363585#011rago#011uid=5000#011gid=5000#011home=/#011master_user=rago#011master_user=admin
Feb 28 19:57:48 oneprivvm-239 dovecot: imap-login: Login: user=<rago>, 
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2596, secured


Thanks for answering,
Emiliano



More information about the dovecot mailing list