howto list inactive users in cyrus:
morgan at orst.edu
Fri Dec 19 12:06:58 EST 2008
On Fri, 19 Dec 2008, Joar Jegleim wrote:
> is there any way to easily list 'last login' for users with cyradm ?
> I got over 1000 accounts and want to find out if there are any inactive
> accounts as in "haven't logged on" for like 6 months or so' .
> ">cyradm info some.mailbox" gives me the info I'm looking for
> (basically), but I'm having trouble with howto script this command and
> sort it, is there any written perl script for this out there ?
> Or mabye there are other ways to get what I want ?
Are you sure the is the information you need? Here is what I see on a
localhost> info user.morgan
lastupdate: 31-Oct-2008 14:27:57 -0700
The lastupdate field corresponds with the last time the account received
an email, not my last login (which was yesterday).
More information about the Info-cyrus