email account question ?

Hi

been asked before but could not find an answer how to achieve what i want to do.

Is there a way to delete all messages in all email accounts from spam/trash/inbox etc either with just a command or set to remove every 30 days.

thank you

Check out this thread:
http://interworx.com/forums/showthread.php?t=2184

Im using cleanup-maildir (http://svn.houseofnate.net/unix-tools/trunk/cleanup-maildir) that was suggested in that thread and its working great. I have cron run once a day that deletes messages over 7 days old from the spam folder.

will have a look at that one, thank you