Jump to content

Vardhman spam blocking: Difference between revisions

From TetraWiki
Faisal (talk | contribs)
Created page with "Category:Zimbra Category:Vardhman Normal blacklist process of zimbra is not working in vardhman, this is why blocking was implemented on postfix at smtp level. Same..."
 
Brijesh (talk | contribs)
No edit summary
Line 11: Line 11:
   
   
  user@domain.com  REJECT
  user@domain.com  REJECT
  *@domain2.com    REJECT
  domain2.com    REJECT





Revision as of 13:24, 30 October 2015


Normal blacklist process of zimbra is not working in vardhman, this is why blocking was implemented on postfix at smtp level.

Same has been done on all the three servers of vardhman.

su - zimbra
vim /opt/zimbra/postfix/conf/sender_access  

user@domain.com   REJECT
domain2.com     REJECT


vim /opt/zimbra/conf/postfix_recipient_restrictions.cf

Add following as 2nd line

check_sender_access hash:/opt/zimbra/postfix/conf/sender_access

Create hash and restart postfix

postmap /opt/zimbra/postfix/conf/sender_access
postfix stop
postfix start

Reference:- http://wiki.zimbra.com/wiki/Rejecting_Emails_at_SMTP_Level