LastLogin Utility version 1.0.1
Copyright 2004 - Ipswitch, Inc.

Files:
lastlogin.exe
readme.txt

Summary:
LastLogin is a command-line utility which when run from the IMail server will report the last login time for each user on each host in the system.

Syntax:
>lastlogin
OR
>lastlogin > %path%

If no path is specified, LastLogin will print the results to STDOUT.  If specified, %path% should be a full path to a filename and must include a drive letter.  (C:\IMail\lastlogin.txt, for example.)  LastLogin will create the file for you if does not already exist, but cannot create the path.  If the path name contains spaces, enclose the entire path in double quotes (").

Arguments:
none

Usage:
The output printed by lastlogin will be:

OfficialHostName\userID Reg:MM/DD/YY HH:MM:SS File:MM/DD/YY HH:MM:SS

Timestamps are in 24-hour format.

'Reg:' will be the last time a user accessed their email account via Web Messaging.  'File:' will be the last time a user accessed their account via POP3 or IMAP4.

---
Should no login data for the user be present, the following will be returned:

OfficialHostName\userID No Login data found
---
If a user has a forward enabled for their account, "** Forward Found **" will appear at the end of the login information.
---

Version History
-----
1.0.1 - Corrected a defect that could cause timestamps obtained from registry information to be off by one month.

