[Dovecot] Best way to get login protocol (pop3/imap) in post-login script
2 Aug
2009
2 Aug
'09
5:36 a.m.
Hi, all.
I found doc here: http://wiki.dovecot.org/PostLoginScripting
and use ${USER}, ${IP} to track last-login username and remote ip
address, but how can i track the mail protocol it used? like pop3,
pop3s, imap, imaps?
Currently, i wrote shell script as post-login script, and use below
command to get protocol:
$(basename ${MAIL_PLUGIN_DIR})
But is it the best way to get it?
Thanks very much. :)
-- Best Regards.
Zhang Huangbin
- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux, CentOS, Debian, Ubuntu:
5593
Age (days ago)
5593
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhang Huangbin