Using RBLs for SpamAssassin score

Discussion in 'Installation/Configuration' started by Loveless, Apr 8, 2017.

  1. Loveless

    Loveless Member

    ISPConfig Version: 3.1.2
    Operating System: Ubuntu 16.04.2 LTS

    I've been trying to put my favorite RBLs to use for the spam-filtering. Now, I've found a setting under
    System > Server Config > Mail
    called "Real-time Blackhole List" and I've put
    badconf.rhsbl.sorbs.net, virbl.dnsbl.bit.nl, zen.spamhaus.org, truncate.gbudb.net, dnsbl.inps.de, 0spam.fusionzero.com​
    in there, but it's unclear if this is even using/adding to the SA score or to amavisd-new, or directly into postfix. I would like to have them add to the SA score, so it doesn't block mail, but just makes it go into the user's Junk folder by default, serverwide.
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    The RBLs are for postfix. If you want to use RBLs in SA, add them to the spamassassin-config.
     
  3. Loveless

    Loveless Member

    Here's an example ruleset with RBL at the bottom.
    https://gist.github.com/jult/9bfdc4d07b44be01a02cc2aaf25b7c39

    I'm somewhat saddened by how overly complex SA made it to add RBLs. It's like I'm writing in Erlang again.
    You should just have 1 file with all of them, with a score value behind each and that should be enough.
    Considering blocking at the MTA (postfix) would just be a 1 or 0 delivery for DNSBLs, it's an insane 'upgrade' to have to write complex rules for each.
     
    Last edited: Apr 6, 2018

Share This Page