Author Topic: IMAP Logging  (Read 3002 times)

Offline WestSideRick

  • Newbie
  • *
  • Posts: 2
IMAP Logging
« on: January 24, 2007, 02:34:17 PM »
Is there any way to create an IMAP log similar to the 'smtp_log'?

I just want a log of logins and logouts, the imap username, time, and IP address.

Any ideas?


Example:

Jan 24 14:18:10 mail.myhost.com imapd[3522]: [ID 960700 mail.info] Login user=johndoe host=eos.erienet.net [4.2.2.2]
Jan 24 14:18:15 mail.myhost.com imapd[3522]: [ID 960700 mail.info] Logout user=johndoe host=eos.erienet.net [4.2.2.2]
Jan 24 14:18:20 mail.myhost.com imapd[3522]: [ID 960700 mail.info] Login user=janedoe host=eos.erienet.net [55.2.2.2]
Jan 24 14:18:20 mail.myhost.com imapd[3522]: [ID 960700 mail.info] Logout user=janedoe host=eos.erienet.net [55.2.2.2]

-Rick