On Wed, Feb 26, 2003 at 02:47:06PM +0100, Szabo Nandor wrote: > Helo! > > I would like to delete inactive (not used, not checked) mail accounts and > mail boxes. > > 1. Want to filter users, who who hadn't checked e-mails via POP3, IMAP or > webmail. > 2. few months (weeks) after the latest access, set the AccountStatus > attribute to "deleted" and set the AccountPurge attribute > 3. Deleting accounts and mailboxes periodically (from cron). > > But how can I determine, whether the users check via POP3, IMAP or Webmail. > > Any idea???
You can periodically check the access time of the messages in cur/ or new/ like -atime (or -ctime?) with find. kz
