Hi, I am using with Postfix 10.2-RELEASE-p7 with Postfix 3.0.3 and I am trying to configure Spamassassin into my system.
After I create the spam filter.sh : #!/bin/bash SENDMAIL=/usr/local/sbin/sendmail SPAMASSASSIN=/usr/local/bin/spamc logger <<<"Spam filter piping to SpamAssassin, then to: $SENDMAIL $@" ${SPAMASSASSIN} | ${SENDMAIL} "$@" exit $? My master.cf looks like: smtp inet n - n - - smtpd -o content_filter=spamfilter spamfilter unix - n n - - pipe flags=Rq user=spamd argv=/home/spamd/spamfilter.sh -oi -f ${sender} ${recipient} I get the following error in maillog when I try to send email from outside my domain: an 11 22:05:17 mx postfix/pipe[2112]: 80E5A1695FF9: to=<catalin.badi...@domain.com>, relay=spamfilter, delay=3908, delays=3907/0.04/0/0.47, dsn=4.3.0, status=deferred (te mporary failure. Command output: pipe: fatal: pipe_command: execvp /home/spamd/spamfilter.sh: No such file or directory ) Has anyone seen this and can help me out with an idea ? Thank you very much !