last login plugins

Aki Tuomi aki.tuomi at open-xchange.com
Wed Mar 3 10:23:14 EET 2021


Looks promising, can you try removing "plugin { last_login_key=.. }" from your configuration file completely and see if it works then?

Aki

> On 03/03/2021 10:17 Henry <hl1723 at yahoo.com.hk> wrote:
> 
> 
> Dear Aki
> 
> 
> Below for output, it is normal?
> 
> [root at cnt8-testing dovecot]# doveadm user email at testing.com
> 
> doveadm user email at testing.com
> field value
> uid 89
> gid 89
> home /home/vpopmail/domains/2/6/x/testing.com/email
> mail maildir:~/Maildir:INDEX=/home/vpopmail/domains/2/6/x/testing.com/email
> quota_rule *:bytes=19922944
> last_login_key last-login/email at testing.com/testing.com///0
> 
> 
> 
> 
> 
> Aki Tuomi (<aki.tuomi at open-xchange.com>) 在 2021年3月2日星期二 下午10:47:39 [GMT+8] 寫道:
> 
> 
> Did you try 
> 
> doveadm user account
> 
> to see that last_login_key appears in output in correct form?
> 
> Aki
> 
> 
> On March 2, 2021 2:44:43 PM UTC, Henry <hl1723 at yahoo.com.hk> wrote:
> > Dear Aki,
> > 
> > I try it as your recommend but still no luck, same error
> > 
> > Error: Failed to expand plugin setting last_login_key = 'last-login/%u/%d/%r/%l/%a': Unknown variable '%a'
> > 
> > If I remark #last_login_key = last-login/%u/%d/%r/%l/%a at plugin , error as below
> > 
> > Error: last_login_dict: Failed to write value: dict-server returned failure: sql dict set: Invalid/unmapped key: shared/last-login/
> > 
> >


More information about the dovecot mailing list