rspamd marks valid mails as spam. How to avoid that?

Discussion in 'Server Operation' started by DrMartinus, Mar 14, 2024.

  1. DrMartinus

    DrMartinus Member HowtoForge Supporter

    Since I cannot use my email client to "unspam" the mails that have been marked by rspamd as spam, I would like to create a whitelist for rspamd. When I search for it, I only get instructions on how to set up a whitelist filter. This looks for different criteria, which are not fulfilled by the senders (yet the mails are legitimate). I tried to "ham" the messages using the "Scan/Learn" section in the browser UI, but that doesn't seem to work either. The problem is anyway, that the message always has a large attachment, and the source code is huge because of that. I don't remember if I tried, but I guess I did, to copy all of it into the window, which caused problems.
    So I only tried the scanning with the header of the message, but there are already entries like "Spam" etc., so I don't know if that's the reason why rspamd just doesn't want to look at those messages as ham. I also noticed that the messages are marked as spam only a few months ago (beginning in Decemper 2023), and rspamd is active much longer. What could cause rspamd to mark those messages (I get daily one from that particular sender) as spam after a long time?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can use RSPAMD GUI to find out why messages get marked as spam.
     
  3. DrMartinus

    DrMartinus Member HowtoForge Supporter

    Yes, but that doesn't help me, because I cannot and may not configure the sender's mail server. I could try to tell the sender why his mails get recognized as spam, but it is unlikely that this will change anything soon. There is e.g. no DKIM, among other things which are nowadays almost considered as standard.
    I just need to tell rspamd that it should let these mails pass through as ham, that's the part where I struggle, because it seems that rspamd doesn't make that easy. Or I've missed something, which is possible... :)
     

Share This Page