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.

email user/Account filters help

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

  1. milind

    milind Well-Known Member

    Joined:
    Jan 15, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. milind

    milind Well-Known Member

    Joined:
    Jan 15, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page