Install Anti-Spam Firewall for any email server in 30 minutes

Want to support HowtoForge? Become a subscriber!
 
Submitted by mariusgologan (Contact Author) (Forums) on Wed, 2012-06-06 18:49. :: Anti-Spam/Virus | Debian | Ubuntu | Security

Install Anti-Spam and DLP for any server in 30 minutes

Description

• Designed for Linux and Windows email system administrators, Scrollout F1 is a free anti-spam and anti-virus email firewall (gateway) for multiple domains and email servers, with DLP for outgoing messages filtering Excel, Word, PDF and image files (archived or hidden). This document describes how to install Scrollout F1 from scratch, on a fresh Ubuntu Server or Debian. 

The installation is easy. Even if you are a newbie in Linux there is not much room for errors.

Estimated time: 30 minutes.
The video below covers an alternative to this article using the .iso image. 

Download And Install Ubuntu Server or Debian

First, a clean Ubuntu operating system or Debian must be installed. Do not use an existing system on which you have installed other applications and services like an existing web server and email server. The installation process will overwrite the existing settings.

Download latest stable version of Ubuntu Server. Usually, it is called LTS (Long Term Support). It is free and you can find it here:
http://www.ubuntu.com/download/server

For Debian, use http://www.debian.org/distrib/netinst#smallercd. The installation process is almost identical to Ubuntu, but lighter and faster.

Chose the right version for you: 32 bit or 64 bit. Normally, if you have multicore processors and lots of GB of RAM you should go for 64 bit version, but if you are not sure download the 32 bit version. It will work on 64 bit too.

Install Ubuntu Server, Alternate or Debian.

Important note: When you are asked to configure network connection please make sure you input the correct settings. You need a working Internet connection in order to download and install Scrollout F1.

 

Download And Install Scrollout F1

Login to the Ubuntu terminal console using your user and password. For Debian use "root" account.
Make sure your internet connection is working properly and type the following commands:

apt-get install sudo -y

sudo –i

cd /tmp

wget http://sourceforge.net/projects/scrollout/files/update/scrolloutf1.tar/download -O scrolloutf1.tar

tar -xvf scrolloutf1.tar

chmod 755 /tmp/scrolloutf1/www/bin/*

/tmp/scrolloutf1/www/bin/install.sh

Press-hit ENTER every time you are asked to answer a question. By doing this you will select the default recommended answer.

When done, the Graphic User Interface URL address and default Admin password will be displayed.

In case you'll decide to uninstall:

/var/www/bin/uninstall.sh 


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Tue, 2012-07-03 21:44.
it worked perfectly under Debian wheezy for me. But on my notebook I don't need it so I tried to uninstall all witch is really stupid. It would be nice to have a script for it.
Submitted by mariusgologan (registered user) on Thu, 2012-07-05 16:35.

Starting with version 2012-07-05, try: 

/var/www/bin/uninstall.sh 
Submitted by Anonymous (not registered) on Mon, 2012-06-11 18:59.

Has anyone installed it in a Debian system?

I've tried three attempts and three failures. I always end with a mesh of web page.

Submitted by Anonymous (not registered) on Tue, 2012-06-12 11:05.

Using that web page you can configure scrollout as SMTP inbound gateway:
Input a hostname: hostexample.
Input your domain(s): mydomain.com
input your real email server that stores the emails for mydomain.com: [192.168.1.2]
make sure you have an MX record in the DNS like: hostexample.mydomain.com pointing to the Debian server where scrollout is installed.

A rough diagram:
Internet ---> DNS MX pointing to ---> Scrollout F1 filtering (Debian) ---> Real email server

 

 

Submitted by thbe (registered user) on Sun, 2012-06-10 13:09.

 Good stuff but unfortunately this project mess around with /etc/resolv.conf which in Ubuntu 12.04 (at least) is a soflink poiting elsewhere. This file is generated and overwriten by resolvconf. It also rewrite /etc/network/interfaces. Good or bad??

Submitted by Lionel (not registered) on Mon, 2012-06-11 16:28.
I had the same problem.

To solve it,  I reserved IP address in my DHCP server and activated the automatic network configuration in ScrolloutF1.

Regards,
Submitted by mariusgologan (registered user) on Mon, 2012-06-11 10:42.
1. I will escalate this /etc/resolv.conf issue and release an update asap. (this occurred after 10.04 or 8.04 - not sure). 
I'm considering native Debian as an alternative for the OS, instead of Ubuntu.

2. /etc/network/interfaces file stores part of the connection settings (ip, mask, gateway). The file must be changed (rewritten) when the network is reconfigured.

Thank you.
Marius.

Submitted by Anonymous (not registered) on Wed, 2012-06-20 14:10.
The use of resolvconf started in 12.04. It has thrown off a bunch of folks now that adding DNS nameserver info into the /etc/network/interfaces is needed.

Resolvconf was definitely NOT part of 10.04. Back then, we just edited the /etc/resolve.conf manually ... you know like we have since 1990. We don't use non-LTS releases, so I can't talk about 11.10 and resolveconf.
Submitted by Marius Gologan (not registered) on Sun, 2012-06-24 08:46.
After testing "resolvconf" cmd line I decided to remove resolvconf package during installation and update. It works one way (interfaces writes date in resolv.conf) and is not clear to me how it handles one record (domain) out of three (nameserver, search and domain).

I also noticed that inputs any record and value in resolv.conf:
echo "funny-dns 192.168.he.he" | resolvconf -a eth0

Regards,
Marius.
Submitted by Andreas (not registered) on Mon, 2012-07-02 00:46.

Is there a simple way of uninstalling this? Seemed like a very non-debian package, and I want it gone.