<html><head></head><body><div class="ydp77a1b709yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
<div><br></div><div dir="ltr" data-setdir="false"><span>Anyone know then last_login plugins do support standard auth variables in var-expand?like %k %a <span><span style="color: rgb(62, 67, 73); font-family: Roboto; font-size: 17px;">variables.</span></span></span><br></div><div dir="ltr" data-setdir="false"><span><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">I need logging other fields such as port 143 or 993, and tls 1.1 or tls 1.3, client hostname,</span></span><br></span></div><div dir="ltr" data-setdir="false"><span><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">any patch for this? thanks</span></span></span></div><div dir="ltr" data-setdir="false"><span><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span><span><a shape="rect" href="https://doc.dovecot.org/configuration_manual/config_file/config_variables/" style="color: rgb(25, 106, 212); text-decoration-line: underline; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;" rel="nofollow" target="_blank">https://doc.dovecot.org/configuration_manual/config_file/config_variables/</a></span><br></span></div>
</div><div id="yahoo_quoted_5249092813" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Henry (<hl1723@yahoo.com.hk>) 在 2021年2月19日星期五 下午12:15:10 [GMT+8] 寫道:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv6165266747"><div><div class="yiv6165266747ydpa8150e30yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div dir="ltr"><div><div dir="ltr" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">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 rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://doc.dovecot.org/configuration_manual/config_file/config_variables/" style="color:rgb(25, 106, 212);text-decoration-line:underline;">https://doc.dovecot.org/configuration_manual/config_file/config_variables/</a></div></div><br clear="none"></div><div><br clear="none"></div>
</div><div class="yiv6165266747yahoo_quoted" id="yiv6165266747yahoo_quoted_4106447742">
<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 clear="none"></div>
<div><br clear="none"></div>
<div class="yiv6165266747yqt1976354499" id="yiv6165266747yqt96227"><div><div dir="ltr"><div class="yiv6165266747yqt0865894171" id="yiv6165266747yqtfd89820"><br clear="none">> On 18/02/2021 08:57 Henry <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:hl1723@yahoo.com.hk" target="_blank" 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="yiv6165266747yqt0865894171" id="yiv6165266747yqtfd27728"><br clear="none"></div></div></div></div>
</div>
</div></div></div></div>
</div>
</div></body></html>