some mails are flagged as ***SPAM***

Discussion in 'General' started by hknerdr, Feb 26, 2025.

  1. hknerdr

    hknerdr Member

    Hello
    I am using Outlook on my computer and i see that some mails in the Junk folder is flagged as ***SPAM*** at title. How can i prevent this or add the domains to the whitelist?

    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You mean legitimate emails flagged as spam? As Emails in Junk folder are typically SPAM and that's what the altered title indicates. You can configure in spamfilter policies if the title of spam emails shall get altered or not.
     
  3. hknerdr

    hknerdr Member

    yeah legitimate like amazon.com or amazon.ca mails are flagged. Where can i configure the spam filters?

    I tried a few of them but didn't work. What is the best way?
     
  4. hknerdr

    hknerdr Member

    Still important mails are flagged as ***SPAM***. Need your help.
    Thanks
     
  5. Strontium

    Strontium Member

    Have you tried to whitelist them?
     
  6. pyte

    pyte Well-Known Member HowtoForge Supporter

    Did you change any settings regarding the global spam scoring in ISPConfig? Did you configure any different thresholds for some domains/customers? Do you use a spamfilter template in ISPConfig?

    The best way to debug this is to post the relevant logs from /var/log/rspamd/rspamd.log. Search for an example message there and post the output here.
     
    till likes this.
  7. hknerdr

    hknerdr Member

    There are a few sections on the ISPconfig which should i add?
    Also i would like to add it to domainwise. how can i do that?
     
  8. hknerdr

    hknerdr Member

    To be honest i am not familiar with it. If you can show me the best settings i would be glad. I don't use any template.
    There are whitelist, blacklist, user/domain, policy. I don't know which one should i modify. :(
     
  9. pyte

    pyte Well-Known Member HowtoForge Supporter

    There are no "best settings" for spamfilter configurations. If you need some help understanding ISPConfig itself you may should buy the handbook. There are alot of helpful threads in the forum aswell.

    I don't think that whitelisting is the correct move in your case. Valid mails from amazon.com should never get flagged as spam by default and i really doubt that a default ISPConfig install without any changes to the spamfilter configurations would flag them as spam.
    Check the spamfilter policy and the thresholds set in the interface at E-Mail -> Spamfilter -> Spamfilter Policies.

    The logs will show what is causing the flagging so as request before, you may provide these logs so we can understand what is happing in your setup. You can find them under /var/log/rspamd/rspamd.log
     
    till likes this.
  10. hknerdr

    hknerdr Member

    thank you. Here are the policy screenshot and rspamd.log

    [​IMG]
     
  11. Strontium

    Strontium Member

  12. pyte

    pyte Well-Known Member HowtoForge Supporter

    That log does not show a single scanned email. Please search for a mail that is affected by the problem in this log. For example:

    grep "amazon.com" /var/log/rspamd/rspamd.log
     
    till likes this.

Share This Page