Well..firstly I created /opt/zimbra/postfix/conf/permitted_senders and made below entry
localhost OK
abc.com OK
zimbra.abc.com OK
Then I created /opt/zimbra/postfix/conf/protected_recipients and made below entries
xyz@abc.com permitted_senders_list
Then I made a bash script in /opt/zimbra/postfix/conf/update_protected_recipients with below entries
#!/bin/bash
echo "rebuild permitted_senders"
postmap /opt/zimbra/postfix/conf/permitted_senders
echo "rebuild protected_recipients"
postmap /opt/zimbra/postfix/conf/protected_recipients
And made this script executable by chmod 755
and executed which made two files under /opt/zimbra/postfix/conf
1)permitted_recipients.db
2)protected_recipients.db
Then I made below entries in /opt/zimbra/conf/main.cf
permitted_senders_list = check_sender_access hash:/opt/zimbra/postfix/conf/permitted_senders, reject
smtpd_restriction_classes = permitted_senders_list
Then edited /opt/zimbra/conf/postfix_recipient_restrictions.cf and made first line entry
check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients
Then I restarted postfix by
postfix reload
After this I tried to send mail from webmail of any user of abc.com to the distribution list but everytime it showed one error msg of
"The following recipient(s) cannot be reached:
'xyz@abc.com' on 22/09/2009 10:34 AM
451 4.3.5 Server configuration error"
Please check If i have done anything wrong.