I know it's not directly related to Spamassassin, but you folks are quite
smart, so I thought I would see if you can see why my bash script doesn't
seem to be cleaning out my spam. The goal is to periodically clean out any
messages that are older than 7 days. Here it is.
#!/bin/sh
cd /home
for i in */Maildir/.Spam ; do
find $i/{new,cur} -type f -mtime +7
done | xargs -l -i rm -f
The find part seems to ID all the older messages, but xargs doesn't seem to
be removing them. Any ideas? Or a better approach?
David