Authcache and user changing

Lazy lazy404 at gmail.com
Tue Dec 30 14:37:10 UTC 2014


2014-12-30 15:04 GMT+01:00 Lazy <lazy404 at gmail.com>:
> 2014-12-29 12:47 GMT+01:00 Lazy <lazy404 at gmail.com>:
>> Hi,
>>
>>
>> I have noticed that during auth cache hits usernames are not updated.
>> (We use ldap backend
>> and change username with
>> user_attrs = uid=user, mailMessageStore=home,
>> mailQuotaSize=quota_rule=*:bytes=%$
>>
>> cold cache
>>
>> lmtp(14414): Debug: auth input: testmon_testmon
>> home=/vmail/te/testmon_testmon quota_rule=*:bytes=104857600
>> lmtp(14414): Debug: changed username to testmon_testmon
>> lmtp(14414): Debug: Added userdb setting: plugin/quota_rule=*:bytes=104857600
>>
>>
>> hot cache
>>
>> lmtp(14715): Debug: auth input: iqmon at mon.test.pl
>> home=/vmail/iq/testmon_testmon quota_rule=*:bytes=104857600
>> lmtp(14715): Debug: Added userdb setting: plugin/quota_rule=*:bytes=104857600
>
> auth replays are
>
>
> USER\t2\ttestmon_testmon\thome=/vmail/te/testmon_testmon\tquota_rule=*:bytes=104857600\n
> on a cache miss
>
> and
>
> USER\t3\ttestmon at mon.test.pl\thome=/vmail/te/testmon_testmon\tquota_rule=*:bytes=104857600\n
> with a cache hit
>
>
> without cache user is rewriten as expected, with cache it isn't

requests made by imap or pop3 are always rewriting the usernames

is it a bug or is it intentional ?

-- 
Michal Grzedzicki


More information about the dovecot mailing list