add spamass-milter

This commit is contained in:
Sebastian Hugentobler 2016-07-11 13:54:26 +02:00
parent 45944ade39
commit 4cc656a641
4 changed files with 14 additions and 6 deletions

8
rootfs/usr/bin/spamfilter Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/with-contenv sh
SENDMAIL=/usr/sbin/sendmail
SPAMASSASSIN=/usr/bin/spamc
${SPAMASSASSIN} -u $1 -d spamassassin | ${SENDMAIL} -oi -f $1 $2
exit $?