Thursday, September 11, 2014

Remove Commtouch Tests for ANTI-SPAM in UNTANGLE

If you run the free version of Untangle NG Firewall, your machine may be making unnecessary tests for spam using the Commtouch SpamAssassin plugin. This plugin requires a license. If you don't plan on purchasing a license,  you can disable the plugin as directed below.

Note: Enable SSH access to your Untangle box and connect to it using an SSH client such as putty.
  1. Navigate to /etc/spamassassin
  2. Open ctasd.pre in your preferred text editor
  3. Insert a pound (#) symbol before the loadplugin line, as seen below
  4. Save and close the file
  5. Restart SpamAssassin with command:  /etc/init.d/spamassassin restart
#loadplugin Mail::SpamAssassin::Plugin::CTASD

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/