I can't find where is the bug for this piece of recipe... I'm trying to
include a "X-RBL" statement in the header, but it is being included only at
the end of the saved message...
Thanks...
SHELL=/bin/sh
PATH="$HOME/bin:/usr/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/s
bin:/usr/sbin"
MAILDIR=$HOME/tmp
DEFAULT="hermann"
LOGFILE=$HOME/rbl/verbose.txt
LOGABSTRACT=all
VERBOSE=all
##
## RBL Check
##
:0h
TCPREMOTEIP=| $HOME/rbl/origip.pl
:0
* TCPREMOTEIP ?? .
* ! ? $HOME/rbl/rblcheck -q -s relays.orbs.org "$TCPREMOTEIP"
{
LOGABSTRACT=all
LOG="Filter: RBL-filtered address: \"$TCPREMOTEIP\"
"
:0 fh
|formail -A"X-RBL-Filtered-Address: $TCPREMOTEIP is in ORBS."
}
#
# If an X-RBL-Filtered-Address: header is found in the message after consulting
# the lists, redirect the email to junkmail folder for later checking.
#
:0
* 1^1 ^X-RBL-Filtered-Address:
{
INCLUDERC=$HOME/rbl/save.rc
}
end
--
"ignorantia legis neminem excusat"
+-----
| Hermann Wecke - hermann(_at_)wecke(_dot_)com |
| Tel 1 212 208 2691 Fax 1 212 208 2693 |
| London Office 44 20 7691 7724 |
-----+