Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email filters and sender's display name

Discussion in 'E-mail Discussion' started by rtc35, Jul 2, 2013.

  1. rtc35

    rtc35 Registered

    Joined:
    Jul 1, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hello,

    I've written an account level email filter to stop spam using a regex match, but I'm really trying to match the display name of the sender, not the actual email address, which dynamically changes. I'm getting dozens of emails from iGreatLife, iSlimBody, iTopHealth and so on. I'm not sure if a From rule filters according to address or display name or both, but the spam is still coming.

    My regex is here, if it's helpful: i[A-Z]{1}[a-z]{2,10}[A-Z]{1}[a-z]{2,10}.*

    Thanks,
    Robin
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Have you considered creating a filter based on the message body? This may be more reliable than creating a filter for the display name of the sender.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice