View Single Post
  #9  
Old 17th January 2008, 20:49
grafzahl grafzahl is offline
Junior Member
 
Join Date: Jan 2008
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hello,

unfortunately there are no tmpwatch rpm for SuSe Linux and tmpwatch sources are hard to find.

My way for SuSe 10.1 is to replace
Code:
tmpwatch -m $HOURS $user/Maildir/.Junk/{cur,new}
with
Code:
find $user/Maildir/.Spam/cur -mtime +30 -exec rm {} \;
find $user/Maildir/.Spam/new -mtime +30 -exec rm {} \;
The "+30" in code mean 30 days. So you donīt need variable HOURS.

Greets from Germany
Grafzahl
Reply With Quote