.procmailrc (version 6.01 !):
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 1999-2003 Mitel Networks Corporation
#------------------------------------------------------------
# ---------------------------------------
# Default Shell, Program & file locations
# ---------------------------------------
SHELL=/bin/bash
DEFAULT=$HOME/Maildir/
FORMAIL=/usr/bin/formail
MAILDIR=$HOME/Maildir/
PMDIR=$HOME
SENDMAIL=/usr/sbin/sendmail
# ------------
# some logging
# ------------
VERBOSE=no
LOGFILE=$HOME/procmail.log
# -------------------------------------------------------------------------
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to the junkmail folder
# Configured by SME-SpamFilter from sme.swerts-knudsen.dk
# -------------------------------------------------------------------------
:0
* ^.*X-Spam-Flag: YES
$MAILDIR/;junkmail/
# --------------------------
# all else goes to the inbox
# --------------------------
:0
$DEFAULT
Spamassassin doesn't learn when you move a mail yourself, you shoud use sa-learn for this.