Spamassassin Fehler

as-n
Posts: 196
Joined: 2002-12-19 17:42

Spamassassin Fehler

Post by as-n »

Hallo,

ich habe FuzzyOCR installiert udn das lief auch schon, jetzt kommt aber:

spamassassin --lint
[27809] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/FuzzyOcr.cf": Hashing),
[27809] warn: FuzzyOcr: Cannot find executable for pamthreshold
[27809] warn: FuzzyOcr: Cannot find executable for tesseract
[27809] warn: lint: 1 issues detected, please rerun with debug enabled for more information

und

spamassassin -D
[27907] dbg: logger: adding facilities: all
[27907] dbg: logger: logging level is DBG
[27907] dbg: generic: SpamAssassin version 3.2.2
[27907] dbg: config: score set 0 chosen.
[27907] dbg: util: running in taint mode? yes
[27907] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH
[27907] dbg: util: PATH included '/sbin', keeping
[27907] dbg: util: PATH included '/bin', keeping
[27907] dbg: util: PATH included '/sbin', keeping
[27907] dbg: util: PATH included '/usr/sbin', keeping
[27907] dbg: util: PATH included '/usr/local/sbin', keeping
[27907] dbg: util: PATH included '/opt/gnome/sbin', keeping
[27907] dbg: util: PATH included '/usr/local/bin', keeping
[27907] dbg: util: PATH included '/usr/bin', keeping
[27907] dbg: util: PATH included '/usr/X11R6/bin', keeping
[27907] dbg: util: PATH included '/bin', keeping
[27907] dbg: util: PATH included '/usr/games', keeping
[27907] dbg: util: PATH included '/opt/gnome/bin', keeping
[27907] dbg: util: PATH included '/usr/lib/mit/bin', which doesn't exist, dropping
[27907] dbg: util: PATH included '/usr/lib/mit/sbin', which doesn't exist, dropping
[27907] dbg: util: final PATH set to: /sbin:/bin:/sbin:/usr/sbin:/usr/local/sbin:/opt/gnome/sbin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin
[27907] dbg: dns: no ipv6
[27907] dbg: dns: is Net::DNS::Resolver available? yes
[27907] dbg: dns: Net::DNS version: 0.61

Any ideas?
Top

Roger Wilco
Administrator
Administrator
Posts: 6001
Joined: 2004-05-23 12:53

Re: Spamassassin Fehler

Post by Roger Wilco »

AS-N wrote:[27809] warn: FuzzyOcr: Cannot find executable for pamthreshold
[27809] warn: FuzzyOcr: Cannot find executable for tesseract

Noch Fragen?
Top

as-n
Posts: 196
Joined: 2002-12-19 17:42

Re: Spamassassin Fehler

Post by as-n »

Ich meinte auch eher:

[27809] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/FuzzyOcr.cf": Hashing),

Ciao
AS-N
Top

Roger Wilco
Administrator
Administrator
Posts: 6001
Joined: 2004-05-23 12:53

Re: Spamassassin Fehler

Post by Roger Wilco »

AS-N wrote:[27809] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/FuzzyOcr.cf": Hashing),

Code: Select all

grep -A2 -B2 Hashing /etc/mail/spamassassin/FuzzyOcr.cf
Top

as-n
Posts: 196
Joined: 2002-12-19 17:42

Re: Spamassassin Fehler

Post by as-n »

Hallo,

war ein falscher Zeilenumbruch in der config ;-(

Ciao
AS-N
Top

as-n
Posts: 196
Joined: 2002-12-19 17:42

Re: Spamassassin Fehler

Post by as-n »

Doch noch ein Problem:

Code: Select all

server:~ # spamassassin --lint
[12202] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": dcc_path /usr/local/bin/dccproc
[12202] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": dcc_add_header 1
[12202] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": pyzor_add_header 1
[12202] warn: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": use_dcc 1
[12202] warn: lint: 4 issues detected, please rerun with debug enabled for more information


die local.cf sieht so aus:

Code: Select all


rewrite_header   subject *****SPAM***** Score:_SCORE_
required_score   4.7

dcc_path /usr/local/bin/dccproc
dcc_add_header 1

pyzor_path /usr/local/bin/pyzor
pyzor_add_header 1
pyzor_max 3

skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1


Was ist denn jetzt wieder falsch?

--
Ciao
AS-N
Top

as-n
Posts: 196
Joined: 2002-12-19 17:42

Re: Spamassassin Fehler

Post by as-n »

[6932] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[6932] dbg: pyzor: local tests only, disabling Pyzor
[6932] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[6932] dbg: razor2: local tests only, skipping Razor


Wo kann ich denn local_tests_only ausschalten? Ich finde da nichts.
Top

as-n
Posts: 196
Joined: 2002-12-19 17:42

Re: Spamassassin Fehler

Post by as-n »

Hallo,

vergesst es :oops:

"spamassassin --lint" führt ansich nur local tests aus, im normalen betrieb geht alles.
Top