I dont want to automatically delete the spam coming to my inbox but at the same time I dont want to wade through it to find the ham. Also when I check my mail on a mobil device downloading all those spam Subject: headers takes a while.
I found a great howto on using procmail to route the spam to an IMAP folder so it can be viewed later.
Note that the part about installing safecat is irrelevant if you have procmail >= 3.14.
http://www.chrisbeach.co.uk/view/tech/m ... nder_plesk
The procmail script could even be modified to trigger on a certain spam level.
here is the .procmailrc code without safecat:
Code:
MAILDIR=/var/qmail/mailnames/xxx/yyy/Maildir
DEFAULT=${MAILDIR}/
SPAMDIR=${MAILDIR}/.Junk/
LOGFILE=${MAILDIR}/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME} "
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to the designated spam folder
:0
* ^X-Spam-Status: Yes.*
${SPAMDIR}