Domain level blocking of users: Difference between revisions

(Adding article footer and category)
mNo edit summary
Line 5: Line 5:
1. Edit /opt/zimbra/conf/zmmta.cf
1. Edit /opt/zimbra/conf/zmmta.cf
   Add this line below (smtpd_recipient_restrictions)
   Add this line below (smtpd_recipient_restrictions)
         POSTCONF smtpd_sender_restrictions FILE postfix_sender_restrictions
         POSTCONF smtpd_sender_restrictions FILE postfix_sender_restrictions.cf


2. Create file /opt/zimbra/conf/postfix_sender_restrictions with the below line:
2. Create file /opt/zimbra/conf/postfix_sender_restrictions.cf with the below line:
   hash:/opt/zimbra/postfix/conf/reject
   hash:/opt/zimbra/postfix/conf/reject



Revision as of 15:45, 13 November 2009

Below mentioned are the steps to "REJECT" an external email address from sending mail to the users of the Zimbra Domain.

The same results can also be achieved using Amavis via blacklisting.

1. Edit /opt/zimbra/conf/zmmta.cf

  Add this line below (smtpd_recipient_restrictions)
       POSTCONF smtpd_sender_restrictions FILE postfix_sender_restrictions.cf

2. Create file /opt/zimbra/conf/postfix_sender_restrictions.cf with the below line:

  hash:/opt/zimbra/postfix/conf/reject

3. Create file /opt/zimbra/postfix/conf/reject with the list of email address to be rejected in the below format:

  user@domain.com     REJECT

4. postmap /opt/zimbra/postfix/conf/reject

5. zmmtactl stop ; zmmtactl start

Please note that this change will not survive an upgrade and you will have to redo these after the upgrade.


Verified Against: Unknown Date Created: 10/29/2008
Article ID: https://wiki.zimbra.com/index.php?title=Domain_level_blocking_of_users Date Modified: 2009-11-13



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search