spamassassin update 2.6.4 -> 3.15

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
tsaenger
Posts: 413
Joined: 2003-08-13 01:14

spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 16:52

Hallo
Ich habe ein SUSE System mit Postfix.

Nun habe ich mich mal an das Thema SPAMS gesetzt und wollte den alten spamassassin durch die aktuelle Version ersetzen.

Aus irgendwelchen Gründen, denke ich aber das das Teil nicht richtig läuft.

Bei der alten Version habe ich wenn ich ne Mail empfangen habe im Header gesehen, das die Mail gescannt wurde.
Nach der installation der neuen Version sehe ich das plötzlich nicht mehr. Wie kann ich kontrollieren ob tatsächlich der SPAM-Filter aktiv ist? Und wie kann ich wenn er aktiv ist einstellen, das der Header wieder angezeigt wird?

Ich habe mein Update nach der Anleitung wie folgt durchgeführt:

perl -MCPAN -e shell
install Mail::SpamAssassin
quit

Am Ende stand auch OK. Dann habe ich den spamd und postfix neu gestartet und gehofft, das es nun mit der neuen Version läuft.

Was ich in den Log's gefunden habe ist folgendes:
warn.log
Sep 19 16:10:22 p15140204 spamc[24272]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Sep 19 16:10:23 p15140204 spamc[24272]: connection attempt to spamd aborted after 3 retries
Sep 19 16:11:52 p15140204 spamc[24529]: skipped message, greater than max message size (512 bytes)

MAIL.log
Sep 19 16:49:39 p15140204 spamd[9670]: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 880.
Gruß

Tobias

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: spamassassin update 2.6.4 -> 3.15

Post by adjustman » 2006-09-19 17:40

du solltest auch die benötigten Perl Module updaten

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 18:00

Hallo,

Also ich habe nun herausgefunden, das ich vor der installation vergessen habe über yast den alten zu deinstallieren.
Das habe ich nun nachgeholt.
Nun habe ich das Problem, dass kein Startscript bei der CPAN Installation erstellt wurde.
Wie komme ich nun an ein aktuelles starscript ran?


Perl läuft in version 5.8.3.
Gruß

Tobias

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: spamassassin update 2.6.4 -> 3.15

Post by adjustman » 2006-09-19 18:06

tsaenger wrote:Wie komme ich nun an ein aktuelles starscript ran?
Backup?

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 18:12

Hallo,

Das alte war von der 2er Version. Und ich denke, das sich doch auch das Start-Script verändert hat oder nicht?

Tobias

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 18:26

Also ich habe nun das alte Start-Script verwendet und auch die alte local.cf und dann erhalte ich beim starten folgende Meldung:

Code: Select all

p151xx04:/etc/mail/spamassassin # rcspamd start
Starting spamassassin daemon (spamd)                                                              done
p15xx04:/etc/mail/spamassassin # [10847] info: config: failed to parse line, skipping: rewrite_subject 1
[10847] info: config: failed to parse line, skipping: subject_tag *****SPAM*****
[10847] info: config: failed to parse line, skipping: use_terse_report 0
[10847] info: config: failed to parse line, skipping: auto_learn 1
[10847] info: config: failed to parse line, skipping: use_dcc 0
[10847] info: config: failed to parse, now a plugin, skipping: ok_languages all
[10847] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[10847] info: spamd: server started on port 783/tcp (running version 3.1.5)
[10847] info: spamd: server pid: 10847
[10847] info: spamd: server successfully spawned child process, pid 10850
[10847] info: spamd: server successfully spawned child process, pid 10851
[10847] info: prefork: child states: II
Allerdings gibt mir nun auch "ps ax | grep spamd" folgendes aus:

10847 pts/0 S 0:02 /usr/bin/perl -T -w /usr/bin/spamd
10850 pts/0 S 0:00 spamd child
10851 pts/0 S 0:00 spamd child
10876 pts/0 D+ 0:00 grep spamd

Die Child's sprechen ja dafür das spamassassin ja gestartet ist.
Ich kann allerdings in den LOG's nicht sehen, das die Mails dort gecheckt werden.

Muss ich dafür noch nen speziellen eintrag machen?

Tobias

