OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix, spamassassin, and clamav...WITHOUT amavis...

From: Magnus Bäck (magnusdsek.lth.se)
Date: Thu Dec 01 2005 - 15:01:14 CST


On Wednesday, November 30, 2005 at 14:43 CET,
     James Lay <jlayslave-tothe-box.net> wrote:

> So I googled around....searched the postfix mailing list
> archives...didn't find what I'm looking for, so I thought I'd ask here.
>
> Currently I run postfix with spamassassin with a postfixfilter in my
> master file and the below as the postfixfilter script file:
>
> #!/bin/bash
> /usr/bin/spamc -U /var/spool/spamfilter/spamd | /usr/sbin/sendmail -i
> "$" exit $?

That's not robust. What do you think happens if spamc or sendmail
cannot be invoked? FILTER_README contains a more robust example.

[...]

--
Magnus Bäck
magnusdsek.lth.se