Hi.
I have my /etc/procmail this
configuration
###################################################################
ANOMY=/usr/local/anomy
# Set this if you have an external configuration
file. Alternatively,
# you can configure the sanitizer directly by
modifying the ruleset below.
SANCFG=
TMPDIR=/tmp/sanitizer.$LOGNAME
#
Set up our working environment...
DATE=`date +%Y%m%d-%H%M`
MKDIR=`mkdir -p
$TMPDIR`
SANLOG=$TMPDIR/eml-$DATE-$$.log
# This will keep a clean backup copy of all
messages in your /tmp directory.
# Note that this will chew up disk space if
you don't clean it periodically.
:0
c
$TMPDIR/eml-$DATE-$$.mbx
# This will sanitize the message. Note that
logging to STDERR is forced
# on no matter what the configuration file says,
because it's used by the
# following recipies.
#
:0 fwB
|$ANOMY/bin/sanitizer.pl
\
'feat_uuencoded=0'\
'feat_log_inline = 0'\
$SANCFG
\
'feat_html =
0'\
'feat_log_stderr =
0'\
2>$SANLOG
# This will add an "X-Found-Virus: Yes" header, if the Sanitizer
finds
# an infection. Add more recipies like this to add more headers!
:-)
#
:0 f
* ? grep 'File was infected' $SANLOG
|formail
-I"X-Found-Virus: Yes"
###################################################################
but i have this error in my procmail log
procmail: Error while writing to "$ANOMY/bin/sanitizer.pl
\
'feat_uuencoded=0'\
'feat_log_inline = 0'\
$SANCFG
\
'feat_html =
0'\
'feat_log_stderr =
0'\
2>$SANLOG"
procmail:
Rescue of unfiltered data succeeded
grep:
/tmp/sanitizer.abusquets/eml-20051018-0008-6647.log: No such file or
directory