[zimbra@mail]$ more /opt/zimbra/conf/postfix_recipient_restrictions.cf
check_sender_access hash:/opt/zimbra/postfix/conf/restricted_senders
%%contains VAR:zimbraServiceEnabled cbpolicyd, check_policy_service inet:127.0.0.1:10031%%
reject_non_fqdn_recipient
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
reject_unlisted_recipient
[zimbra@mail]$ more /opt/zimbra/conf/zmmta.cf | grep -2 "SECTION mta"
SECTION mta DEPENDS amavis
POSTCONF smtpd_restriction_classes local_only
POSTCONF local_only FILE postfix_check_recipient_access.cf
[zimbra@mail]$ more /opt/zimbra/conf/postfix_check_recipient_access.cf
#permit to only specified addresses and sending all others are also blocked
check_recipient_access hash:/opt/zimbra/postfix/conf/local_domains, reject
[zimbra@mail]$ more /opt/zimbra/postfix/conf/restricted_senders
# sending restriction
test@mydomain.com local_only
[zimbra@mail]$ more /opt/zimbra/postfix/conf/local_domains administrator@mydomain.com OK
test@mydomain.com OK
user1@mydomain.com OK
user2@mydomain.com OK
[zimbra@mail]$ su
chown root /opt/zimbra/postfix/conf/*.*
chown root /opt/zimbra/postfix/conf/*
chgrp postfix /opt/zimbra/postfix/conf/*.*
chgrp postfix /opt/zimbra/postfix/conf/*
postmap /opt/zimbra/postfix/conf/local_domains
postmap /opt/zimbra/postfix/conf/restricted_senders
[zimbra@mail]$exit
[zimbra@mail]$zmmtactl stop; zmmtactl start
now insted of given addresses
user1@mydomain.com;
user2@mydomain.com etc... i am unable to send mail to any addresses.