Archive Filter

Glenn Steen glenn.steen at gmail.com
Wed Feb 8 21:57:46 GMT 2006


On 08/02/06, Stephen Swaney <steve.swaney at fsl.com> wrote:
>
> > -----Original Message-----
> > From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> > bounces at lists.mailscanner.info] On Behalf Of Glenn Steen
> > Sent: Wednesday, February 08, 2006 3:44 PM
> > To: MailScanner discussion
> > Subject: Re: Archive Filter
> >
> > On 08/02/06, Alex Neuman van der Hans <alex at nkpanama.com> wrote:
> > >  True... you could set up a script that runs every so often and deletes
> > > messages with X-Spam-Status: yes or something like that... right?
> > >
> > Yeah, well... If one runs MailWatch one could use the nice things in
> > the maillog table to identify the "affected" messages... But the
> > "hairy" part is to script up the part that edits the mbox file(s) on
> > the fly (and safely), so to speak. Or perhaps there are some
> > not-that-invasive tool around that could help with that... Haven't
> > really looked for something like that.
> >
>
> http://search.cpan.org/~vparseval/Mail-MboxParser-0.55/MboxParser.pm
>
> I'm sure there are more Perl modules for working with mailboxes but this one
> look like it would do the heavy lifting.
>
> Steve
>
Seems to be only RO, so would perhaps not work... And there is the
problem of rewriting an mbox that is getting appended to (by MS). All
that would be simpler (as always:-) in a Maildir-ish environment... :)
In a life with more time....

--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list