Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comm.software.mailserver > #6510 > unrolled thread
| Started by | Anton Blau <tony.blue@gmx.de> |
|---|---|
| First post | 2022-02-21 13:18 +0100 |
| Last post | 2022-02-24 22:40 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to de.comm.software.mailserver
rspamd: learn error: all learn conditions denied learning,ham in default classifier Anton Blau <tony.blue@gmx.de> - 2022-02-21 13:18 +0100
Re: rspamd: learn error: all learn conditions denied learning,ham in default classifier Marcus Jodorf <trap@killfile.de> - 2022-02-22 00:39 +0100
Re: rspamd: learn error: all learn conditions denied learning,ham in default classifier Arno Welzel <usenet@arnowelzel.de> - 2022-02-22 15:00 +0100
Re: rspamd: learn error: all learn conditions denied learning,ham in default classifier Anton Blau <tony.blue@gmx.de> - 2022-02-24 22:40 +0100
| From | Anton Blau <tony.blue@gmx.de> |
|---|---|
| Date | 2022-02-21 13:18 +0100 |
| Subject | rspamd: learn error: all learn conditions denied learning,ham in default classifier |
| Message-ID | <suvvtt$1ngu$1@gioia.aioe.org> |
Hallo
wenn ich versuche auf dem Web-Interface von rspamd eine Nachricht als
"ham" anzulernen (http://my-ip:11334/#scan), erhalte ich folgende
Fehlermeldungen:
...
Feb 13 16:57:43 firstmail rspamd[1161]: <bdbec3>; csession;
rspamd_stat_classifier_is_skipped: learn condition for classifier bayes
returned: already in class ham; probability 100.00%; skip classifier
Feb 13 16:57:43 firstmail rspamd[1161]: <bdbec3>; csession;
rspamd_task_process: learn error: all learn conditions denied learning
ham in default classifier
...
Es wird zwar die Nachricht "already in class ham; probability 100.00%;
skip classifier" ausgegeben, die Nachrichten werden aber nach wie vor
als spam klassifiziert.
Ich betreibe die Konfiguration getmail, dovecot, exim, rspamd) seit rund
2 Jahren. Zur Installation habe ich die Dokumentation von
https://rspamd.com/downloads.html verwendet. Das System läuft auf Ubuntu
focal. Bisher ist mir die Fehlermeldung nicht aufgfallen.
In der Mailingliste Users@lists.rspamd.com habe ich es auch schon
versucht, aber leider keine Antwort erhalten.
Hat hier vielleicht jemand eine Idee für mich, wie ich das Problem
beheben kann?
Tony
P. S. Hier meine /etc/rspamd/statistic.conf
# Statistics setup
# Please don't modify this file as your changes might be overwritten with
# the next update.
#
# You can modify 'local.d/statistics.conf' to add and merge
# parameters defined inside this section
#
# You can modify 'override.d/statistics.conf' to strictly override all
# parameters defined inside this section
#
# If you just need to change the default bayes classifier, you can also use
# 'local.d/classifier-bayes.conf' or 'override.d/classifier-bayes.conf'. But
# never ever use both `statistics.conf` and `classifier-bayes.conf`
locals files
# together!
#
# See
https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
# for details
#
# Module documentation: https://rspamd.com/doc/configuration/statistic.html
classifier "bayes" {
tokenizer {
name = "osb";
}
cache {
}
new_schema = true; # Always use new schema
store_tokens = false; # Redefine if storing of tokens is desired
signatures = false; # Store learn signatures
#per_user = true; # Enable per user classifier
min_tokens = 11;
backend = "redis";
min_learns = 200;
statfile {
symbol = "BAYES_HAM";
spam = false;
}
statfile {
symbol = "BAYES_SPAM";
spam = true;
}
learn_condition = 'return require("lua_bayes_learn").can_learn';
# Autolearn sample
# autolearn {
# spam_threshold = 6.0; # When to learn spam (score >= threshold and
action is reject)
# junk_threshold = 4.0; # When to learn spam (score >= threshold and
action is rewrite subject or add header, and has two or more positive
results)
# ham_threshold = -0.5; # When to learn ham (score <= threshold and
action is no action, and score is negative or has three or more negative
results)
# check_balance = true; # Check spam and ham balance
# min_balance = 0.9; # Keep diff for spam/ham learns for at least
this value
#}
.include(try=true; priority=1)
"$LOCAL_CONFDIR/local.d/classifier-bayes.conf"
.include(try=true; priority=10)
"$LOCAL_CONFDIR/override.d/classifier-bayes.conf"
}
.include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/statistic.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/statistic.conf"
[toc] | [next] | [standalone]
| From | Marcus Jodorf <trap@killfile.de> |
|---|---|
| Date | 2022-02-22 00:39 +0100 |
| Message-ID | <8735kbpz6f.fsf-bofh@killfile.de> |
| In reply to | #6510 |
Anton Blau <tony.blue@gmx.de> schrieb: > Hallo > > wenn ich versuche auf dem Web-Interface von rspamd eine Nachricht als > "ham" anzulernen (http://my-ip:11334/#scan), erhalte ich folgende > Fehlermeldungen: > > ... Bekanntes Problem seit V 3.1. <https://github.com/rspamd/rspamd/issues/3956> Kannst Du im Prinzip irgnorieren, solange Du nicht in Probleme mit dem falschen Exitcode läufst (war bei mir z.B. mit dem sieve antispam plugin der Fall). Wird hoffentlich irgendwann auch mal wieder gefixt werden. Gruß, Marcus ⚂⚃
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2022-02-22 15:00 +0100 |
| Message-ID | <j7k8k3F35fvU1@mid.individual.net> |
| In reply to | #6511 |
Marcus Jodorf: > Anton Blau <tony.blue@gmx.de> schrieb: > >> Hallo >> >> wenn ich versuche auf dem Web-Interface von rspamd eine Nachricht als >> "ham" anzulernen (http://my-ip:11334/#scan), erhalte ich folgende >> Fehlermeldungen: >> >> ... > > Bekanntes Problem seit V 3.1. > > <https://github.com/rspamd/rspamd/issues/3956> > > Kannst Du im Prinzip irgnorieren, solange Du nicht in Probleme mit dem > falschen Exitcode läufst (war bei mir z.B. mit dem sieve antispam plugin > der Fall). Wird hoffentlich irgendwann auch mal wieder gefixt werden. Siehe <https://github.com/rspamd/rspamd/commit/58037bbffc0e3fd7873b6b411ea2c3aeb0f3ea91> -- Arno Welzel https://arnowelzel.de
[toc] | [prev] | [next] | [standalone]
| From | Anton Blau <tony.blue@gmx.de> |
|---|---|
| Date | 2022-02-24 22:40 +0100 |
| Message-ID | <sv8u05$rag$1@gioia.aioe.org> |
| In reply to | #6512 |
Am 22.02.2022 um 15:00 schrieb Arno Welzel: > Marcus Jodorf: > >> Anton Blau <tony.blue@gmx.de> schrieb: >> >> Bekanntes Problem seit V 3.1. >> >> <https://github.com/rspamd/rspamd/issues/3956> >> >> Kannst Du im Prinzip irgnorieren, solange Du nicht in Probleme mit dem >> falschen Exitcode läufst (war bei mir z.B. mit dem sieve antispam plugin >> der Fall). Wird hoffentlich irgendwann auch mal wieder gefixt werden. > > Siehe > <https://github.com/rspamd/rspamd/commit/58037bbffc0e3fd7873b6b411ea2c3aeb0f3ea91> Vielen Dank! Tony
[toc] | [prev] | [standalone]
Back to top | Article view | de.comm.software.mailserver
csiph-web