Results 1 to 4 of 4

Thread: How to handle different RBL return codes

  1. #1
    bking is offline Junior Member
    Join Date
    Dec 2006
    Posts
    9
    Rep Power
    8

    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

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    If you don't specify the return codes necessary, postfix will reject based on any return value right?
    So it would just be:
    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.
    zmprov gacf | grep zimbraMtaRestriction
    So to skip .4 you might set something like this (on one line):
    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.

  3. #3
    bking is offline Junior Member
    Join Date
    Dec 2006
    Posts
    9
    Rep Power
    8

    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

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 02:27 PM
  2. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 09:35 AM
  3. AjxUtil.xmlToJs can't handle namespaces
    By smies in forum Developers
    Replies: 6
    Last Post: 11-08-2005, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •