-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Said Jeremy Oddo on Wed, Sep 18, 2002 at 11:26:03AM -0700:

> Don't know if this is what you are after, but if you are using
> courier-imap, you can configure it to delete mail from specified
> folders.  Have a look at: /usr/lib/courier-imap/etc/imapd

If you are interested in doing it over the IMAP protocol, I have a
Python script at codesorcery.net.  

If on the filesystem, I don't see any reason why you couldn't do:

    find /path/to/Maildir -type f -mtime x | xargs rm -f

where 'x' is the number of days.  

I _think_ that will work :-)

- -- 
[!] Justin R. Miller <[EMAIL PROTECTED]>
    Encrypted email preferred (key 0xC9C40C31)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9iMmk94d6K8nEDDERAjWxAJ49gQ3sno1oN2TZsHv/OO4B4toawQCeIxbM
pLzlypqWoZr3x+xb1bygmC0=
=3Uk5
-----END PGP SIGNATURE-----

Reply via email to