Wednesday, September 10, 2014

Adding RBLs to Untangle Free Edition



This applies to version 10 of Untangle. It requires SSH terminal access to your Untangle server.

This method does not block spam via the tarpit feature of Untangle. It allows you to set a score for mail received that is from servers on the specified RBL. This score determines whether or not mail is marked as spam or discarded completely.

SpamAssassin configuration customizations can be done in /etc/spamassassin/local.cf

  1. Open local.cf in your preferred text editor. 
  2. Add RBL as shown below to the configuration.
  3. Save and close the local.cf file
  4. Run /etc/init.d/spamassassin restart

Here's an example RBL to add to your local.cf file. This is merely a typical way to add RBLs to SpamAssassin. Change the score to what you deem as acceptable. 0 is disabled.

# Barracuda DNSBL: http://barracudacentral.org/
header __RCVD_IN_BARRACUDA            eval:check_rbl('barracuda', 'b.barracudacentral.org.')
describe __RCVD_IN_BARRACUDA          Received via a black list in b.barracudacentral.org
tflags __RCVD_IN_BARRACUDA            net
reuse  __RCVD_IN_BARRACUDA


header RCVD_IN_BARRACUDA              eval:check_rbl_sub('barracuda', '127.0.0.2')
describe RCVD_IN_BARRACUDA            Received via host in barracuda DNSBL list
tflags RCVD_IN_BARRACUDA              net
reuse  RCVD_IN_BARRACUDA
score RCVD_IN_BARRACUDA        0


 Here are some links to some other RBLs

 Spam Eating Monkey
http://spameatingmonkey.com/index.html
Using in SpamAssassin: http://spameatingmonkey.com/usage.html#sa

Spam Rats
http://spamrats.com/













No comments:

Post a Comment