<html><head></head><body><div class="ydpa8150e30yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false"><div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;" data-setdir="false">but I need logging other fields such as port 143 or 993, and tls 1.1 or tls 1.3, client hostname, <span>what should I do it ?</span></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br clear="none"></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><a shape="rect" href="https://doc.dovecot.org/configuration_manual/config_file/config_variables/" style="color: rgb(25, 106, 212); text-decoration-line: underline;" rel="nofollow" target="_blank">https://doc.dovecot.org/configuration_manual/config_file/config_variables/</a></div></div><br></div><div><br></div>
</div><div id="yahoo_quoted_4106447742" 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年2月18日星期四 下午03:04:10 [GMT+8] 寫道:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr"><div class="yqt0865894171" id="yqtfd89820"><br clear="none">> On 18/02/2021 08:57 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">> <br clear="none">> <br clear="none">> Anyone kwon the last-login plugins can using Authentication variables such as %m mechanism, %a local_port .<br clear="none">> we want to record this in DB, thanks</div><br clear="none"><br clear="none">You can use this syntax to add further fields for last_login plugin.<br clear="none"><br clear="none"> map {<br clear="none"> pattern = shared/last-login/$user/$domain<br clear="none"> table = last_login<br clear="none"> value_field = last_login<br clear="none"> value_type = uint<br clear="none"><br clear="none"> fields {<br clear="none"> username = $user<br clear="none"> domain = $domain<br clear="none"> rip = $rip<br clear="none"> }<br clear="none">} <br clear="none"><br clear="none">Aki<div class="yqt0865894171" id="yqtfd27728"><br clear="none"></div></div></div>
</div>
</div></body></html>