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

Re: Problem mit Spamassassin (Backport) auf Sarge



Wie Du oben schreibst, kannst Du das als root doch machen. und wenn Du
die an einen Port < 1024 binden willst, brauchst Du genau diese Rechte!

die Konstruktion spamd und spamc ist so gedacht, daß der spamd mit
root-rechten läuft, bzw, zumindest damit gestartet wird. jeder user auf
dem system kann mit spamc den spamd bitten eine nachricht zu bewerten.

ack

... ist eigentlich nicht das Hauptproblem da ich ja, wie Du gesagt hast,
den spamd nicht brauche. Amavis scheint Spamassassin ja initialisieren
zu können, mich verwirrt nur noch die folgende Zeile:

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa2a9e28) inhibited further callbacks

Die kommt recht oft vor, ist das normal?


google gibt da einige treffer. fehlt Dir ggf eines der benoetigten
perl-module?

Also Modul-technisch müsste eigentlich alles soweit in Ordnung sein.
Die Dependencies sind alle erfüllt, was spezielles brauch ich meines
Wissens nach nicht...

Ich habe nochmal gegoogelt und bin auf folgendes gestoßen. Folgende
Zeilen in der /etc/spamassassin/init.pre habe ich rausgeworfen:

	loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
	loadplugin Mail::SpamAssassin::Plugin::Hashcash
	(loadplugin Mail::SpamAssassin::Plugin::SPF benutze ich nicht)

Stattdessen habe ich die Aufrufe in der user_prefs eingefügt und schon
sieht es anderst aus (siehe unten). Bitte um kurzes Feedback, ob das
so jetzt in Ordnung ist.


Mich interessiert jetzt noch folgendes:

Ich habe jetzt die Wahl zwischen dem Spamassassin aus unstable und aus
den Backports. Beide laufen offensichtlich ohne Probleme, nachdem man
das Laden der Modul 'verschoben' hat. Welches ist in Euren Augen die
bessere Quelle, oder unterscheiden die sich (fast) gar nicht?


Grüße
Mathias







