[Rspamd-Users] Local fuzzy storage learning doesn't work

Achim Lammerts ml-rspamd at syntaxys.de
Tue Jan 25 07:43:54 UTC 2022


Hello list,

I can't find out the reason, why my local fuzzy storage isn't feeded 
automatically. Baysian filter auto learning works well and also the 
fuzzy check against emails.

Here's my config:

worker {
     fuzzy {
         bind_socket = "*:11335";
         expire = 7776000;
         backend = "redis";
         allow_update [
             "localhost",
             "127.0.0.1",
             "::1",
         ]
     }
}

fuzzy_check {
     rule {
         rspamd.com {
             read_only = true;
             encryption_key = 
"icy63itbhhni8bq15ntp5n5symuixf73s1kpjh6skaq4e7nx5fiy";
             mime_types [
                 "*",
             ]
             skip_unknown = true;
             short_text_direct_hash = true;
             min_length = 64;
             symbol = "FUZZY_UNKNOWN";
             max_score = 20;
             algorithm = "mumhash";
             fuzzy_map {
                 FUZZY_DENIED {
                     flag = 1;
                     max_score = 20;
                 }
                 FUZZY_PROB {
                     flag = 2;
                     max_score = 10;
                 }
                 FUZZY_WHITE {
                     flag = 3;
                     max_score = 2;
                 }
             }
             servers = 
"round-robin:fuzzy1.rspamd.com:11335,fuzzy2.rspamd.com:11335";
         }
         localhost {
             read_only = false;
             mime_types [
                 "*",
             ]
             skip_unknown = false;
             short_text_direct_hash = true;
             min_length = 32;
             symbol = "LOCAL_FUZZY_UNKNOWN";
             max_score = 20;
             algorithm = "mumhash";
             fuzzy_map {
                 LOCAL_FUZZY_DENIED {
                     flag = 11;
                     max_score = 20;
                 }
                 LOCAL_FUZZY_PROB {
                     flag = 12;
                     max_score = 10;
                 }
                 LOCAL_FUZZY_WHITE {
                     flag = 13;
                     max_score = 2;
                 }
             }
             servers = "localhost:11335";
         }
     }
     timeout = 2;
     min_bytes = 1000;
     retransmits = 1;
}

Thanks for help in advance!

Regards,
Achim



More information about the Users mailing list