[Postfixbuch-users] Was anderes - Spamassassin / Perl Fehler

usenet at deiszner.de usenet at deiszner.de
Fr Okt 3 23:40:57 CEST 2008


----- Original Message ----- 
From: "Jim Knuth" <jk at jkart.de>
To: "Eine Diskussionsliste rund um das Postfix-Buch von Peer Heinlein." 
<postfixbuch-users at listen.jpberlin.de>
Sent: Friday, October 03, 2008 9:51 PM
Subject: Re: [Postfixbuch-users] Was anderes - Spamassassin / Perl Fehler
> > das war der Hinweis - allerdings weiss ich nicht genau, ob mir diese
>
>welchen Hinweis meinst du?

Dein Hinweis mit /usr/... direkt perl aufzurufen - das ging dann auf einmal

> zum Testen einfach als User amavis, bzw. root
> spamassassin --lint
>
>


# spamassassin --lint -D
[16656] dbg: logger: adding facilities: all
[16656] dbg: logger: logging level is DBG
[16656] dbg: generic: SpamAssassin version 3.2.5
[16656] dbg: config: score set 0 chosen.
[16656] dbg: util: running in taint mode? yes
[16656] dbg: util: taint mode: deleting unsafe environment variables, 
resetting PATH
[16656] dbg: util: PATH included '/usr/local/sbin', keeping
[16656] dbg: util: PATH included '/usr/local/bin', keeping
[16656] dbg: util: PATH included '/usr/sbin', keeping
[16656] dbg: util: PATH included '/usr/bin', keeping
[16656] dbg: util: PATH included '/sbin', keeping
[16656] dbg: util: PATH included '/bin', keeping
[16656] dbg: util: final PATH set to: 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[16656] dbg: dns: no ipv6
[16656] dbg: dns: is Net::DNS::Resolver available? yes
[16656] dbg: dns: Net::DNS version: 0.63
[16656] dbg: diag: perl platform: 5.008008 linux
[16656] dbg: diag: module installed: Digest::SHA1, version 2.11
[16656] dbg: diag: module installed: HTML::Parser, version 3.56
[16656] dbg: diag: module installed: Net::DNS, version 0.63
[16656] dbg: diag: module installed: MIME::Base64, version 3.07
[16656] dbg: diag: module installed: DB_File, version 1.814
[16656] dbg: diag: module installed: Net::SMTP, version 2.31
[16656] dbg: diag: module not installed: Mail::SPF ('require' failed)
[16656] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[16656] dbg: diag: module installed: IP::Country::Fast, version 604.001
[16656] dbg: diag: module not installed: Razor2::Client::Agent ('require' 
failed)
[16656] dbg: diag: module not installed: Net::Ident ('require' failed)
[16656] dbg: diag: module not installed: IO::Socket::INET6 ('require' 
failed)
[16656] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[16656] dbg: diag: module installed: Compress::Zlib, version 2.015
[16656] dbg: diag: module installed: Time::HiRes, version 1.9715
[16656] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[16656] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[16656] dbg: diag: module installed: DBI, version 1.607
[16656] dbg: diag: module installed: Getopt::Long, version 2.37
[16656] dbg: diag: module installed: LWP::UserAgent, version 5.816
[16656] dbg: diag: module installed: HTTP::Date, version 5.810
[16656] dbg: diag: module installed: Archive::Tar, version 1.38
[16656] dbg: diag: module installed: IO::Zlib, version 1.09
[16656] dbg: diag: module not installed: Encode::Detect ('require' failed)
[16656] dbg: ignore: using a test message to lint rules
[16656] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[16656] dbg: config: read file /etc/mail/spamassassin/init.pre
[16656] dbg: config: read file /etc/mail/spamassassin/v310.pre
[16656] dbg: config: read file /etc/mail/spamassassin/v312.pre
[16656] dbg: config: read file /etc/mail/spamassassin/v320.pre
[16656] dbg: config: using "/usr/local/share/spamassassin" for sys rules pre 
files
[16656] dbg: config: using "/usr/local/share/spamassassin" for default rules 
dir
[16656] dbg: config: read file 
/usr/local/share/spamassassin/10_default_prefs.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_advance_fee.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_body_tests.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_compensate.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_dnsbl_tests.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_drugs.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_dynrdns.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_fake_helo_tests.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_head_tests.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_html_tests.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_imageinfo.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/20_meta_tests.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_net_tests.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_phrases.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_porn.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_ratware.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_uri_tests.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/20_vbounce.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/23_bayes.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_accessdb.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_antivirus.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_asn.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_dcc.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_dkim.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/25_domainkeys.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_hashcash.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_pyzor.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_razor2.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_replace.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_spf.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_textcat.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/25_uribl.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/30_text_de.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/30_text_fr.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/30_text_it.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/30_text_nl.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/30_text_pl.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/30_text_pt_br.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/50_scores.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/60_awl.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/60_shortcircuit.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/60_whitelist.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/60_whitelist_dk.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/60_whitelist_dkim.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/60_whitelist_spf.cf
[16656] dbg: config: read file 
/usr/local/share/spamassassin/60_whitelist_subject.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/72_active.cf
[16656] dbg: config: read file /usr/local/share/spamassassin/72_removed.cf
[16656] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[16656] dbg: config: read file /etc/mail/spamassassin/65_debian.cf
[16656] dbg: config: read file /etc/mail/spamassassin/70_sare_evilnum0.cf
[16656] dbg: config: read file /etc/mail/spamassassin/70_sare_random.cf
[16656] dbg: config: read file /etc/mail/spamassassin/local.cf
[16656] dbg: config: read file /etc/mail/spamassassin/tripwire.cf
[16656] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs 
file
[16656] dbg: config: read file /root/.spamassassin/user_prefs
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[16656] dbg: pyzor: local tests only, disabling Pyzor
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[16656] dbg: razor2: local tests only, skipping Razor
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[16656] dbg: reporter: local tests only, disabling SpamCop
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold 
from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject 
from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from 
@INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from 
@INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from 
@INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from 
@INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
[16656] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
[16656] dbg: config: allowing user rules!
[16656] dbg: config: warning: score set for non-existent rule OUTLOOK_3416
[16656] dbg: config: warning: score set for non-existent rule RCVD_IN_DOB
[16656] dbg: config: warning: score set for non-existent rule DNS_FROM_DOB
[16656] dbg: config: warning: score set for non-existent rule 
XMAILER_MIMEOLE_OL_C9068
[16656] dbg: conf: finish parsing
[16656] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x21d94a0) 
implements 'finish_parsing_end', priority 0
[16656] dbg: replacetags: replacing tags
[16656] dbg: replacetags: done replacing tags
[16656] dbg: bayes: no dbs present, cannot tie DB R/O: 
/root/.spamassassin/bayes_toks
[16656] dbg: config: score set 0 chosen.
[16656] dbg: message: main message type: text/plain
[16656] dbg: message: ---- MIME PARSER START ----
[16656] dbg: message: parsing normal part
[16656] dbg: message: ---- MIME PARSER END ----
[16656] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x2163e60) 
implements 'check_start', priority 0
[16656] dbg: bayes: no dbs present, cannot tie DB R/O: 
/root/.spamassassin/bayes_toks
[16656] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x222da30) 
implements 'check_main', priority 0
[16656] dbg: conf: trusted_networks are not configured; it is recommended 
that you configure trusted_networks manually
[16656] dbg: metadata: X-Spam-Relays-Trusted:
[16656] dbg: metadata: X-Spam-Relays-Untrusted:
[16656] dbg: metadata: X-Spam-Relays-Internal:
[16656] dbg: metadata: X-Spam-Relays-External:
[16656] dbg: message: no encoding detected
[16656] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xb00b40) 
implements 'parsed_metadata', priority 0
[16656] dbg: dns: is_dns_available() last checked 1223069975.0 seconds ago; 
re-checking
[16656] dbg: dns: is DNS available? 0
[16656] dbg: rules: local tests only, ignoring RBL eval
[16656] dbg: check: running tests for priority: -1000
[16656] dbg: rules: running head tests; score so far=0
[16656] dbg: rules: compiled head tests
[16656] dbg: eval: all '*From' addrs: 
ignore at compiling.spamassassin.taint.org
[16656] dbg: eval: all '*To' addrs:
[16656] dbg: rules: running body tests; score so far=0
[16656] dbg: rules: compiled body tests
[16656] dbg: rules: running uri tests; score so far=0
[16656] dbg: rules: compiled uri tests
[16656] dbg: rules: running rawbody tests; score so far=0
[16656] dbg: rules: compiled rawbody tests
[16656] dbg: rules: running full tests; score so far=0
[16656] dbg: rules: compiled full tests
[16656] dbg: rules: running meta tests; score so far=0
[16656] dbg: rules: compiled meta tests
[16656] dbg: check: running tests for priority: -950
[16656] dbg: rules: running head tests; score so far=0
[16656] dbg: rules: compiled head tests
[16656] dbg: rules: running body tests; score so far=0
[16656] dbg: rules: compiled body tests
[16656] dbg: rules: running uri tests; score so far=0
[16656] dbg: rules: compiled uri tests
[16656] dbg: rules: running rawbody tests; score so far=0
[16656] dbg: rules: compiled rawbody tests
[16656] dbg: rules: running full tests; score so far=0
[16656] dbg: rules: compiled full tests
[16656] dbg: rules: running meta tests; score so far=0
[16656] dbg: rules: compiled meta tests
[16656] dbg: check: running tests for priority: -900
[16656] dbg: rules: running head tests; score so far=0
[16656] dbg: rules: compiled head tests
[16656] dbg: rules: running body tests; score so far=0
[16656] dbg: rules: compiled body tests
[16656] dbg: rules: running uri tests; score so far=0
[16656] dbg: rules: compiled uri tests
[16656] dbg: rules: running rawbody tests; score so far=0
[16656] dbg: rules: compiled rawbody tests
[16656] dbg: rules: running full tests; score so far=0
[16656] dbg: rules: compiled full tests
[16656] dbg: rules: running meta tests; score so far=0
[16656] dbg: rules: compiled meta tests
[16656] dbg: check: running tests for priority: -400
[16656] dbg: rules: running head tests; score so far=0
[16656] dbg: rules: compiled head tests
[16656] dbg: rules: running body tests; score so far=0
[16656] dbg: rules: compiled body tests
[16656] dbg: rules: running uri tests; score so far=0
[16656] dbg: rules: compiled uri tests
[16656] dbg: rules: running rawbody tests; score so far=0
[16656] dbg: rules: compiled rawbody tests
[16656] dbg: rules: running full tests; score so far=0
[16656] dbg: rules: compiled full tests
[16656] dbg: rules: running meta tests; score so far=0
[16656] dbg: rules: compiled meta tests
[16656] dbg: check: running tests for priority: 0
[16656] dbg: rules: running head tests; score so far=0
[16656] dbg: rules: compiled head tests
[16656] dbg: rules: ran header rule __MISSING_REF ======> got hit: "UNSET"
[16656] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit: 
"@lint_rules>"
[16656] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit: 
"1223069973"
[16656] dbg: rules: ran header rule __MSOE_MID_WRONG_CASE ======> got hit: "
[16656] dbg: rules: Message-Id: "
[16656] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[16656] dbg: rules: ran header rule __SANE_MSGID ======> got hit: 
"<1223069973 at lint_rules>
[16656] dbg: rules: "
[16656] dbg: rules: ran header rule MISSING_DATE ======> got hit: "UNSET"
[16656] dbg: spf: checking to see if the message has a Received-SPF header 
that we can use
[16656] dbg: spf: already checked for Received-SPF headers, proceeding with 
DNS based checks
[16656] dbg: spf: already checked for Received-SPF headers, proceeding with 
DNS based checks
[16656] dbg: rules: ran eval rule NO_RELAYS ======> got hit (1)
[16656] dbg: spf: already checked for Received-SPF headers, proceeding with 
DNS based checks
[16656] dbg: spf: already checked for Received-SPF headers, proceeding with 
DNS based checks
[16656] dbg: rules: ran eval rule __GATED_THROUGH_RCVD_REMOVER ======> got 
hit (1)
[16656] dbg: spf: cannot get Envelope-From, cannot use SPF
[16656] dbg: spf: def_spf_whitelist_from: could not find useable envelope 
sender
[16656] dbg: spf: already checked for Received-SPF headers, proceeding with 
DNS based checks
[16656] dbg: spf: already checked for Received-SPF headers, proceeding with 
DNS based checks
[16656] dbg: spf: already checked for Received-SPF headers, proceeding with 
DNS based checks
[16656] dbg: spf: spf_whitelist_from: could not find useable envelope sender
[16656] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit (1)
[16656] dbg: rules: running body tests; score so far=1.899
[16656] dbg: rules: compiled body tests
[16656] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[16656] dbg: rules: running uri tests; score so far=1.899
[16656] dbg: rules: compiled uri tests
[16656] dbg: eval: stock info total: 0
[16656] dbg: rules: running rawbody tests; score so far=1.899
[16656] dbg: rules: compiled rawbody tests
[16656] dbg: rules: running full tests; score so far=1.899
[16656] dbg: rules: compiled full tests
[16656] dbg: rules: running meta tests; score so far=1.899
[16656] dbg: rules: compiled meta tests
[16656] dbg: check: running tests for priority: 500
[16656] dbg: dns: harvest_dnsbl_queries
[16656] dbg: rules: running head tests; score so far=1.899
[16656] dbg: rules: compiled head tests
[16656] dbg: rules: running body tests; score so far=1.899
[16656] dbg: rules: compiled body tests
[16656] dbg: rules: running uri tests; score so far=1.899
[16656] dbg: rules: compiled uri tests
[16656] dbg: rules: running rawbody tests; score so far=1.899
[16656] dbg: rules: compiled rawbody tests
[16656] dbg: rules: running full tests; score so far=1.899
[16656] dbg: rules: compiled full tests
[16656] dbg: rules: running meta tests; score so far=1.899
[16656] dbg: rules: meta test DIGEST_MULTIPLE has undefined dependency 
'DCC_CHECK'
[16656] dbg: rules: compiled meta tests
[16656] dbg: check: is spam? score=4.205 required=5
[16656] dbg: check: 
tests=MISSING_DATE,MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS
[16656] dbg: check: 
subtests=__GATED_THROUGH_RCVD_REMOVER,__HAS_MSGID,__MISSING_REF,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__MSOE_MID_WRONG_CASE,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID


Funktioniert :-)

Aber trotz

[16656] dbg: config: allowing user rules!

reagiert er nicht auf meine User-Rules in der local.cf

uri LOCAL_URI_EXAMPLE   /www\.example\.com\/OrderblaueTabletten\//
score LOCAL_URI_EXAMPLE 0.1




Mehr Informationen über die Mailingliste Postfixbuch-users