Jump to content

Aimil RBL-Overirde-in zimbra: Difference between revisions

From TetraWiki
Amit (talk | contribs)
Created page with "''' == RBL Overriding in Zimbra == ''' ''' Issue ''' Customer Reported he is not able to get the mail from the specific standerd domain. ''' Understanding ''' We are usi..."
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[category:Tetra Clients]]
[[category:AIMIL]]
'''
'''
== RBL Overriding in Zimbra ==
== RBL Overriding in Zimbra ==
Line 5: Line 9:
''' Issue '''
''' Issue '''


Customer Reported he is not able to get the mail from the specific standerd domain.
Customer Reported he is not able to get the mail from the specific standerd domain.


''' Understanding '''
''' Understanding '''


We are using RBLs (such as zen.spamhaus.org) to block spam, the whitelist method in the Wiki does not work. This is because the wiki method is for spamassasin not postfix, Postfix will check incoming messages against the RBL first, and allow/reject accordingly. So if we have a sender listed on a RBL, we need to whitelist them in Postfix.
We are using RBLs (such as zen.spamhaus.org) to block spam, the whitelist method in the Wiki does not work. This is because the wiki method is for spamassasin not postfix, Postfix will check incoming messages against the RBL first, and allow/reject accordingly. So if we have a sender listed on a RBL, we need to whitelist them in Postfix.


''' Solution '''
''' Solution '''


Login As Zimbra User.
Login As Zimbra User.


vim /opt/zimbra/conf/postfix_rbl_override #postfix_rbl_override can be of any name whatever we want to define and entries in the file should be like:
vim /opt/zimbra/conf/postfix_rbl_override #postfix_rbl_override can be of any name whatever we want to define and entries in the file should be like:


  1.2.3.4  OK # for the Ip Addresses  
  1.2.3.4  OK # for the Ip Addresses  
  live.com OK # for the domain
  live.com OK # for the domain


save & exit;
save & exit;


Hit the below command to generate the db file of the above file
Hit the below command to generate the db file of the above file


  postmap /opt/zimbra/conf/postfix_rbl_override  
  postmap /opt/zimbra/conf/postfix_rbl_override  


To get it known the significance of the above file by postfix do as below:
To get it known the significance of the above file by postfix do as below:


vim /opt/zimbra/conf/postfix_recipient_restrictions.cf
vim /opt/zimbra/conf/postfix_recipient_restrictions.cf


  reject_unauth_destination # Add below this line to check the file  
  reject_unauth_destination # Add below this line to check the file  
  check_client_access hash:/opt/zimbra/conf/postfix_rbl_override
  '''check_client_access hash:/opt/zimbra/conf/postfix_rbl_override'''
  reject_unlisted_recipient
  reject_unlisted_recipient


save & exit;  
save & exit;  


To get the whole configuration refleted hit the below command:
To get the whole configuration refleted hit the below command:


  zmmtaclt resart
  zmmtaclt resart

Latest revision as of 10:54, 10 July 2014


RBL Overriding in Zimbra[edit]

Issue

Customer Reported he is not able to get the mail from the specific standerd domain.

Understanding

We are using RBLs (such as zen.spamhaus.org) to block spam, the whitelist method in the Wiki does not work. This is because the wiki method is for spamassasin not postfix, Postfix will check incoming messages against the RBL first, and allow/reject accordingly. So if we have a sender listed on a RBL, we need to whitelist them in Postfix.

Solution

Login As Zimbra User.

vim /opt/zimbra/conf/postfix_rbl_override #postfix_rbl_override can be of any name whatever we want to define and entries in the file should be like:

1.2.3.4  OK # for the Ip Addresses 
live.com OK # for the domain

save & exit;

Hit the below command to generate the db file of the above file

postmap /opt/zimbra/conf/postfix_rbl_override 

To get it known the significance of the above file by postfix do as below:

vim /opt/zimbra/conf/postfix_recipient_restrictions.cf

reject_unauth_destination # Add below this line to check the file 
check_client_access hash:/opt/zimbra/conf/postfix_rbl_override
reject_unlisted_recipient

save & exit;

To get the whole configuration refleted hit the below command:

zmmtaclt resart