Re: howto list inactive users in cyrus:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
test server:

localhost> info user.morgan
{user.morgan}:
   condstore: false
   duplicatedeliver: false
   lastpop:
   lastupdate: 31-Oct-2008 14:27:57 -0700
   partition: default
   sharedseen: false
   size: 5277441

The lastupdate field corresponds with the last time the account received 
an email, not my last login (which was yesterday).

 	Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux