[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] OT: Spamassassin Question



> Last week I installed the Spamassassin PKG from Nuonce, and it is working
> really well. However I have a small problem, when visitors to sites on my
> Raq4 submit a form using FormMail. I have the default score set to 5, and
I
> don't wish to make this any larger. As you will see below, there are 2
> problems....
>
> Content analysis details:   (5.9 points, 5.0 required)
> 3.3 MSGID_FROM_MTA_SHORT   Message-Id was added by a relay
> 2.6 BUGGY_CGI              Broken CGI script message
>
> Can I change the Message ID or eliminate this from the tests and the same
> with BUGGY_CGI

Modify the following file:

    /etc/mail/spamassassin/local.conf

Add the following line to change the scores for BUGGY_CGI and
MSGID_FROM_MTA_SHORT to 0:

    score BUGGY_CGI 0
    score MSGID_FROM_MTA_SHORT 0

Check to make sure SpamAssassin still thinks its config is OK by running
this command:

    spamassassin --lint

If there is no output, you did it right. Restart your mailscanner:

    /etc/rc.d/init.d/mailscanner restart

And you should be all set.

-- 
John Keegan
john@xxxxxxxxxxxxxx
http://www.BlogHarbor.com

------------------

I tried that, but on running
spamassassin --lint
 I get "Failed to parse line in SpamAssassin configuration, skipping:
defang_mime 0"

This is what local.conf looks like:

### DO NOT MODIFY!! ###
# See 'perldoc Mail::SpamAssassin::Conf' for details

required_hits 8
rewrite_subject 1
subject_tag {spam}
defang_mime 0
skip_rbl_checks 0

score BUGGY_CGI 0
score MSGID_FROM_MTA_SHORT 0

Thanks,
Declan.