I think, therefore I blog

How to Install ASSP 2.x on Debian 7 Wheezy

By , 18 March 2015

How to Install ASSP 2.x on Debian 7 Wheezy
How to Install ASSP 2.x on Debian 7 Wheezy

ASSP is an SMTP proxy than runs infront of your mailserver to filter out all the spam email. Despite being implemented as a monolothic, indecipherable perl script, it is actually very effective and runs with very little intervention once you have it configured correctly.


Get the code from assp.sourceforge.net and extract it to /opt/assp-2.4.3 or wherever you would like to deploy it.

Install dependencies

The README has some details about downloading dependencies from CPAN, however my preference is to use the Debian packages wherever possible, so I figured out which packages those were and came up with this list:

How to Install ASSP 2.x on Debian 7 Wheezy
# apt-get install libnet-dns-perl libauthen-sasl-perl libmail-spf-perl \
          libregexp-optimizer-perl libfile-readbackwards-perl \
          libnetaddr-ip-perl libnet-cidr-lite-perl libmail-dkim-perl \
          libnet-ldap-perl libunicode-string-perl libemail-send-perl \
          libemail-mime-perl libtext-unidecode-perl \
          liblingua-stem-snowball-perl libsys-cpu-perl libthreads-perl \
          libschedule-cron-perl libdigest-sha-perl libmime-types-perl \
          libclamav-client-perl libarchive-zip-perl libberkeleydb-perl \
          liblingua-identify-perl libsys-cpuload-perl \
          libthreads-shared-perl libunicode-linebreak-perl

Missing dependencies

The following dependencies aren't available as debian packages and you can install them from CPAN if you want. ASSP handles missing dependencies quite well so it will work fine without them if you don't want to go the CPAN route.


Install startup scripts

The distribution comes with come handy startup scripts, just cd into your ASSP base dir and copy them to the system directories.

    # cp rc/_etc_default_assp.debian /etc/default/assp
    # cp rc/_etc_init.d_assp.debian /etc/init.d/assp
    # chmod +x /etc/init.d/assp
    # insserv assp

You will need to update the BASE and PIDFILE properties in /etc/default/assp.

    # vim /etc/default/assp



Now you can start ASSP and configure the spam filter via it's web interface.

    # /etc/init.d/assp start

The configuration out the box is pretty good, although you'll most likely was to set 'AsADaemon' to 1 and give some though as to what user you want to run the application as. The URL to configure ASSP will be something like:


Happy Despamming!


About Roger Keays

How to Install ASSP 2.x on Debian 7 Wheezy

Roger Keays is an artist, an engineer, and a student of life. Since he left Australia in 2009, he has been living as a digital nomad in over 40 different countries around the world. Roger is addicted to surfing. His other interests are music, psychology, languages, and finding good food. Click here to subscribe to his weekly blog, or stalk him on Facebook and Twitter.

Leave a Comment

Please visit https://RogerKeays.com/how-to-install-assp-2-x-on-debian-7-wheezy to add your comments.

Comment posted by: FT, last year

This was super-helpful- thx.

Comment posted by: , last year

Hi John, I'm not using ClamAV so I don't know exactly how to configure it. The dependency list I built in this article were all those suggested by ASSP so I don't think you need any other perl libraries to get it working. But yeh, you'd have to install the ClamAV daemon and do whatever magic it takes to set that up...

Comment posted by: John, last year

Hi Roger,

thank you for your nice and clean article. Maybe a dumb question: Clamav with Clamav daemon has to be installed as well to have all dependencies ?

Or did I miss something ?

Join Over 1000 Subscribers

I write every Sunday about travel, psychology, and technology. Thousands of people just like you have already subscribed—and for good reason. It'll change your life. And it's free :)

Read a Good Book

“A spellbinding true story of love, passion and adventure. One can’t help but be swept away by 100% Love Guaranteed.” —Dr Tammie Matson, author of Elephant Dance.

Chat For A While

Your Vote Matters

Which animal will take over when humans go extinct?