This time, it’s about limiting email certain user on Zimbra to only send email to local domain on certain domain.

Edit /opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions.cf and add below line after permit_sasl_authneticated

Edit  /opt/zimbra/conf/zmconfigd.cf file and add line below at postfix groups before “RESTART mta” line.

Create new file  /opt/zimbra/conf/postfix_check_recipient_access.cf  with below lines.

Now, create the files /opt/zimbra/postfix/conf/restricted_senders and list the restricted user on the file. Example;

Create /opt/zimbra/postfix/conf/local_domains. This will be the list where the restricted sender above. Example;

Now, update the all lmdb files above and restart zimbra mta

Previous ArticleNext Article

Leave a Reply

Your email address will not be published. Required fields are marked *