[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 firstname.lastname@example.org, email@example.com, firstname.lastname@example.org. Now I want to make policy as below.
1. User email@example.com and firstname.lastname@example.org are allowed to send mail only on jay.com not anyother like gmail, yahoo.
2. email@example.com 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?