<html><head></head><body><div class="ydp5dc0412eyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
<div dir="ltr" data-setdir="false">oh! cannot see the last_login_key at logging</div><div><br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false"><div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Added userdb setting: plugin/quota_rule=*:backend=19922944S</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Effective uid=89, gid=89, home=/home/vpopmail/domains/2/6/x/testing.com/email</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Quota root: name=User quota backend=maildir args=</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Quota rule: root=User quota mailbox=* bytes=19922944 messages=0</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Quota grace: root=User quota bytes=1992294 (10%)</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Namespace inbox: type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir:INDEX=/home/vpopmail/domains/2/6/x/testing.com/email</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: maildir++: root=/home/vpopmail/domains/2/6/x/testing.com/email/Maildir, index=/home/vpopmail/domains/2/6/x/testing.com/email, indexpvt=, control=, inbox=/home/vpopmail/domains/2/6/x/testing.com/email/Maildir, alt=</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: quota: quota_over_flag check: quota_over_script unset - skipping</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Mailbox INBOX: Mailbox opened because: STATUS</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Mailbox INBOX: Mailbox opened because: SELECT</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Mailbox Drafts: Mailbox opened because: SELECT</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Mailbox Sent: Mailbox opened because: SELECT</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Mailbox Trash: Mailbox opened because: SELECT</div><div>Mar 3 17:57:10 cnt8-testing dovecot[650754]: imap(email@testing.com)<650774><yFPl3568ZIXfHfj4>: Debug: Mailbox 寄件備份: Mailbox opened because: SELECT</div><div><br></div></div><br></div><div><br></div>
</div><div id="yahoo_quoted_5637509780" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Aki Tuomi (<aki.tuomi@open-xchange.com>) 在 2021年3月3日星期三 下午05:51:55 [GMT+8] 寫道:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Can you enable `mail_debug=yes` and see what the last_login_key value is when imap session starts? It should show up on logs.<br clear="none"><br clear="none">Aki<br clear="none"><div class="yqt2618509496" id="yqtfd77787"><br clear="none">> On 03/03/2021 11:12 Henry <<a shape="rect" ymailto="mailto:hl1723@yahoo.com.hk" href="mailto:hl1723@yahoo.com.hk">hl1723@yahoo.com.hk</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> but when I remove the last_login_key at plugins, error log as below<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> Error: last_login_dict: Failed to write value: dict-server returned failure: sql dict set: Invalid/unmapped key: shared/last-login/<a shape="rect" ymailto="mailto:email@testing.com" href="mailto:email@testing.com">email@testing.com</a> (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))<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> Aki Tuomi (<<a shape="rect" ymailto="mailto:aki.tuomi@open-xchange.com" href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>>) 在 2021年3月3日星期三 下午04:23:20 [GMT+8] 寫道:<br clear="none">> <br clear="none">> <br clear="none">> Looks promising, can you try removing "plugin { last_login_key=.. }" from your configuration file completely and see if it works then?<br clear="none">> <br clear="none">> Aki<br clear="none">> <br clear="none">> <br clear="none">> > On 03/03/2021 10:17 Henry <<a shape="rect" ymailto="mailto:hl1723@yahoo.com.hk" href="mailto:hl1723@yahoo.com.hk">hl1723@yahoo.com.hk</a>> wrote:<br clear="none">> > <br clear="none">> > <br clear="none">> > Dear Aki<br clear="none">> > <br clear="none">> > <br clear="none">> > Below for output, it is normal?<br clear="none">> > <br clear="none">> > [<a shape="rect" ymailto="mailto:root@cnt8-testing" href="mailto:root@cnt8-testing">root@cnt8-testing</a> dovecot]# doveadm user <a shape="rect" ymailto="mailto:email@testing.com" href="mailto:email@testing.com">email@testing.com</a><br clear="none">> > <br clear="none">> > doveadm user <a shape="rect" ymailto="mailto:email@testing.com" href="mailto:email@testing.com">email@testing.com</a><br clear="none">> > field value<br clear="none">> > uid 89<br clear="none">> > gid 89<br clear="none">> > home /home/vpopmail/domains/2/6/x/testing.com/email<br clear="none">> > mail maildir:~/Maildir:INDEX=/home/vpopmail/domains/2/6/x/testing.com/email<br clear="none">> > quota_rule *:bytes=19922944<br clear="none">> > last_login_key last-login/<a shape="rect" ymailto="mailto:email@testing.com" href="mailto:email@testing.com">email@testing.com</a>/testing.com///0<br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > <br clear="none">> > Aki Tuomi (<<a shape="rect" ymailto="mailto:aki.tuomi@open-xchange.com" href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>>) 在 2021年3月2日星期二 下午10:47:39 [GMT+8] 寫道:<br clear="none">> > <br clear="none">> > <br clear="none">> > Did you try <br clear="none">> > <br clear="none">> > doveadm user account<br clear="none">> > <br clear="none">> > to see that last_login_key appears in output in correct form?<br clear="none">> > <br clear="none">> > Aki<br clear="none">> > <br clear="none">> > <br clear="none">> > On March 2, 2021 2:44:43 PM UTC, Henry <<a shape="rect" ymailto="mailto:hl1723@yahoo.com.hk" href="mailto:hl1723@yahoo.com.hk">hl1723@yahoo.com.hk</a>> wrote:<br clear="none">> > > Dear Aki,<br clear="none">> > > <br clear="none">> > > I try it as your recommend but still no luck, same error<br clear="none">> > > <br clear="none">> > > Error: Failed to expand plugin setting last_login_key = 'last-login/%u/%d/%r/%l/%a': Unknown variable '%a'<br clear="none">> > > <br clear="none">> > > If I remark #last_login_key = last-login/%u/%d/%r/%l/%a at plugin , error as below<br clear="none">> > > <br clear="none">> > > Error: last_login_dict: Failed to write value: dict-server returned failure: sql dict set: Invalid/unmapped key: shared/last-login/<br clear="none">> > > <br clear="none">> > ><br clear="none"></div></div></div>
</div>
</div></body></html>