Edit:
Ich habe mal mittels "netstat -nlpt" versucht herauszufinden, auf welchen Ports denn gehorscht wird.
Dort habe ich allerdings nichts vom spamd- Daemon gesehen.
Last edited by tsaenger on 2006-09-19 18:33, edited 1 time in total.

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: spamassassin update 2.6.4 -> 3.15

Post by adjustman » 2006-09-19 18:32

tsaenger wrote:Muss ich dafür noch nen speziellen eintrag machen?
nein, Einträge weglassen. Hat sich viel verändert.
spamassassin -D --lint

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 18:50

Das verstehe ich nicht ganz.

Meinst du ich soll das Start-Script wieder entfernen?
Oder hat es sich auf weitere Einträge bezogen, da spamd an keinen Port gebunden ist?

Den Befehl habe ich ausgeführt:
    p15140204:~/.cpan/build/Mail-SpamAssassin-3.1.5 # ./spamassassin -D --lint [11986] dbg: logger: adding facilities: all [11986] dbg: logger: logging level is DBG [11986] dbg: generic: SpamAssassin version 3.1.5 [11986] dbg: config: score set 0 chosen. [11986] dbg: util: running in taint mode? yes [11986] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH [11986] dbg: util: PATH included '/usr/sbin', keeping [11986] dbg: util: PATH included '/bin', keeping [11986] dbg: util: PATH included '/usr/bin', keeping [11986] dbg: util: PATH included '/sbin', keeping [11986] dbg: util: PATH included '/usr/X11R6/bin', keeping [11986] dbg: util: final PATH set to: /usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin [11986] dbg: message: ---- MIME PARSER START ---- [11986] dbg: message: main message type: text/plain [11986] dbg: message: parsing normal part [11986] dbg: message: added part, type: text/plain [11986] dbg: message: ---- MIME PARSER END ---- [11986] dbg: dns: is Net::DNS::Resolver available? yes [11986] dbg: dns: Net::DNS version: 0.46 [11986] dbg: diag: perl platform: 5.008003 linux [11986] dbg: diag: module installed: Digest::SHA1, version 2.07 [11986] dbg: diag: module installed: Time::HiRes, version 1.52 [11986] dbg: diag: module installed: DBI, version 1.46 [11986] dbg: diag: module installed: Getopt::Long, version 2.35 [11986] dbg: diag: module installed: LWP::UserAgent, version 2.024 [11986] dbg: diag: module installed: HTTP::Date, version 1.46 [11986] dbg: diag: module not installed: Archive::Tar ('require' failed) [11986] dbg: diag: module not installed: IO::Zlib ('require' failed) [11986] dbg: diag: module installed: DB_File, version 1.808 [11986] dbg: diag: module installed: HTML::Parser, version 3.45 [11986] dbg: diag: module installed: MIME::Base64, version 3.05 [11986] dbg: diag: module installed: Net::DNS, version 0.46 [11986] dbg: diag: module installed: Net::SMTP, version 2.29 [11986] dbg: diag: module not installed: Mail::SPF::Query ('require' failed) [11986] dbg: diag: module not installed: IP::Country::Fast ('require' failed) [11986] dbg: diag: module installed: Razor2::Client::Agent, version 2.36 [11986] dbg: diag: module not installed: Net::Ident ('require' failed) [11986] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed) [11986] dbg: diag: module installed: IO::Socket::SSL, version 0.95 [11986] dbg: ignore: using a test message to lint rules [11986] dbg: config: using "/etc/mail/spamassassin" for site rules pre files [11986] dbg: config: read file /etc/mail/spamassassin/init.pre [11986] dbg: config: read file /etc/mail/spamassassin/v310.pre [11986] dbg: config: read file /etc/mail/spamassassin/v312.pre [11986] dbg: config: using "./rules" for sys rules pre files [11986] dbg: config: read file ./rules/init.pre [11986] dbg: config: read file ./rules/v310.pre [11986] dbg: config: read file ./rules/v312.pre [11986] dbg: config: using "./rules" for default rules dir [11986] dbg: config: read file ./rules/10_misc.cf [11986] dbg: config: read file ./rules/20_advance_fee.cf [11986] dbg: config: read file ./rules/20_anti_ratware.cf [11986] dbg: config: read file ./rules/20_body_tests.cf [11986] dbg: config: read file ./rules/20_compensate.cf [11986] dbg: config: read file ./rules/20_dnsbl_tests.cf [11986] dbg: config: read file ./rules/20_drugs.cf [11986] dbg: config: read file ./rules/20_fake_helo_tests.cf [11986] dbg: config: read file ./rules/20_head_tests.cf [11986] dbg: config: read file ./rules/20_html_tests.cf [11986] dbg: config: read file ./rules/20_meta_tests.cf [11986] dbg: config: read file ./rules/20_net_tests.cf [11986] dbg: config: read file ./rules/20_phrases.cf [11986] dbg: config: read file ./rules/20_porn.cf [11986] dbg: config: read file ./rules/20_ratware.cf [11986] dbg: config: read file ./rules/20_uri_tests.cf [11986] dbg: config: read file ./rules/23_bayes.cf [11986] dbg: config: read file ./rules/25_accessdb.cf [11986] dbg: config: read file ./rules/25_antivirus.cf [11986] dbg: config: read file ./rules/25_body_tests_es.cf [11986] dbg: config: read file ./rules/25_body_tests_pl.cf [11986] dbg: config: read file ./rules/25_dcc.cf [11986] dbg: config: read file ./rules/25_dkim.cf [11986] dbg: config: read file ./rules/25_domainkeys.cf [11986] dbg: config: read file ./rules/25_hashcash.cf [11986] dbg: config: read file ./rules/25_pyzor.cf [11986] dbg: config: read file ./rules/25_razor2.cf [11986] dbg: config: read file ./rules/25_replace.cf [11986] dbg: config: read file ./rules/25_spf.cf [11986] dbg: config: read file ./rules/25_textcat.cf [11986] dbg: config: read file ./rules/25_uribl.cf [11986] dbg: config: read file ./rules/30_text_de.cf [11986] dbg: config: read file ./rules/30_text_fr.cf [11986] dbg: config: read file ./rules/30_text_it.cf [11986] dbg: config: read file ./rules/30_text_nl.cf [11986] dbg: config: read file ./rules/30_text_pl.cf [11986] dbg: config: read file ./rules/30_text_pt_br.cf [11986] dbg: config: read file ./rules/50_scores.cf [11986] dbg: config: read file ./rules/60_awl.cf [11986] dbg: config: read file ./rules/60_whitelist.cf [11986] dbg: config: read file ./rules/60_whitelist_dk.cf [11986] dbg: config: read file ./rules/60_whitelist_dkim.cf [11986] dbg: config: read file ./rules/60_whitelist_spf.cf [11986] dbg: config: read file ./rules/60_whitelist_subject.cf [11986] dbg: config: read file ./rules/local.cf [11986] dbg: config: using "/etc/mail/spamassassin" for site rules dir [11986] dbg: config: read file /etc/mail/spamassassin/local.cf [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x913635c) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x91589e8) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x917cf48) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC [11986] dbg: pyzor: network tests on, attempting Pyzor [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9194358) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC [11986] dbg: razor2: razor2 is available, version 2.36 [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::Razor2=HASH(0x9159b40) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC [11986] dbg: reporter: network tests on, attempting SpamCop [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::SpamCop=HASH(0x915c45c) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0x91db958) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x91fde74) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x91f22a8) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x9212074) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC [11986] dbg: plugin: registered Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x922055c) [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x91a2188), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Hashcash=HASH(0x91a21d0), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::SPF=HASH(0x91a21dc), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC [11986] dbg: pyzor: network tests on, attempting Pyzor [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Pyzor=HASH(0x91a232c), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC [11986] dbg: razor2: razor2 is available, version 2.36 [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Razor2=HASH(0x91a238c), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC [11986] dbg: reporter: network tests on, attempting SpamCop [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::SpamCop=HASH(0x91a23bc), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::AWL=HASH(0x91a235c), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x91a2458), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x91a2458), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x91a2554), already registered [11986] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC [11986] dbg: plugin: did not register Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x91a25b4), already registered [11986] dbg: config: adding redirector regex: /^http://chkpt.zdnet.com/chkpt/w+/(.*)$/i [11986] dbg: config: adding redirector regex: /^http://www(?:d+)?.nate.com/r/w+/(.*)$/i [11986] dbg: config: adding redirector regex: /^http://.+.gov/(?:.*/)?externalLink.jhtml?.*url=(.*?)(?:&.*)?$/i [11986] dbg: config: adding redirector regex: /^http://redir.internet.com/.+?/.+?/(.*)$/i [11986] dbg: config: adding redirector regex: /^http://(?:.*?.)?adtech.de/.*(?:;||)link=(.*?)(?:;|$)/i [11986] dbg: config: adding redirector regex: m'^http.*?/redirect.php?.*(?<=[?&])goto=(.*?)(?:$|[&#])'i [11986] dbg: config: adding redirector regex: m'^https?:/*(?:[^/]+.)?emfd.com/r.cfm.*?&r=(.*)'i [11986] dbg: config: adding redirector regex: m'/(?:index.php)??.*(?<=[?&])URL=(.*?)(?:$|[&#])'i [11986] dbg: config: adding redirector regex: m'^http:/*(?:w+.)?google(?:.w{2,3}){1,2}/url?.*?(?<=[?&])q=(.*?)(?:$|[&#])'i [11986] dbg: config: adding redirector regex: m'^http:/*(?:w+.)?google(?:.w{2,3}){1,2}/search?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+s])site:(.*?)(?:$|%20|[s+&#])'i [11986] dbg: config: adding redirector regex: m'^http:/*(?:w+.)?google(?:.w{2,3}){1,2}/search?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+s])(?:"|%22)(.*?)(?:$|%22|["s+&#])'i [11986] dbg: config: adding redirector regex: m'^http:/*(?:w+.)?google(?:.w{2,3}){1,2}/translate?.*?(?<=[?&])u=(.*?)(?:$|[&#])'i [11986] warn: config: failed to parse line, skipping: rewrite_subject 1 [11986] warn: config: failed to parse line, skipping: subject_tag *****SPAM***** [11986] warn: config: failed to parse line, skipping: use_terse_report 0 [11986] warn: config: failed to parse line, skipping: auto_learn 1 [11986] warn: config: failed to parse line, skipping: use_dcc 1 [11986] warn: config: failed to parse, now a plugin, skipping: ok_languages all [11986] dbg: config: allowing user rules! [11986] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x922055c) implements 'finish_parsing_end' [11986] dbg: replacetags: replacing tags [11986] dbg: replacetags: done replacing tags [11986] dbg: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks [11986] dbg: config: score set 1 chosen. [11986] dbg: message: ---- MIME PARSER START ---- [11986] dbg: message: main message type: text/plain [11986] dbg: message: parsing normal part [11986] dbg: message: added part, type: text/plain [11986] dbg: message: ---- MIME PARSER END ---- [11986] dbg: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks [11986] dbg: dns: name server: 217.160.142.251, family: 2, ipv6: 0 [11986] dbg: dns: testing resolver nameservers: 217.160.142.251, 195.20.224.234, 195.20.224.99 [11986] dbg: dns: trying (3) sun.com... [11986] dbg: dns: looking up NS for 'sun.com' [11986] dbg: dns: NS lookup of sun.com using 217.160.142.251 succeeded => DNS available (set dns_available to override) [11986] dbg: dns: is DNS available? 1 [11986] dbg: metadata: X-Spam-Relays-Trusted: [11986] dbg: metadata: X-Spam-Relays-Untrusted: [11986] dbg: metadata: X-Spam-Relays-Internal: [11986] dbg: metadata: X-Spam-Relays-External: [11986] dbg: message: no encoding detected [11986] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x913635c) implements 'parsed_metadata' [11986] dbg: uridnsbl: domains to query: [11986] dbg: dns: checking RBL sbl-xbl.spamhaus.org., set sblxbl-lastexternal [11986] dbg: dns: checking RBL sa-accredit.habeas.com., set habeas-firsttrusted [11986] dbg: dns: checking RBL sbl-xbl.spamhaus.org., set sblxbl [11986] dbg: dns: checking RBL sa-other.bondedsender.org., set bsp-untrusted [11986] dbg: dns: checking RBL combined.njabl.org., set njabl-lastexternal [11986] dbg: dns: checking RBL combined.njabl.org., set njabl [11986] dbg: dns: checking RBL combined-HIB.dnsiplists.completewhois.com., set whois [11986] dbg: dns: checking RBL list.dsbl.org., set dsbl-lastexternal [11986] dbg: dns: checking RBL bl.spamcop.net., set spamcop [11986] dbg: dns: checking RBL sa-trusted.bondedsender.org., set bsp-firsttrusted [11986] dbg: dns: checking RBL combined-HIB.dnsiplists.completewhois.com., set whois-lastexternal [11986] dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs-lastexternal [11986] dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs [11986] dbg: dns: checking RBL iadb.isipp.com., set iadb-firsttrusted [11986] dbg: check: running tests for priority: 0 [11986] dbg: rules: running header regexp tests; score so far=0 [11986] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<" [11986] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit: "1158684532" [11986] dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<1158684532@lint_rules> [11986] dbg: rules: " [11986] dbg: rules: ran header rule NO_REAL_NAME ======> got hit: "ignore@compiling.spamassassin.taint.org [11986] dbg: rules: " [11986] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit: "@lint_rules>" [11986] dbg: spf: no suitable relay for spf use found, skipping SPF-helo check [11986] dbg: eval: all '*From' addrs: ignore@compiling.spamassassin.taint.org [11986] dbg: eval: all '*To' addrs: [11986] dbg: spf: no suitable relay for spf use found, skipping SPF check [11986] dbg: rules: ran eval rule NO_RELAYS ======> got hit [11986] dbg: spf: cannot get Envelope-From, cannot use SPF [11986] dbg: spf: def_spf_whitelist_from: could not find useable envelope sender [11986] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit [11986] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit [11986] dbg: spf: spf_whitelist_from: could not find useable envelope sender [11986] dbg: rules: running body-text per-line regexp tests; score so far=0.738 [11986] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I" [11986] dbg: uri: running uri tests; score so far=0.738 [11986] dbg: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks [11986] dbg: bayes: not scoring message, returning undef [11986] dbg: bayes: opportunistic call attempt failed, DB not readable [11986] dbg: rules: running raw-body-text per-line regexp tests; score so far=0.738 [11986] dbg: rules: running full-text regexp tests; score so far=0.738 [11986] dbg: info: entering helper-app run mode [11986] dbg: info: leaving helper-app run mode [11986] dbg: razor2: part=0 engine=4 contested=0 confidence=0 [11986] dbg: razor2: results: spam? 0 [11986] dbg: razor2: results: engine 8, highest cf score: 0 [11986] dbg: razor2: results: engine 4, highest cf score: 0 [11986] dbg: util: current PATH is: /usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin [11986] dbg: pyzor: pyzor is not available: no pyzor executable found [11986] dbg: pyzor: no pyzor found, disabling Pyzor [11986] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x913635c) implements 'check_tick' [11986] dbg: check: running tests for priority: 500 [11986] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x913635c) implements 'check_post_dnsbl' [11986] dbg: rules: running meta tests; score so far=0.738 [11986] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK' [11986] dbg: rules: running header regexp tests; score so far=2.216 [11986] dbg: rules: running body-text per-line regexp tests; score so far=2.216 [11986] dbg: uri: running uri tests; score so far=2.216 [11986] dbg: rules: running raw-body-text per-line regexp tests; score so far=2.216 [11986] dbg: rules: running full-text regexp tests; score so far=2.216 [11986] dbg: check: running tests for priority: 1000 [11986] dbg: rules: running meta tests; score so far=2.216 [11986] dbg: rules: running header regexp tests; score so far=2.216 [11986] dbg: config: using "/root/.spamassassin" for user state dir [11986] dbg: locker: safe_lock: created /root/.spamassassin/auto-whitelist.lock.p15140204.pureserver.info.11986 [11986] dbg: locker: safe_lock: trying to get lock on /root/.spamassassin/auto-whitelist with 0 retries [11986] dbg: locker: safe_lock: link to /root/.spamassassin/auto-whitelist.lock: link ok [11986] dbg: auto-whitelist: tie-ing to DB file of type DB_File R/W in /root/.spamassassin/auto-whitelist [11986] dbg: auto-whitelist: db-based ignore@compiling.spamassassin.taint.org|ip=none scores 0/0 [11986] dbg: auto-whitelist: AWL active, pre-score: 2.216, autolearn score: 2.216, mean: undef, IP: undef [11986] dbg: auto-whitelist: DB addr list: untie-ing and unlocking [11986] dbg: auto-whitelist: DB addr list: file locked, breaking lock [11986] dbg: locker: safe_unlock: unlink /root/.spamassassin/auto-whitelist.lock [11986] dbg: auto-whitelist: post auto-whitelist score: 2.216 [11986] dbg: rules: running body-text per-line regexp tests; score so far=2.216 [11986] dbg: uri: running uri tests; score so far=2.216 [11986] dbg: rules: running raw-body-text per-line regexp tests; score so far=2.216 [11986] dbg: rules: running full-text regexp tests; score so far=2.216 [11986] dbg: check: is spam? score=2.216 required=5 [11986] dbg: check: tests=MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME,NO_RECEIVED,NO_RELAYS,TO_CC_NONE [11986] dbg: check: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID [11986] warn: lint: 5 issues detected, please rerun with debug enabled for more information
