BSD Ports

mail/spamassassin 4.0.1_2 DragonFly

Highly efficient mail filter for identifying spam

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
mail, perl5
Package size
1057.1 KiB, 3633.9 KiB installed

Description

SpamAssassin is a mail filter which attempts to identify spam using text analysis and several internet-based realtime blacklists.

Using its rule base, it uses a wide range of heuristic tests on mail headers and body text to identify "spam", also known as unsolicited commercial email.

Once identified, the mail can then be optionally tagged as spam for later filtering using the user's own mail user-agent application.

Additional drop-in rule sets are available at https://cwiki.apache.org/confluence/display/spamassassin/CustomRulesets

In the other systems

SystemPortVersion
DragonFlymail/spamassassin4.0.1_2
FreeBSDmail/spamassassin4.0.2_4
NetBSDmail/spamassassin4.0.2nb2
MidnightBSDmail/spamassassin4.0.2
HardenedBSDmail/spamassassin4.0.2_4
GhostBSDmail/spamassassin4.0.2_4

Install

Binary package:

pkg install spamassassin

From DPorts:

cd /usr/dports/mail/spamassassin && make install clean

Dependencies

Run dependencies 20

Configuration

No options to configure.

Service scripts
none

Message after installing

You should complete the following post-installation tasks:

	1) Read /usr/local/share/doc/spamassassin/INSTALL
	   and /usr/local/share/doc/spamassassin/UPGRADE
	   BEFORE enabling SpamAssassin for important changes

	2) Edit the configuration in /usr/local/etc/mail/spamassassin,
	   in particular /usr/local/etc/mail/spamassassin/init.pre
	   You may get lots of annoying (but harmless) error messages
	   if you skip this step.

	3) To run spamd, add the following to /etc/rc.conf:
	   spamd_enable="YES"

        4) If this is a new installation, you should run sa-update
           and sa-compile. If this isn't a new installation, you
           should run those commands immediately after update and
           probably run them on a regular basis.

	5) Install mail/spamass-rules if you want some third-party
	   spam-catching rulesets

        6) Remove /usr/local/etc/mail/spamassassin/sa-update-keys if this software is no
           longer needed.

SECURITY NOTE:
By default, spamd runs as root (the AS_ROOT option). If you wish
to change this, add the following to /etc/rc.conf:

	spamd_flags="-u spamd -H /var/spool/spamd"