comment on journal entry: Server-side mail filtering using qmail/procmail/safecat under Plesk
:-
No need to use safecat anymore
Procmail newer as 3.14 is able to deliver to Maildirs as well:
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} [saper] [reply]

