From ArchWiki
Revision as of 05:59, 19 September 2012 by Fengchao (talk | contribs) (Fix category. Add poor writing flag.)
Jump to: navigation, search

Template:Article summary start Template:Article summary text Template:Article summary end

The Anti-Spam SMTP Proxy (ASSP) Server project aims to create an open source platform-independent SMTP Proxy server which implements auto-whitelists, self learning Bayesian, Greylisting, DNSBL, DNSWL, URIBL, SPF, SRS, Backscatter, Virus scanning, attachment blocking, Senderbase and multiple other filter methods.


  • Multiple Weighted DNSBLs
  • Multiple Weighted URIBLs
  • Greylisting
  • Weighted Regular Expression Filtering
  • Bayesian
  • Penalty Box
  • SenderBase
  • Attachment Blocking
  • ClamAV and FileScan
  • Blocking Reporting
  • LDAP support
  • Backscatter Detection
  • V2 - recipient replacement / GUI user access rights management
  • V2 - MIME charset conversion / DKIM check and signing
  • V2 - DB support for all hashes / level based open plugin support
  • V2 - transparent proxy support / BATV check and signing
  • V2 - Plugins: archive, full attachment check and replacement, OCR
  • V2 - damping (steal spammers time)
  • V2 - AUTH to relay host / POP3 collector
  • V2 - configuration value and file synchronization
  • V2 - Block Reports design could be customized
  • V2 - Razor2 and DCC support via Plugin
  • V2 - SNMP support (monitoring, configuring, controll-API)
  • V2 - user group import (file or LDAP or command based)
  • V2 - automatic crash analyzer Hidden Markov Model
  • V2 - IPv6 socket support
  • V2 - word stemming (several languages) for Bayesian analyzer
  • V2 - Perl module autoupdate via PPM or CPAN
  • V2 - Hidden Markov Model spam detection engine
  • V2 - full unicode support


Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: Do not use yaourt for AUR package. Do not use sudo. See Help:Style. (Discuss in User talk:BM/Assp#)


Install the following Perl Modules and there dependencies with for example yaourt

# yaourt -S perl-compress-zlib perl-email-valid perl-mail-spf perl-email-mime perl-net-dns perl-email-send perl-io-socket-ssl perl-io-socket-inet6 perl-net-cidr-lite

Install the following Software, too.

# yaourt -S unzip clamav

Download ASSP


Create necessary directories

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

Install files in place

# cd /usr/share/
# sudo unzip /path/to/ASSP_<version>_<build>
# sudo rm *.txt


Install Perl Modules via CPAN

# perl -MCPAN -e shell
cpan> test File::Scan::ClamAV
cpan> look File::Scan::ClamAV
[root@trim File-Scan-ClamAV-1.91-VHJd1I]# vim clamav.conf
Foreground true
ScanArchive true
[root@trim File-Scan-ClamAV-1.91-VHJd1I]# make install
Installing /usr/share/perl5/site_perl/File/Scan/
Installing /usr/share/man/man3/File::Scan::ClamAV.3pm
Appending installation info to /usr/lib/perl5/core_perl/perllocal.pod
[root@trim File-Scan-ClamAV-1.91-VHJd1I]# exit

cpan> exit
Terminal does not support GetHistory.
Lockfile removed.
$ perl -MCPAN -e 'install Net::IP::Match::Regexp'
$ perl -MCPAN -e 'install Net::SenderBase'
$ perl -MCPAN -e 'install Tie::RDBM'
$ perl -MCPAN -e 'install Net::Syslog'
$ perl -MCPAN -e 'install Time::HiRes'
$ perl -MCPAN -e 'install File::ReadBackwards'
$ perl -MCPAN -e 'install Email::MIME::Modifier'
$ perl -MCPAN -e 'install Mail::SRS'
$ perl -MCPAN -e 'install Sys::Syslog'
$ perl -MCPAN -e 'install Net::LDAP'


Start script

# sudo vim /etc/rc.d/assp