On Mon, Sep 22, 2003 at 02:58:51PM -0400, Kris Deugau wrote:
> Skylar Thompson wrote:
> > I use the MIMEDefang and SpamAssassin plugins for sendmail on my
> > FreeBSD 4.8 mail server. For some reason, SpamAssassin tags all
> > messages as SpamAssassin tags all messages as spam, even when the
> > score is low or sub-zero. I have required_hits set to 5 in
> > sa-mimedefang.conf, and I have an X-Spam-Score header to verify what
> > the score is for each message. The score can be below 5, but
> > SpamAssassin still attaches the "This message is probably spam. ..."
> > message. How do I go about solving this?
> 
> This isn't a SpamAssassin configuration issue;  MIMEDefang calls the SA
> code libraries to process the message, and then takes actions you
> specify in your mimedefang-filter.  You've probably got the code that
> adds the SA report (something like:)
> 
> action_add_part($entity, "text/plain", "-suggest", "$report\n",
> "SpamAssassinReport.txt", "inline");
> 
> outside of the check for whether the SA score is over your threshold.

So I do. I put the closing brace of an if statement on the wrong line,
which threw things off. Thanks. :)

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to