[Rspamd-Users] learn_spam seems not to

Randy Bush randy at psg.com
Mon Sep 29 23:37:01 UTC 2025


debian 12
Rspamd daemon version 3.4

my MX targets run rspamd/redis/...

maybe 100 messages a day get through.  i collect them and put them in an
mh directory `~/newspam`.  once a day, i run

    for i in newspam/*; do rspamc -P ioc8ieMa5eec learn_spam $i; done

and it spews

    Results for file: newspam/97 (0.004 seconds)
    success = true;
    filename = "newspam/97";
    scan_time = 0.004000;

    Results for file: newspam/98 (0.004 seconds)
    success = true;
    filename = "newspam/98";
    scan_time = 0.004000;

    Results for file: newspam/99 (0.004 seconds)
    success = true;
    filename = "newspam/99";
    scan_time = 0.004000;

but the same spam comes through the next day.  clearly i am not
understanding how this is supposed to be done.

clue bat please.  thanks.

randy


More information about the Users mailing list