Hi.
Suddenly, some emails started ending up in the Spam folder.
This has never been seen before and I can’t find instructions anywhere on how to fix it? For example, I know that the email is 100% not a spam, but it ending up in Spam folder. How can I explain to MIAB server that email isn’t spam?
I tried move them from spam folder to inbox, a tried click button not a spam in thunderbird on this emails. And vice versa. I know, that email is spam. I click button Spam, I move it to the spam folder by the thunderbird, but the next email from similar address still ending up in the Inbox folder, maybe with spam logo.
Take a look at the header of the email in roundcube. You will find more details why the email has been classified as spam
X-Spam-Level:
X-Spam-Status: No, score=-0.9 required=8.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,
PDS_FRNOM_TODOM_NAKED_TO,PDS_FROM_NAME_TO_DOMAIN autolearn=no
autolearn_force=no version=3.4.6
X-Spam-Report:
* -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author’s domain
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* 1.5 PDS_FROM_NAME_TO_DOMAIN From:name looks like To:domain
* 0.5 PDS_FRNOM_TODOM_NAKED_TO Naked to From name equals to Domain
X-Spam-Score: -0.9
In addition to what eXTric says.
This is the way to train the spam filter. But it might take a number of emails before the filter is trained.
RoundeCube doesnt work propertly. I try to log in mailbox, but recieve an error 504.
I really don’t use webmail, just thunderbird, and outlook (a few cases)
The mail headers are not roundcube specific. You should also be able to find them in Thunderbird and Outlook.
Ok. But the question still is. Is there a method to manage spam/not spam rules? I read, that there is a spamassasin, but how does it work, I don’t know
If you want you can manually configure spamassassin, but you will still need to know why the mail was classified as spam. It’s still good to check out the headers.
Start by crearing a local configuration file to spamassassin.
- create a file like
/etc/spamassassin/90_custom.cf
- add a line
whitelist_from <emailaddress>
in the file
This should whitelist emails coming from that email address. There’s more subtlety here, e.g. look at whitelist_from_spf and whitelist_from_rcvd if you’re interested in having better controls over whitelisting. The other way around is also possible, by using blacklist_from
Look at the spamassassin documentation for more details.
Thank you very much. This is all I need.