Utility to delete old mail messages

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Mon Feb 21 23:39:40 UTC 2005


Hello,
Anyone knows any utility to delete old mail messages by connecting to IMAP (or 
POP) server and delete the messages there ?
So for example I can specify: "Delete messages older than Jan 1, 2005", or 
"Delete messages between Aug 1, 2004 and Dec 21, 2005", etc.

I know about procmail, mailflter, mboxgrep but it does not seem natural to me 
to use procmail-like or regex-like language to specify dates. Well, quite 
honestly I'm not sure how to do what I want with those utilities, if possible 
<grin>. So if someone has example for that, that'd be great too.

Thanks 
RDB
-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennesse, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ 
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ 
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------




More information about the redhat-list mailing list