For deleting mails by time stamp in a directory. cd into directory.
python
>>>


import os, time

path = r"c:\tmp"
now = time.time()
for f in os.listdir(path):
if os.stat(f).st_mtime < now - 2 * 86400:
if os.path.isfile(f):
os.remove(os.path.join(path, f))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20110317/3415a44b/attachment.html>