Hallo Jim! > > aufgrund der Spamflut habe ich unter Woody den Spamassassin nach > > Anleitung von > > http://home.arcor.de/hm-gerhards/linux/how08.html#spamassassin > > eingerichtet und das teil funktioniert sogar. > > Benutze hier Courier-IMAP mit getmail und maildrop. > > > Nur hat er bisher nur eine Mail rausgefiltert. Meine Inbox ist immer > > noch mit folgenden Mails voll (Betreff): > > * Latest Microsoft Critical Pack > > * Returned Mail: Returned To Mailer > > * Current Internet Security Upgrade > > * report > > * Newest Network Patch > > > Habe die Mails SA mit der Funktoin -rR lernen lassen, brachte aber auch > > nicht so viel. > > Durchschnittliche Treffer-Anzeige bei den o.g. Mails: zw. 0.5 und 3.8! > Füg folgendes in .muttrc ein: > > # Add this to your ~/.muttrc to integrate spamassassin and mutt > # spamassassin report and classify as spam > macro index S "|/usr/bin/spamassassin -r" > # spamassassin classify as ham > macro index H "|/usr/bin/sa-learn --ham --no-rebuild --single" > # rebuild the spamassassin bayes filter db > macro index R "!/usr/bin/sa-learn --rebuild"
Ich habe das jetzt auch gemacht und wenn ich S drücke, dann gibt er mir folgendes aus (ich rufe es mit /usr/bin/spamassassin -rD auf). Vorallem die letzte Zeile ist wichtig. Warum macht er das? --snip-- debug: Score set 0 chosen. debug: running in taint mode? no debug: using "/usr/share/spamassassin" for default rules dir debug: using "/etc/spamassassin" for site rules dir debug: using "/home/michael/.spamassassin" for user state dir debug: using "/home/michael/.spamassassin/user_prefs" for user prefs file debug: using "/home/michael/.spamassassin" for user state dir debug: bayes: 15986 tie-ing to DB file R/O /home/michael/.spamassassin/bayes_toks debug: bayes: 15986 tie-ing to DB file R/O /home/michael/.spamassassin/bayes_seen debug: debug: Only 1 spam(s) in Bayes DB < 200 debug: bayes: 15986 untie-ing debug: bayes: 15986 untie-ing db_toks debug: bayes: 15986 untie-ing db_seen debug: Score set 1 chosen. debug: Initialising learner debug: Learning Ham debug: bayes: 15986 untie-ing debug: using "/home/michael/.spamassassin" for user state dir debug: lock: 15986 created /home/michael/.spamassassin/bayes.lock.zolnott01.zolnott.15986 debug: lock: 15986 trying to get lock on /home/michael/.spamassassin/bayes with 0 retries debug: lock: 15986 link to /home/michael/.spamassassin/bayes.lock: link ok debug: bayes: 15986 tie-ing to DB file R/W /home/michael/.spamassassin/bayes_toks debug: bayes: 15986 tie-ing to DB file R/W /home/michael/.spamassassin/bayes_seen debug: tokenize: header tokens for Date-warning = "Date header was inserted by l-daemon" debug: tokenize: header tokens for *F = "MS Corporation Technical Services <[EMAIL PROTECTED]>" debug: tokenize: header tokens for To = "Microsoft Client <[EMAIL PROTECTED]>" debug: bayes: 15986 untie-ing debug: bayes: 15986 untie-ing db_toks debug: bayes: 15986 untie-ing db_seen debug: bayes: files locked, now unlocking lock debug: unlock: 15986 unlink /home/michael/.spamassassin/bayes.lock debug: Removing Markup debug: Razor2 is not available debug: Razor1 is not available debug: Current PATH is: /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games debug: DCC is not available: dccproc not found debug: Pyzor is not available: pyzor not found Warning, unable to report spam --snip-- .--. |o_o | ||_/ | CU // \ \ (| | ) Michael /'\_ _/`\ \___)=(___/ -- /-----------------------------------------------------\ | Michael Ott, Glockenhofstr. 29a, 90478 Nuernberg | | e-mail: [EMAIL PROTECTED], Tel. +49 9 11 41 88 576 | \-----------------------------------------------------/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)