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 user/Account filters help

Discussion in 'E-mail Discussion' started by milind, Jun 21, 2012.

  1. milind

    milind Well-Known Member

    Joined:
    Jan 15, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Nasik (Maharashtra), India
    cPanel Access Level:
    Root Administrator
    Hello everyone,

    I need some help regarding setting up email filters. Following is the scenario
    ==
    Domain: abc.com
    Email ids:
    1. a@abc.com
    2. b@abc.com
    3. c@abc.com
    4. d@abc.com
    5. e@abc.com

    Now, what I want is.
    1. If I sets the rule: "a@abc.com" should be able to send mail only to "b@abc.com, c@abc.com and e@abc.com". Then "a@abc.com" should be able to send mail only to the listed. Even if he sends mail to other accounts ( including abc.com or any other account or any other external mail server like gmail, yahoo ) then the mail should be discarded with a report to the admin.
    ==

    I have tried to set filter like
    From : Equals: a@abc.com or
    to: Equals: *@*.*
    FAIL with message "YOU CANNOT SEND MESSAGE"

    but the problem is if I send mail to any email address in "TO" are getting discarded but if the mail address is in CC mails are getting delivered.

    Please assist.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. milind

    milind Well-Known Member

    Joined:
    Jan 15, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Nasik (Maharashtra), India
    cPanel Access Level:
    Root Administrator
    Thanks for the reply Infopro.. yeah that thread is a bit similar to what I want but I am more concern about send and receive filters between email accounts and outside.
     
    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