DEFAULT="$HOME/Maildir/" SCANNER=/usr/local/bin/scanvirus.pl LOGFILE=$HOME/.procmailog MAILDIR=$HOME/Maildir/ :0fw: spamassassin.lock * < 256000 | spamassassin # Mails with a score of 15 or higher are almost certainly spam (with 0.05% # false positives according to rules/STATISTICS.txt). Let's put them in a # different mbox. (This one is optional.) :0: * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* almost-certainly-spam # All mail tagged as spam (eg. with a score higher than the set threshold) # is moved to "probably-spam". #:0: #* ^X-Spam-Status: Yes #probably-spam # Work around procmail bug: any output on stderr will cause the "F" in "From" # to be dropped. This will re-add it. :0 * ^^rom[ ] { LOG="*** Dropped F off From_ header! Fixing up. " :0 fhw | sed -e '1s/^/F/' } #:0 #* ^Content-Type.*(application|multipart) #{ # :0 HB # * !? ${SCANNER} 1 # /dev/null #} #INCLUDERC=/etc/rc.virus :0B * ^FROM_MAILER * L7IthuqUttkbaI5toW/Ma9cREwXJr2bGKxWUSLB1PIIaS01RbFxQRCXoVDbDEpq4Y /dev/null