Hi: I work with postfix 2.0, RH 8.0, and SpamAssassin 2.60, My master.cf is seeting like this: smtp inet n - n - 1000 smtpd -o content_filter=spamfilter: spamfilter unix - n n - - pipe flags=Rq user=spam argv=/usr/sbin/spamfilter.sh ${sender} ${recipient}
My script =/usr/sbin/spamfilter.sh is like this: #!/bin/sh INSPECT_DIR=/var/spam SENDMAIL=/usr/sbin/sendmail SPAMASSASSIN=/usr/bin/spamc EX_TEMPFAIL=75 EX_UNAVAILABLE=69 cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; } trap "rm -f in.$$; rm -f out.$$" 0 1 2 3 15 cat | $SPAMASSASSIN -f > out.$$ #|| # { echo Message content rejected; exit $EX_UNAVAILABLE; } $SENDMAIL "$@" < out.$$ exit $? But, when the service is operating , messages that return to [EMAIL PROTECTED] are: <[EMAIL PROTECTED]>: service unavailable. Command output: /var/spam//dead.letter... Saved message in /var/spam//dead.letter And I don't receive messages. Postfix working with maps_transport for delivering mail to original servers. and don't have local users What is my problem? Regards, Roberto ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk