Warning: Use of undefined constant ENABLE_CACHE - assumed 'ENABLE_CACHE' (this will throw an Error in a future version of PHP) in /home/public/wp-config.php on line 24
spam.rc « carlos-m.net

spam.rc

[code]
# spam.rc
# -ifile: http://www.nongnu.org/ifile/
# in addition, I use Martin Macok’s scripts for using ifile with procmail
# – http://xtrmntr.org/ORBman/ifile.procmail.html

# directories used
BINDIR=$HOME/usr/bin

# programs used
KSH=$BINDIR/ksh

# Insert ifile header info
# if you don’t want to learn from new messages, use ifile.inject.header
:0 fBw
| $KSH $BINDIR/ifile.inject-learn.header

# and now we can sort the mail with the help of ifile hint
:0: ifile.lock
* ^X-Ifile-Hint:\ spam
| $RCVSTORE +spam
[/code]

Comments are closed.