I was having problems with spam and reported it on Facebook HERE When I didn’t get a response, I went after it because the spam was annoying and Rspamd wasn’t blocking it.
I found a solution that helped me a lot!
But unfortunately at first it wasn’t working well, so I remembered to give permissions to the folders to the rspamd Linux user with the command below
chown -R _rspamd:_rspamd /etc/rspamd/override.d
I restarted Rspamd
sudo systemctl restart rspamd
That’s it, rspamd started mitigating unwanted spam promptly.
I’m letting you know in case anyone else has this problem too.
Another problem I’m facing is several logs that rspamd reports as:
lfd on myhost.com.br: Suspicious process running under user postfix
And there were more problems like this related to other users, so I went to investigate the CSF/LFD logs and it was returning website crons as malicious, so I added the lines in /etc/csf/csf.pignore
Sorry to revive a year old thread, but I’m having trouble getting RSPAMD to learn from the JUNK folders. I tried your above steps, but it’s still the same. It does catch some obvious spam, and rejects or adds headers. But it won’t learn with moving items in and out of junk. Were there any other steps you needed to take?