but when I remove the last_login_key at plugins, error log as below
Error: last_login_dict: Failed to write value: dict-server returned failure: sql
dict set: Invalid/unmapped key: shared/last-login/email at testing.com (reply
took 0.006 secs (0.000 in dict wait, 0.002 in other ioloops, 0.001 in locks,
async-id reply 0.000 secs ago, started on dict-server 0.000 secs ago, took 0.000
secs))
Aki Tuomi (<aki.tuomi at open-xchange.com>) ? 2021?3?3???? ??04:23:20
[GMT+8] ???
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/
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dovecot.org/pipermail/dovecot/attachments/20210303/a3fccadc/attachment-0001.html>