Tracking the last login date for a mailbox


SUMMARY

This article describes how to track the last login date for a user.

DETAIL

This information is only applicable to MailEnable when not using a database for configuration storage. The following registry key has to be created:

For 64bit servers:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mail Enable\Mail Enable\Providers\Authentication]
"Auth Track Events"=dword:00000001

For 32bit servers:

[HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Providers\Authentication]
"Auth Track Events"=dword:00000001

All MailEnable services need to be restarted after this registry change. Enabling this will write into the mailbox configuration file the following line:

Last-Login-System=timestamp

Where "timestamp" is the last login time, which is formatted as the number of seconds since January 1st, 1970.

The mailbox configuration file has the path:

Mail Enable\Config\Postoffices\[postoffice]\mailboxes\[mailbox].SYS

The value can be read using the option provider.

 



Product:MailEnable
Category:Other
Article:ME020509
Module:General
Keywords:auth,track,events
Class:HOWTO: Product Instructions
Revised:Wednesday, May 4, 2016
Author:
Publisher:MailEnable