Skip to main content

Facing error of "The mail server detected your message as spam"

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! It doesn't appear that SpamAssassin is doing the bouncing, but something with either the system or account filter is causing this. Do you see anything in cPanel >> Email Filters or cPanel >> Global Email Filters that could be causing this?
    0
  • Sajawal
    Hey there! It doesn't appear that SpamAssassin is doing the bouncing, but something with either the system or account filter is causing this. Do you see anything in cPanel >> Email Filters or cPanel >> Global Email Filters that could be causing this?

    Yes, I checked both and there is no filter define in it. The below line is making me confuse that what system filter (30) is? " cancelled by system filter: The mail server detected your message as spam and has prevented delivery (30). "
    0
  • cPRex Jurassic Moderator
    It's possible there is a higher-level filter on the system that isn't showing up in the account for some reason. Do you see anything in /etc/vfilters for the domain? If not, we'd be happy to take a look at the system for you if you create a ticket with our team.
    0
  • Sajawal
    It's possible there is a higher-level filter on the system that isn't showing up in the account for some reason. Do you see anything in /etc/vfilters for the domain? If not, we'd be happy to take a look at the system for you if you create a ticket with our team.

    Hi, thanks for your help I have found the root cause of this issue, there was a custom filter define in the system filter file which was missed somehow by me. But could you please let me know what is "\N^\d+$\N" in the below line so that I can define my filter correctly? if ($h_X-Spam-Score: matches \N^\d+$\N and $h_X-Spam-Score: is above 30)
    0
  • cPJustinD
    Hi there! The expression in the line you referenced appears to be regex or regular expression: \N = Match anything but new lines ^ = Start of line \d = Any digit We've published an article that contains a bit more information on regex here:
    0
  • Sajawal
    Hi there! The expression in the line you referenced appears to be regex or regular expression: \N = Match anything but new lines ^ = Start of line \d = Any digit We've published an article that contains a bit more information on regex here:
    0
  • cPJustinD
    I'm glad I could help! Let us know if you have any other questions or concerns!
    0

Please sign in to leave a comment.