The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Multiple email addresses account filter?

Discussion in 'E-mail Discussions' started by Faresbd, Jun 10, 2017.

Tags:
  1. Faresbd

    Faresbd Registered

    Joined:
    Jun 10, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai - UAE
    cPanel Access Level:
    Root Administrator
    Hello,
    I need to create an account filter to prevent a list of email addresses from sending emails to my domain. Is there a way to include all those addresses in one filter.
    Example: abc@abc.com;123@abc.com

    Thank you
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,405
    Likes Received:
    53
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You'd need to separate each email address with an "OR" statement when adding the filter rules through cPanel unless you develop a custom regular expression rule. You can find the Exim filter documentation at:

    3. Exim filter files

    You may also find this thread helpful if you would like inspiration for developing a custom filter rule:

    Need to filter ALL email

    Thank you.
     
Loading...

Share This Page