Friday Sep 10
English French German Italian Portuguese Russian Spanish Filipino

ASSP the best free Open Source Anti-Spam SMTP Proxy - Page 2 Installing 1.3.3.8

Attention: open in a new window. PrintE-mail
Article Index
ASSP the best free Open Source Anti-Spam SMTP Proxy
Page 2 Installing 1.3.3.8
Page 3 Starting ASSP
Page 4 Making script executable
Page 5 Login
Page 6 Test mode
Page 7 Forwarding spam
Page 8 Installing 1.4.3.0
Page 9 Create directories
Page 10 1.4.3.0 Startup script
Page 11 Making 1.4.3.0 script executable
All Pages


Server specs:

Centos 5.2
512 megs ram
30 gig hd
using default partition

Disable Sendmail from starting up during bootup, terminating it as well if it is running.

Open up a shell then install needed ASSP perl modules by typing in at command prompt.

perl -MCPAN -e shell

at cpan> prompt type in

cpan> install Archive::Zip (answering yes to any unsatisified dependencies use default answer for any other questions. Install perl modules using sequence below.

 

When using Debian Etch, perl modules could be installed using this way:

apt-get install libcompress-zlib-perl libdigest-md5-perl 
libemail-valid-perl libfile-readbackwards-perl libmail-spf-query-perl
libmail-srs-perl libnet-dns-perl libsys-syslog-perl libnet-ldap-perl
libtime-hires-perl unzip

 

When using Debian Lenny.

apt-get install libcompress-zlib-perl libemail-valid-perl libfile-readbackwards-perl libmail-spf-perl libemail-mime-perl \
libemail-mime-modifier-perl libmail-srs-perl libnet-dns-perl libsys-syslog-perl libnet-ldap-perl unzip clamav \
clamav-daemon libemail-send-perl libio-socket-ssl-perl libio-socket-inet6-perl libnet-cidr-lite-perl

 

If an error comes up during installation of any of the perl modules it usually is an indication of an unsatisfied dependency. The error below LWP/Simple shows the perl module LWP:Simple is missing.

 

error_missing_perl_module

 

 

Archive::Zip
HTML::Entities
LWP::Simple
Digest::MD5
File::ReadBackwards
Mail::SPF::Query
Mail::SRS
Sys::Syslog
Time::HiRes
Email::Valid
Net::DNS
Email::MIME::Modifier

 

cpan> quit

 

Download the latest ASSP.

cd /usr/local/src

wget http://sourceforge.net/projects/assp/files/ASSP%20Installation/ASSP%201.6.5.4/ASSP_1.6.5.4-Install.zip/download

Create the directories.

mkdir -p /usr/share/assp/spam
mkdir /usr/share/assp/notspam
mkdir /usr/share/assp/errors
mkdir /usr/share/assp/errors/spam
mkdir /usr/share/assp/errors/notspam

unzip ASSP_1.6.5.4-Install.zip
mv -f ASSP/* /usr/share/assp
rm -rf ASSP_1.6.5.4Install
chown -R nobody:nogroup /usr/share/assp

apt-get install build-essential

More perl modules to install

Net::IP::Match::Regexp

Net::SenderBase

Installing this perl module will only work if you have the MySQL database installed. If you have it installed the install process will look for a database called test. Create this if you do not have it.

It also has to be install using

perl -MCPAN -e shell

Tie::RDBM