Am 11.01.2016 um 21:12 schrieb D CATALIN BADIRCA:
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}"$@"

an 11 22:05:17 mx postfix/pipe[2112]: 80E5A1695FF9:
to=<catalin.badi...@domain.com <mailto:catalin.badi...@domain.com>>,
relay=spamfilter, delay=3908, delays=3907/0.04/0/0.47, dsn=4.3.0,
status=deferred (temporary 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 ?

* since when are such scripts placed in /home
* why using shell-scripts at all for such tasks

only over my dead body i would pass possible amlware through shellscripts that way

milter exists
spamass-milter exists

http://linux.die.net/man/1/spamass-milter

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to