User to User mail Restriction in Zimbra
I have a Zimbra Installed and I want users to divide in 2 different type of user category (Category A and Category B) Category A which can send mails to Both Category (A & B) users and Category B which can only send mails to Category A not to Category B Users.
Please Suggest how can I apply this policy……
User to User mail Restriction
I have used the same procedure as suggested in
Restrict sending to certain domains - Zimbra :: Wiki
My Zimbra Version is ZCS 4.5 and install on ubuntu 6.0.6
echo "zimbra1.example.com restrict_tpmail" > tpmail_senders
echo "zimbra2.allowed.com OK" > tpmail_recipients
Added these Lines in zmmta.cf
POSTCONF smtpd_sender_restrictions FILE postfix_sender_restrictions.cf
POSTCONF smtpd_restriction_classes restrict_tpmail
POSTCONF restrict_tpmail FILE postfix_restrict_tpmail.cf
echo "check_sender_access hash:/opt/zimbra/conf/tpmail_senders" > postfix_sender_restrictions.cf
echo "check_recipient_access hash:/opt/zimbra/conf/tpmail_recipients, reject" >> postfix_restrict_tpmail.cf
Bust Still Zimbra1 useris able to send mails to zimbra1 users.