Authcache and user changing

Lazy lazy404 at gmail.com
Mon Dec 29 11:47:32 UTC 2014


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

this kills our dictionary based quota (users have multiple quota
instances depending on
timing and alias the email was delivered to.

Is there a way to force addition of user to the auth cache ?

-- 
Michal Grzedzicki


More information about the dovecot mailing list