email user/Account filters help

milind

Well-Known Member
Jan 15, 2006
113
0
166
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. [email protected]
2. [email protected]
3. [email protected]
4. [email protected]
5. [email protected]

Now, what I want is.
1. If I sets the rule: "[email protected]" should be able to send mail only to "[email protected], [email protected] and [email protected]". Then "[email protected]" 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: [email protected] 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.