As my spool gets inundated with junk, I run this command every day at 11:30 p.m. via a cron job. find /var/MailRoot/spool -depth -name *.MX2 -ctime 1 -delete
MX2 is the name of one of my xmail boxes so all files in the spool have it appended to the end of the filename by default. Works like a charm :) This actually looks at the current day plus 1 day so you'll always have files 2+ (but less than 3) days old in your spool. Checkout the man page on "find" to see the options for times (minutes, hours, etc...) Davide Libenzi wrote: > On Wed, 3 Oct 2007, Chad Fleenor wrote: > > >> has anyone else had a problem with Xmail resending old emails (months >> old) after a system reboot?? >> > > You call a filter. Filter timeouts. XMail tries to remove the spool file, > and fails. File remains inside the spool (but not in the in-memory queue). > Next time you restart XMail, it'll be picked up. > > > > - Davide > > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
