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

"Man created God in his image : intolerant, sexist, homophobic and violent." Marie


comment on journal entry: Server-side mail filtering using qmail/procmail/safecat under Plesk

:

  • worked for me
    Hi,
    I've used saper's way and it worked.
    Here's my .procmailrc file:

    MAILDIR=/var/qmail/mailnames/domain.ro/cristi/Maildir
    DEFAULT=${MAILDIR}/
    SPAMDIR=${MAILDIR}/.Spam/
    TRASHDIR=${MAILDIR}/.Trash/
    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}

    I've created the logfile, chown to vpopuser:vpopuser, and the lof should look like this:

    --- Logging /var/qmail/mailnames/domain.ro/cristi/Maildir/procmail.log for popuser From publicitate@domain.ro Thu Dec 31 16:42:10 2009
    Subject: ****SPAM**** HIGH * Visitor publicitate's personal 80% OFF
    Folder: /var/qmail/mailnames/domain.ro/cristi/Maildir/.Spam/new/126 4300
    .
    --
    Thank you! [Cristi] [reply]

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