hotchilli
30th June 2006, 13:17
Could this script be run for utilsing the infomation mentioned in post thread:
http://www.howtoforge.com/forums/showthread.php?t=5256
# vim: set ts=4 shiftwidth=4:
SHELL=/bin/bash
PMDIR=$HOME/procmail
LOGFILE=$PMDIR/pmlog
# To insert a blank line between each message's log entry,
# uncomment next two lines (this is helpful for debugging)
## LOG="
## "
# Set to yes when debugging; default is no
#VERBOSE=yes
MAILDIR=$HOME/Mail # Make sure this directory exists!
#INCLUDERC=$PMDIR/rc.testing
:0fw
| /usr/bin/spamassassin
:0
* ^X-Spam-Flag: YES
spam/
:0
* ^Delivered-To: mail2news_munge@mydoamin\.com
| ~mail2news/bin/multipost -M
:0
* ^Delivered-To: mail2news_nospam@mydomain\.com
| ~mail2news/bin/multipost -m
:0
* ^Delivered-To: mail2news@mydomain\.com
| ~mail2news/bin/multipost
Hotchilli
http://www.howtoforge.com/forums/showthread.php?t=5256
# vim: set ts=4 shiftwidth=4:
SHELL=/bin/bash
PMDIR=$HOME/procmail
LOGFILE=$PMDIR/pmlog
# To insert a blank line between each message's log entry,
# uncomment next two lines (this is helpful for debugging)
## LOG="
## "
# Set to yes when debugging; default is no
#VERBOSE=yes
MAILDIR=$HOME/Mail # Make sure this directory exists!
#INCLUDERC=$PMDIR/rc.testing
:0fw
| /usr/bin/spamassassin
:0
* ^X-Spam-Flag: YES
spam/
:0
* ^Delivered-To: mail2news_munge@mydoamin\.com
| ~mail2news/bin/multipost -M
:0
* ^Delivered-To: mail2news_nospam@mydomain\.com
| ~mail2news/bin/multipost -m
:0
* ^Delivered-To: mail2news@mydomain\.com
| ~mail2news/bin/multipost
Hotchilli