Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail pruning

Status
Not open for further replies.

ggggus

Programmer
Jul 5, 2003
114
I've got sendmail, procmail and spamassasin all configured, and spam is currently being sent to a spam folder. I would like to keep, say the last 15 days worth of spam around. Just in case something got flagged, and any user on the server wanted to retrieve it.

Is there a way to set up auto pruning on the spam file so that it doesn't get bloated? To keep maybe the last 15 days, or lat 100 emails?

***************************************
J. Jacobs
 
Why don't you right a small shell(or better perl) script to do it?


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top