The diary and photos of Chris Beach. I'm into windsurfing, coding, badminton, drawing and composing music using computers and synths.

"The fact that a believer is happier than a skeptic is no more to the point than the fact that a drunken man is happier than a sober one" George Bernard Shaw


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]

[view more replies on journal entry server-side mail filtering using qmail/procmail/safecat under plesk]