Kann nur nicht viel mit anfangen.

Gruß

Tobias

der kleine tux
Posts: 97
Joined: 2005-10-29 04:12
Location: Planet Erde

Re: spamassassin update 2.6.4 -> 3.15

Post by der kleine tux » 2006-09-19 19:07

aus
rewrite_subject 1
subject_tag *****SPAM*****
wird

rewrite_header Subject *****SPAM*****

http://spamassassin.apache.org/full/3.1 ... _Conf.html
http://spamassassin.apache.org/full/3.1.x/dist/UPGRADE

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 19:22

Hallo,

Ich habe nun die Fehler aus der config entfernt:

Code: Select all

p15xx204:/etc/mail/spamassassin # [12479] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[12479] info: spamd: server started on port 783/tcp (running version 3.1.5)
[12479] info: spamd: server pid: 12479
[12479] info: spamd: server successfully spawned child process, pid 12482
[12479] info: spamd: server successfully spawned child process, pid 12483
[12479] info: prefork: child states: II
Allerdings bekomme ich die eine Info nicht weg und ich sehe im Log immer noch nicht, das der SPAM-Filter vorgeschaltet ist.

gruß

Tobias

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 19:49

Ich habe mal den Testmode über die test-files laufen lassen.
Dort hat der Spamassassin richtig manuell gescannt.
Warum aber scannt er denn nicht die Mails die über postfix reinkommen?
Muss ich nicht den Spamassassin mit dem Postfix in verbindung bringen?

