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
===> The following configuration options are available for spamassassin-devel-2026.07.27_3:
AS_ROOT=on: Run spamd as root (recommended)
DOCS=on: Build and/or install documentation
SSL=on: SSL protocol support
====> Optional user-config/bayes database backends
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
====> Optional SpamAssassin plugins
DCC=off: DCC digest list support (mail/dcc-dccd)
DKIM=on: Verify DKIM records (mail/p5-Mail-DKIM)
DMARC=off: Verify DMARC records (mail/p5-Mail-DMARC)
PYZOR=off: Pyzor digest list support (mail/pyzor)
RAZOR=off: Vipul's Razor digest list support (mail/razor-agents)
RELAY_COUNTRY=off: Location-based scoring (net/p5-GeoIP2)
RLIMIT=off: Resource limits (devel/p5-BSD-Resource)
SPF_QUERY=on: Verify SPF records (mail/p5-Mail-SPF)
====> GnuPG (for sa-update): you have to select exactly one of them
GNUPG_NONE=off: Do not use GnuPG
GNUPG=off: GnuPG 1 (security/gnupg1)
GNUPG2=on: GnuPG 2 (security/gnupg)
===> Use 'make config' to modify these settings
mail/spamassassin*: Remove the environment ENV from the environment
The Perl taint module flags the ENV environment variable as insecure
because it cannot assume the file it points to is safe.
PR: 297394
MFH: 2026Q3
mail/spamassassin*: Ensure process name is renamed even in debug mode
Some customers run spamassassin in debug mode. This breaks rc's ability
to manage the process because the process name is unexpectedly "perl".
When in debug mode, also set the process name to spamd.
Reported by: Dan Mahoney <danm@prime.gushi.org>
Upstream bug: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8384
mail/spamassassin*: Redundant and empty directories should be created
Make sure redunant ane empty directories are actually gone.
Discovered during spamassassin-devel make check-orphans.
Fixes: 96194a7a6e88
PR: 282317
MFH: 2024Q4
databases/p5-DBD-mysql: Fix for MariaDB users
Add a new variable DBD_MYSQL, use that in *_DEPENDS and add mysql to USES
where required. DBD_MYSQL will automatically set the correct DBD dependency.
In cd16748194e2 databases/p5-DBD-mysql was updated to 5.x, in 5.x the
support for MariaDB was removed and only MySQL >= 8.0 is supported.
In the 4.x releases MariaDB is still supported, according to upstream 4.x
will still be supported for a while [1], so use that for now when we detect
that MYSQL_FLAVOUR is set to mariadb. databases/p5-DBD-mysql4 was added in
d95f49cb3b54.
DBD:MariaDB would be another alternative, but migrating to it might need
more analysis than just staying with the 4.x releases of p5-DBD-mysql. This
(Only the first 15 lines of the commit message are shown above )
mail/spamassassin*: Keep sa-update-keys
sa-update-keys was removed in 2015 due to upstream bug #7208. The
requestor asks that they be retained after deinstall to facilite
updates.
Reported by: ler
mail/spamassassin*: Alter pkg-message to remind the user after upgrade
pkg-message states sa-update and sa-compile should be run after a
fresh install. It also tells the user to run these commands
periodically after install, implying that they should also be
run after update. Make the lanuage clearer so there is no confusion.
PR: 265316
MFH: 2024Q1
mail/spamassassin-devel: Workaround PID not found
spamd rewrites its argv[0] replacing its commmand interpreter
with "(perl)" (perl in brackets). The _find_processes() shell function in
rc.subr fails to find the process when stopping or verifying status.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above )