On Sat, 1 Jul 2006, LDB wrote: > Right now, I have a promailrc script, > > LOGFILE=/var/log/procmail.log > LOGABSTRACT=all > VERBOSE=yes > > SENDER=$1 > SHIFT=1 > > # Until now, mail is untagged, you may add rules for > # mail that must not be tagged > > :0 hbfw > | /usr/bin/spamc > > # Now mail is tagged by spamassassin > # You may insert other rules here
# send spam to /dev/null :0 * ^X-Spam-Flag: YES /dev/null but it would be wise, to use "/tmp/spam-inbox" instead of "/dev/null" until you can ensure, all works fine! > :0 > | /usr/sbin/sendmail -i -f "$SENDER" -- "$@" > regards, Matthias