Mail not spam receive in spam

NethServer Version: 8
Module: Mail
Hi i receive a lot of email in Junk Folder there aren’t spam for example this below are two screenshot send from same device (NAS Synology) the 1st is a test email receive correctly in inbox folder, the 2nd is a notification of the state of the backup:



Thanks :slight_smile:

The second mail was classified as junk by the Bayes filter.

You could add a bypass rule to allow a specific sender like the Synology NAS. This way it won’t be recognized as junk anymore, see also Mail — NS8 documentation

Hi @mrmarkuz
Yes but the Bayes Filter based of what criteria is classified the mail as “junk”?
As i said both email’s are sent from the same smtp server and same device, i don’t get what could be trigger the bayesian/rspam filter to assign the spam flags.

The Bayes filter tries to classify mails as spam or ham based on statistics, see also Naive Bayes spam filtering - Wikipedia or Statistics settings

It just processes the mail content. Sender, smtp server or device don’t matter.

You could mark the wrong classified mails as ham by moving them from junk to inbox or allow the sender using a bypass rule.

Ok so just by moving the email from spam to inbox the bayesian filter can remember for the next time the email arrived to move in the inbox and not to spam folder?

It depends on what the Bayes filter learned already but it should learn from your spam/ham decisions, you can watch it on the rspamd status page.
See also the Bayes filter explanation at the bottom of Mail — NS8 documentation

But in this case I’d just set a bypass rule for the mails from the NAS to make it work in any case.

5 posts were split to a new topic: Rspamd does not learn by moving mails in SOGo or IPhone mail app

Hi i think i’m going to doing as well, can you show/explain the step to take for make bypass rule?Thx

Go to NS8 Mail app/“Filter”/“Go to bypass rules” to create a new bypass rule:

Ok perfect, btw this morning i check the mail and now i receive correctly on inbox and not junk folder.
Seems moving email from client “Thunderbird” is working, bayesian filter learns!!!

1 Like