[Rspamd-Users] Fwd: Local fuzzy training?

Alexander Moisseev moiseev at mezonplus.ru
Thu Dec 30 07:29:38 UTC 2021


On 28.12.2021 21:41, pettai+rspamd at sunet.se wrote:
> 
> I get this message from rspamd then POSTing to the worker-controller HTTP endpoint:
> 
> {"error":"No content to generate fuzzy for flag 11”}
> 
> Does /fuzzyadd just need the message body or does it need the complete email with all headers?
> The Flag + Weight -headers are added with the POSTing, but are there more headers that’s needed?

It doesn't need headers. Just make sure it is long enough.

# rspamc fuzzy_add -f 11 -w 1
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
Results for file: stdin (0.002 seconds)
success = true;
hashes [
     "372a1635405bc4a0654ab243645855191c080a2d444fbaa38e65ccb01ef5783bdf43eb0e90fb4e47e0289ac517e3223bb2f5fa27f834a91489c48dc061db6342",
]
filename = "stdin";
scan_time = 0.002043;



More information about the Users mailing list