[SOLVED] Restrict users not to send mail on outside domain
I have configured Zimbra in my local LAN as a internal mail server. called "jay.com". I have create 3 users like email@example.com, firstname.lastname@example.org, email@example.com. Now I want to make policy as below.
1. User firstname.lastname@example.org and email@example.com are allowed to send mail only on jay.com not anyother like gmail, yahoo.
2. firstname.lastname@example.org can send mail internal domain (jay.com) as well as external domain like yahoo, gmail etc....
At present I have allowed 127.0.0.1 in relaying as below:
#cat /opt/zimbra/postfix/conf/main.cf |grep mynetworkmynetworks = 127.0.0.0/8
mynetworks = 127.0.0.0/8
Now how can restrict users as per above policy?