Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-09-2007, 02:13 PM
Junior Member
 
Posts: 9
Default How to handle different RBL return codes

Hi all,

Is there a way for zimbra to handle different RBL return codes? For example, a lookup on an IP to a RBL list might return

127.0.0.2. I want this blocked. Another IP returns 127.0.0.4, I dont want to block this return code.

Is there a way to achieve this?

Cheers,

B
Reply With Quote
  #2 (permalink)  
Old 10-09-2007, 05:32 PM
Moderator
 
Posts: 6,237
Default

If you don't specify the return codes necessary, postfix will reject based on any return value right?
So it would just be:
Quote:
zmprov mcf zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.2"
Before running that see what other checks you have enabled so you don't accidentally turn them off. Optionally you can use + to add one at a time.
Quote:
zmprov gacf | grep zimbraMtaRestriction
So to skip .4 you might set something like this (on one line):
Quote:
zmprov mcf zimbraMtaRestriction reject_invalid_hostname zimbraMtaRestriction reject_non_fqdn_hostname zimbraMtaRestriction reject_non_fqdn_sender zimbraMtaRestriction reject_unknown_sender_domain zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.1" zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.2" zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.3" zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.5"
Careful with reject_unknown_client & reject_unknown_hostname as they can block more than you think sometimes...

Last edited by mmorse; 10-10-2007 at 05:03 AM..
Reply With Quote
  #3 (permalink)  
Old 10-09-2007, 11:31 PM
Junior Member
 
Posts: 9
Default

Thanks Mike,

Exactly what I was after.

I know with exim I have used rbl.com=127.0.0.1,127.0.0.2

Do you know if zimbra will accept a comma separated list rather than listing each RBL multiple times to cater for the multiple return codes?

Cheers,

Brad
Reply With Quote
  #4 (permalink)  
Old 10-10-2007, 04:52 AM
Moderator
 
Posts: 6,237
Default

I would think it had to have been implemented sometime; however I do not know what postfix version that might have fallen in...

I'll add this for you too - as I see this is only your 4th post
For more anti-spam methods:
Check out this post and below for things that are built into zcs /forums/administrators/11142-i-dont-think-rbls-bayes-working-me.html#post58026 (it kinda turned into a general article-I'll make sure everything's on the wiki sometime)
Then see this article for further ideas Improving Anti-spam system - ZimbraWiki

Last edited by mmorse; 10-10-2007 at 08:50 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.