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
http://wiki.apache.org/spamassassin/CustomRulesets
WWW: http://spamassassin.apache.org/
===> The following configuration options are available for p5-Mail-SpamAssassin-Alt-3.4.0_1:
AS_ROOT=on: Run spamd as root (recommended)
GNUPG=on: Install GnuPG (for sa-update, optional)
IPV6=on: IPv6 sockets support
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
SSL=on: Build spamd/spamc with SSL support
UPDATE_AND_COMPILE=on: Download and compile rulesets (recommended)
====> Select SpamAssassin plugins
DCC=off: Add DCC support (mail/dcc-dccd)
DKIM=on: DKIM/DomainKeys Identified Mail (mail/p5-Mail-DKIM)
PYZOR=off: Add Pyzor support (mail/pyzor)
RAZOR=on: Add Vipul's Razor support (mail/razor-agents)
RELAY_COUNTRY=off: Relay country support (net/p5-IP-Country)
SPF_QUERY=off: Add SPF query support (mail/p5-Mail-SPF)
===> Use 'make config' to modify these settings
Retire mail/p5-Mail-SpamAssassin-Alt. It contained two
options, one of which was already a default, and the other
required you to hand-edit configuration files, so having
an option to auto-enable it wouldn't really get you anywhere.
- Introduce an option (on by default) to run sa-update and sa-compile
automatically on installation. With this, spamassassin installation
is no longer interactive.
- Break out plugin options into a PLUGIN group, for clarity.
- Add a pyzor plugin.
- Fold pkg-install contents into the pkg-plist.
- Add targets to ALL_TARGET, rather than invoking sub-makes multiple
times.
- PORTREVISION bumps all around.
Update SpamAssassin to 3.4.0, and take maintainership.
As part of this upgrade, the SPAMC option has been removed. First
and foremost, it was a NO-OP as spamc/spamd was being built anyway.
A number of other OPTIONS and dependencies have been cleaned up as
well.
I am also taking maintainership of p5-Mail-SpamAssassin-Alt, and I
intend to deprecate it unless I hear otherwise.
The patch/plist for japanese/p5-M-SA is no longer versioned. It'll
make future updates cleaner.
PR: ports/186756
The patch is a collaborative effort between myself and
Takefu <takefu@airport.fm>
Add a patch from SpamAssassin bug #6937 to improve compatibility
with perl 5.18's changes to "each" ordering. This fixes the message:
Use of each() on hash after insertion without resetting hash iterator results in
undefined behavior, Perl interpreter: 0x2880d800 at
/usr/local/lib/perl5/site_perl/5.18/Mail/SpamAssassin/AsyncLoop.pm line 363,
<GEN84> line 98.
PR: ports/186819
Approved by: perl (maintainers)