Skip to main content

Spam bypassing account level and user-level filters

Comments

5 comments

  • cPanelPeter cPanel Staff
    Hello, Feel free to open a support ticket for these issues. You can use the link in my signature, then please post the ticket numbers here so we can update this thread accordingly. It should be 2 different tickets, because it's technically two different issues.
    0
  • openaccess
    Solution worked out via support ticket is to use: From match regex \.eu$ Where \ escapes the period. Without an escape, the period acts as wildcard, which would also work in this situation, but with other strings it could cause other TLDs to possibly match. $ forces this string to only match at the end of the email address.
    0
  • cPanelMichael
    I am happy to see the issue was resolved. Thank you for updating us with the outcome.
    0
  • openaccess
    After additional cPanel ticket discussions, an even better regex was decided upon: \.eu(\>)?$ This is necessary because the string pulled from the From address is not always consistent. Sometimes it is as you would think, "username@domain.tld", but sometimes it is "". This regex matches both, so none can bypass the filter due to behind the scenes string differences. This sort of identifies a cPanel bug (cPanel filters should automatically exclude the less than or greater than signs when comparing the string to the filter).
    0
  • toplisek
    [quote="openaccess, post: 1735432"> \.eu(\>)?$
    So, I should put for all discarded messages the following: Rules: From, Matches regex \.link(\>)?$ \.us(\>)?$ Is this correct?
    0

Please sign in to leave a comment.