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:
  + http://code.google.com/p/iredmail/
  + http://www.iredmail.org/forum/

Reply via email to