hdphdtest177:/var/lib/amavis/.spamassassin# amavisd-new debug-sa
...
debug: SpamAssassin version 3.0.1
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/usr/local/sbin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/bin', keeping.
debug: Final PATH set to: /usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin
Dec  1 19:22:36 hdphdtest177 amavisd-new[1028]: SpamControl: turning on SA auto-whitelisting (AWL)
debug: ignore: test message to precompile patterns and load modules
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "/usr/share/spamassassin" for default rules dir
debug: config: read file /usr/share/spamassassin/10_misc.cf
debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/share/spamassassin/20_compensate.cf
debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /usr/share/spamassassin/20_drugs.cf
debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /usr/share/spamassassin/20_head_tests.cf
debug: config: read file /usr/share/spamassassin/20_html_tests.cf
debug: config: read file /usr/share/spamassassin/20_meta_tests.cf
debug: config: read file /usr/share/spamassassin/20_phrases.cf
debug: config: read file /usr/share/spamassassin/20_porn.cf
debug: config: read file /usr/share/spamassassin/20_ratware.cf
debug: config: read file /usr/share/spamassassin/20_uri_tests.cf
debug: config: read file /usr/share/spamassassin/23_bayes.cf
debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf
debug: config: read file /usr/share/spamassassin/25_hashcash.cf
debug: config: read file /usr/share/spamassassin/25_spf.cf
debug: config: read file /usr/share/spamassassin/25_uribl.cf
debug: config: read file /usr/share/spamassassin/30_text_de.cf
debug: config: read file /usr/share/spamassassin/30_text_fr.cf
debug: config: read file /usr/share/spamassassin/30_text_nl.cf
debug: config: read file /usr/share/spamassassin/30_text_pl.cf
debug: config: read file /usr/share/spamassassin/50_scores.cf
debug: config: read file /usr/share/spamassassin/60_whitelist.cf
debug: config: read file /usr/share/spamassassin/65_debian.cf
debug: using "/etc/mail/spamassassin" for site rules dir
debug: config: read file /etc/mail/spamassassin/local.cf
debug: using "/var/lib/amavis/.spamassassin/user_prefs" for user prefs file
debug: config: read file /var/lib/amavis/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa4b6f2c)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xa432900)
debug: bayes: 1028 tie-ing to DB file R/O /var/lib/amavis/.spamassassin/bayes_toks
debug: bayes: 1028 tie-ing to DB file R/O /var/lib/amavis/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: Score set 3 chosen.
debug: ---- MIME PARSER START ----
debug: main message type: text/plain
debug: parsing normal part
debug: added part, type: text/plain
debug: ---- MIME PARSER END ----
debug: metadata: X-Spam-Relays-Trusted:
debug: metadata: X-Spam-Relays-Untrusted:
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa4b6f2c) implements 'parsed_metadata'
debug: is Net::DNS::Resolver available? yes
debug: Net::DNS version: 0.48
debug: trying (3) sun.com...
debug: looking up NS for 'sun.com'
debug: NS lookup of sun.com succeeded => Dns available (set dns_available to hardcode)
debug: is DNS available? 1
debug: decoding: no encoding detected
debug: URIDNSBL: domains to query:
debug: all '*From' addrs: ignore@compiling.spamassassin.taint.org
debug: Running tests for priority: 0
debug: running header regexp tests; score so far=0
debug: all '*To' addrs:
debug: running body-text per-line regexp tests; score so far=-3.174
debug: running uri tests; score so far=-3.174
debug: Razor2 is not available
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa4b6f2c) implements 'check_tick'
debug: running raw-body-text per-line regexp tests; score so far=-3.174
debug: running full-text regexp tests; score so far=-3.174
debug: Razor2 is not available
debug: Current PATH is: /usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin
debug: Pyzor is not available: pyzor not found
debug: DCCifd is not available: no r/w dccifd socket found.
debug: DCC is not available: no executable dccproc found.
debug: Running tests for priority: 500
debug: RBL: success for 1 of 1 queries
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa4b6f2c) implements 'check_post_dnsbl'
debug: running meta tests; score so far=-3.174
debug: running header regexp tests; score so far=-1.948
debug: running body-text per-line regexp tests; score so far=-1.948
debug: running uri tests; score so far=-1.948
debug: running raw-body-text per-line regexp tests; score so far=-1.948
debug: running full-text regexp tests; score so far=-1.948
debug: Running tests for priority: 1000
debug: running meta tests; score so far=-1.948
debug: running header regexp tests; score so far=-1.948
debug: lock: 1028 created /var/lib/amavis/.spamassassin/auto-whitelist.lock.hdphdtest177.hdpintern.de.1028
debug: lock: 1028 trying to get lock on /var/lib/amavis/.spamassassin/auto-whitelist with 0 retries
debug: lock: 1028 link to /var/lib/amavis/.spamassassin/auto-whitelist.lock: link ok
debug: Tie-ing to DB file R/W in /var/lib/amavis/.spamassassin/auto-whitelist
debug: auto-whitelist (db-based): ignore@compiling.spamassassin.taint.org|ip=none scores 0/0
debug: AWL active, pre-score: -1.948, autolearn score: -1.948, mean: undef, IP: undef
debug: DB addr list: untie-ing and unlocking.
debug: DB addr list: file locked, breaking lock.
debug: unlock: 1028 unlink /var/lib/amavis/.spamassassin/auto-whitelist.lock
debug: Post AWL score: -1.948
debug: running body-text per-line regexp tests; score so far=-1.948
debug: running uri tests; score so far=-1.948
debug: running raw-body-text per-line regexp tests; score so far=-1.948
debug: running full-text regexp tests; score so far=-1.948
debug: is spam? score=-1.948 required=5
debug: tests=ALL_TRUSTED,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME
debug: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID
debug: bayes: 1028 untie-ing
debug: bayes: 1028 untie-ing db_toks
debug: bayes: 1028 untie-ing db_seen
Dec  1 19:22:37 hdphdtest177 amavisd-new[1028]: SpamControl: done



Reply to: