Install Perl Modules and there dependencies {{pkg|perl-mail-spf-query}}, {{pkg|perl-email-mime}},{{pkg|perl-net-dns}},{{pkg|perl-email-send}},{{pkg|perl-io-socket-ssl}},{{pkg|perl-io-socket-inet6}},{{pkg|perl-authen-sasl}}, {{pkg|perl-berkeleydb}}, {{pkg|perl-net-cidr-lite}} available in the [[Official repositories]].

−

Install [https://www.archlinux.org/packages/?sort=&q=unzip unzip], [https://www.archlinux.org/packages/?sort=&arch=i686&arch=x86_64&q=net-snmp net-snmp] and [https://www.archlinux.org/packages/?sort=&q=clamav clamav], available in the [[Official Repositories]].

+

{{aur|perl-compress-zlib}}, {{aur|perl-convert-tnef}},{{aur|perl-net-smtp-tls}},{{aur|perl-sys-meminfo}},{{aur|perl-lingua-stem-snowball}} and {{aur|perl-email-valid}} from [[AUR]].

−

===armv7h architecture===

+

Install {{pkg|unzip}},{{pkg|net-snmp}} and {{pkg|clamav}} available in the [[Official repositories]].

−

To install some packages out of [[AUR]], you have to modify PKGBUILD. If Error

−

{{bc|<nowiki>

−

==> ERROR: perl-net-smtp-tls is not available for the 'armv7h' architecture.

−

Note that many packages may need a line added to their PKGBUILD

−

such as arch=('armv7h').</nowiki>

−

}}

−

please add {{ic|armv7h}} to {{ic|arch}} line in PKGBUILD.

===Download ASSP===

===Download ASSP===

Line 60:

Line 53:

===Create necessary directories===

===Create necessary directories===

−

{{bc|

+

# mkdir -p /usr/share/assp/{spam,notspam,errors/{spam,notspam}}

−

# 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

−

}}

===Install files in place===

===Install files in place===

Line 115:

Line 102:

# perl -MCPAN -e 'install Unicode::GCString'

# perl -MCPAN -e 'install Unicode::GCString'

# perl -MCPAN -e 'install Thread::State'

# perl -MCPAN -e 'install Thread::State'

+

# perl -MCPAN -e 'install Schedule::Cron'

}}

}}

Line 173:

Line 161:

# perl assp.pl

# perl assp.pl

}}

}}

−

You can access the ASSP web interface via http://localhost:55555 with username "root" and password "npspam4me".

+

You can access the ASSP web interface via http://localhost:55555 with username "root" and password "nospam4me".

After successful login at web interface stop the ASSP with {{ic|Ctrl+c}}. Please check {{ic|/usr/share/assp/moduleLoadErrors.txt}} for

After successful login at web interface stop the ASSP with {{ic|Ctrl+c}}. Please check {{ic|/usr/share/assp/moduleLoadErrors.txt}} for