On Tue, 2010-06-29 at 13:15 -0400, Curtis Maurand wrote:
> To remove all messages older than a certain date.  I have users that
> have not been good about deleting mail messages, or have been going
> through gmail to get messages and don't have gmail set to delete
> messages from the server.  Is there a set of queries I can use to
> purge old messages?

A quick trawl of the wiki revealed this[0] query. Alternatively, the
dbmail-export[1] command looks like it might fit the bill and save you
from having to get your hands dirty in the database too.

Regards,

Andy

[0] http://www.dbmail.org/dokuwiki/doku.php/dbmail_auto_delete
[1] http://linux.die.net/man/8/dbmail-export

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to