You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by mb...@unibg.it on 2005/09/13 13:51:49 UTC
local.cf ignored?
Hi,
I have a mail server with qmail, qmailscanner, fetchmail, spamassassin,
clamav installed . My linux distribution is debian sarge.
When spamassasin check a mail I notice in the header of the mail the
following:
X-Spam-Status: Yes, hits=10.2 required=4.0
The problem is the content of file /etc/mail/spamassassin/local.cf is:
rewrite_header Subject *****SPAM*****
required_hits 5
#rewrite_subject 1
report_header 1
report_safe 1
skip_rbl_checks 0
You can notice that the line required_hits 5 is different from mail
checked (required=4.0).
It seems that the file local.cf is ignored by spamassassin. How can
know which is the file spamassasin using when check mails?
I have already tried to force the configuration file with "spamd -C
/etc/mail/spamassassin/local.cf" but nothing change.
Someone have any ideas?
Re: local.cf ignored?
Posted by jdow <jd...@earthlink.net>.
From: <mb...@unibg.it>
> Hi,
> I have a mail server with qmail, qmailscanner, fetchmail, spamassassin,
> clamav installed . My linux distribution is debian sarge.
> When spamassasin check a mail I notice in the header of the mail the
> following:
> X-Spam-Status: Yes, hits=10.2 required=4.0
> The problem is the content of file /etc/mail/spamassassin/local.cf is:
> rewrite_header Subject *****SPAM*****
> required_hits 5
> #rewrite_subject 1
> report_header 1
> report_safe 1
> skip_rbl_checks 0
> You can notice that the line required_hits 5 is different from mail
> checked (required=4.0).
> It seems that the file local.cf is ignored by spamassassin. How can
> know which is the file spamassasin using when check mails?
> I have already tried to force the configuration file with "spamd -C
> /etc/mail/spamassassin/local.cf" but nothing change.
> Someone have any ideas?
Overridden in ~/.spamassassin/user_prefs?
You are overriding the configuration directory when you start spamd or
run spamassassin?
{^_^}
Re: local.cf ignored?
Posted by Jim Maul <jm...@elih.org>.
mberva@unibg.it wrote:
> Hi,
> I have a mail server with qmail, qmailscanner, fetchmail, spamassassin,
> clamav installed . My linux distribution is debian sarge.
> When spamassasin check a mail I notice in the header of the mail the
> following:
> X-Spam-Status: Yes, hits=10.2 required=4.0
> The problem is the content of file /etc/mail/spamassassin/local.cf is:
> rewrite_header Subject *****SPAM*****
> required_hits 5
> #rewrite_subject 1
> report_header 1
> report_safe 1
> skip_rbl_checks 0
> You can notice that the line required_hits 5 is different from mail
> checked (required=4.0).
> It seems that the file local.cf is ignored by spamassassin. How can
> know which is the file spamassasin using when check mails?
> I have already tried to force the configuration file with "spamd -C
> /etc/mail/spamassassin/local.cf" but nothing change.
> Someone have any ideas?
>
>
This is not a SA question. Qmail-Scanner does its own markup and has
its own configuration for some options. Check qmail-scanner-queue.pl
and set the options there accordingly.
-Jim
Re: local.cf ignored?
Posted by Matt Kettler <mk...@comcast.net>.
At 07:51 AM 9/13/2005, mberva@unibg.it wrote:
>Hi,
>I have a mail server with qmail, qmailscanner, fetchmail, spamassassin,
>clamav installed . My linux distribution is debian sarge.
>When spamassasin check a mail I notice in the header of the mail the
>following:
>X-Spam-Status: Yes, hits=10.2 required=4.0
>The problem is the content of file /etc/mail/spamassassin/local.cf is:
>rewrite_header Subject *****SPAM*****
>required_hits 5
>#rewrite_subject 1
>report_header 1
>report_safe 1
>skip_rbl_checks 0
>You can notice that the line required_hits 5 is different from mail
>checked (required=4.0).
> It seems that the file local.cf is ignored by spamassassin.
As jim said, you need to look at your qmail-scanner settings..
That said, if you're running a recent version of SA, that local.cf has some
invalid options. report_header has been obsolete since report_safe was
added, in SA 2.50.