Gruß

Tobias

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: spamassassin update 2.6.4 -> 3.15

Post by adjustman » 2006-09-19 19:55

tsaenger wrote:

Code: Select all

info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
irgendwas is mit dem Aufruf von dcc faul. DCC ist installiert?
Aber warum der ganze Aufwand. Nimm amavisd-new und alles ist gut. :)

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 19:59

hallo,
sofern ich richtig informiert bin ist doch der amavisd ein virenscanner oder? Dieser setzt doch voraus, das der spamassassin funktioniert.
Und das tut er ja nicht.

Gruß

Tobias

Edit:

Wer oder was ist DCC?
Ich habe es nicht manuell installiert

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: spamassassin update 2.6.4 -> 3.15

Post by adjustman » 2006-09-19 20:10

tsaenger wrote:sofern ich richtig informiert bin ist doch der amavisd ein virenscanner
nein. Es ist eine Schnittstelle zwischen dem Mailverkehr.
Postfix => Amavis => Postfix => Postfach.
Amavis macht dann verschiedene Tests, m. div. Komponenten - unter anderem SA (spamassassin! NICHT spamc) - und reicht die Mail dann weiter oder nicht. SO wie in der Config von Amavis festgelegt.
UND
tsaenger wrote:Und das tut er ja nicht.
ist in dem Fall nicht relevant
tsaenger wrote:Wer oder was ist DCC?
http://www.rhyolite.com/anti-spam/dcc/

tsaenger
Posts: 413
Joined: 2003-08-13 01:14

Re: spamassassin update 2.6.4 -> 3.15

Post by tsaenger » 2006-09-19 20:57

Hallo,

ok ich installiere mir nun das amavisd.new
Nur wie binde ich das dann ein?

Gruß

Tobias

Edit:
Ich habe mir auch DCC heruntergeladen umd mittels ./configure && make install installiert.
Leider ist die Fehlermeldung immernoch vorhanden

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: spamassassin update 2.6.4 -> 3.15

Post by adjustman » 2006-09-19 21:51

tsaenger wrote:Nur wie binde ich das dann ein?
http://www.ijs.si/software/amavisd/#doc