Dave,
Well I'll try to explain a bit better.
You will need a program or script that can look at each users folder, store
that name (used later) and read the lastlog.in file date, and then do some
calculations to determine the age of the mailbox. If that is over 60d, then
it would call the adduser.exe (included with IMail or available from the web
site), which can be used to delete that user account (the folder name,
above). Those that are less than 60 days old would be left alone.
I'm not so sure that the date on the folder is really good for this use. It
could also mean that new mail was received on that date. The main.mbx file
date gets updated for every new message (or other operations), when they
come in (or get deleted). If the folder follows the same rule, it would not
be a good idea to use that date.
Yes, some versions of IMail, iin V5.0x, did not have the lastlog.in file,
but it has come back in 6.0x.
I'll pass the suggestion onward!
Happy Holidays!
Daniel Donnelly
________________________________________________________
----- Original Message -----
From: "dk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 1:12 PM
Subject: RE: [IMail Forum] Delete users by date
> > Dave,
> >
> > Not within IMail itself, but there may be a way.
>
>
>
>
> Might be a nice feature for next version.... Delete user by date.
>
>
> > Most versions of IMail leave a file in the users folder, lastlog.in,
>
> We have 5.05-- it does not show this file. But the folder
itself(account)is
> updated when the person logs in.
>
>
> > empty file, but whose date/time is updated when a user logs in (Check
your
> > account, using POP3, IMAP4 and Web MSG to see if it really does).
>
>
> > So if you
> > make something that searches the users folders, checks the files date,
if
> > older than 60 days, then call adduser.exe with parameters to delete the
> > account.
>
>
> Not clear what you mean here....
>
>
>
> Sincerely,
>
>
>
> David Kaleky
> www.FLORIDA.com
> Tel: 407-647-4445
> FAX: 408-907-5550
>
>
>
>
>
>
>
>
> >Adduser may not remove the folders, but when all done, use IMail
> > Admin and the Find Orphans and that can remove the no longer
> > needed folders.
>
> > Happy Holidays!
> >
> > Daniel Donnelly
> > ________________________________________________________
> >
> >
> > ----- Original Message -----
> > From: "dk" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, December 18, 2000 6:57 PM
> > Subject: [IMail Forum] Delete users by date
> >
> >
> > > Is there any way to delete accounts by date? WE have 1000's of
> > people who
> > > don't use their account but want to delete only for example all
accounts
> > not
> > > used for the past 60 days.
> > >
> > > dave
> > >
> > >
> > > PS- Come by http://florida.com for all your Florida needs!!
> > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > > to be removed from this list.
> > >
> > > An Archive of this list is available at:
> > > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> > >
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
> > An Archive of this list is available at:
> > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> >
> >
>
>
> PS- Come by http://florida.com for all your Florida needs!!
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/