oh, wait, you might want to disregard my code snippet, i misunderstood the
request. I thought he wanted to delete the whole mailbox, not scan the
mailbox and delete the MESSAGES INSIDE older than 30 days.

-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                       Network Administrator/Engineer
[EMAIL PROTECTED]       Intergrafix Internet Services

    "Dream as if you'll live forever, live as if you'll die today"
http://www.asteroid-b612.org                http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Thu, 28 Jun 2001, Michael D. Sofka wrote:

> I use:
> 
> ftp://ftp.rpi.edu/campus/rpi/mail/preenmail/1.0/distrib/src/
> 
> (You may have to specify the componants in separate ftp lines.
> In qhich case:
> 
> ftp://ftp.rpi.edu/campus/rpi/mail/preenmail/1.0/distrib/src/preenmail.pl
> ftp://ftp.rpi.edu/campus/rpi/mail/preenmail/1.0/distrib/src/preenstats.pl
> ftp://ftp.rpi.edu/campus/rpi/mail/preenmail/1.0/distrib/src/lockmbox.pl
> ftp://ftp.rpi.edu/campus/rpi/mail/preenmail/1.0/distrib/src/README
> 
> It depends on if your ftp client makes call backs.)
> 
> It will need adjustment and testing for your site.  Particularly, make
> sure you local delivery agent honors the locking mechanism.
> 
> Mike
> 
> ,At 12:11 AM 6/28/2001 -0400, Daniel Senie wrote:
> >I'd like to find some tools to go through mailboxes (mbox format, in 
> >/var/spool/mail) and delete anything that's been read, and which is more 
> >than 30 days old. I've got some users who just won't set the "delete from 
> >server" switch, and it's time to take action. I really don't want to do 
> >quotas enforcement at this point, though.
> >
> >Anyone know of tools to do this? I'd love it if Qpopper had an option for 
> >this and would just perform the trim while it was doing its processing, but 
> >the only switch I find there is auto-delete.
> >
> >An alternative would be to add auto-delete on a per-user basis, targetting 
> >the abusive users only.
> >
> >Any thoughts or pointers to tools would be greatly appreciated.
> >
> >Dan
> >-----------------------------------------------------------------
> >Daniel Senie                                        [EMAIL PROTECTED]
> >Amaranth Networks Inc.                    http://www.amaranth.com
> 
> --
> Michael D. Sofka                       [EMAIL PROTECTED]
> CIS/SSS Sr. Systems Programmer  email, webmail, listproc, TeX, epistemology.
> Rensselaer Polytechnic Institute, Troy, NY.    http://www.rpi.edu/~sofkam/
> 
> 

Reply via email to