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-3.4.0_2:
AS_ROOT=on: Run spamd as root (recommended)
GNUPG=on: Install GnuPG (for sa-update, optional)
IPV6=on: IPv6 sockets support
SSL=on: Build spamd/spamc with SSL support
UPDATE_AND_COMPILE=on: Download and compile rulesets (recommended)
====> Optional user-config database backends
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
====> Optional 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
- Vilpul's Razor no longer closed for commercial use (2.81 +)
Patched Makefile to require minimum 2.81 version
New DomainKeys requires DomainKeys version .80 or greater
Patched Makefile for that
- bump PORTREVISION
- fix IGNORE warning by portlint
PR: 95315
Submitted by: Michael Scheidell <scheidell AT secnap dot net>
Fix rc.d startup script installation, it was really wrong committed last
commit
Reported by: krismail
Approved by: perl (sem) via email
No donuts to: garga
[patch] mail/p5-Mail-SpamAssassin - properly set pidfile in rc.d script
- PID file name in rc.d scripts must be set to "pidfile" variable,
not to "<name>_pidfile" variable.
- Placing -r (and -d too) options to command_args is more suitable
because
they mustn't be overwrited by spamd_flags
PR: ports/90625
Submitted by: Petr Rehor <prehor@gmail.com>
Approved by: maintainer timeout
- update to 3.1.0
Note: Razor is disabled by default in this version. Please read the license
and decide if you are able to re-enable it (in OPTIONS).
http://razor.sourceforge.net/docs/doc.php?type=text&name=SERVICE_POLICY
DomainKeys support added, and is disabled by default, too.
You may enable it by using OPTIONS.
- Update to 3.0.4
changes in SA: since 3.03:
bug 4080: FORGED_YAHOO_RCVD now failing on new Yahoo internal host layout, fixed
bug 4385: .xxx is a new tld, so support it in RegistrarBoundaries (joy)
bug 4171: new way of determining header/body separation w/out needing to look
for MIME boundary
bug 4367: SORBS lists are mixed up
Submitted by: Michael Scheidell <scheidell@secnap.net> (perl@)
- Update to 3.0.3 (1)
- Don't run spamd from root anymore. Use spamd user instead.
Put PID file in /var/run/spamd/ as result.
- A patch for fixing spamd that did not drop privileges for children (2)
- Rename SQL variable to more clean SQL_FLAG.
PR: ports/80556 (1)
Submitted by: Linh Pham <question+fbsdports@closedsrc.org> (1)
Brandon Kuczenski <brandon@301south.net> (perl@) (2)
Obtained from: http://bugzilla.spamassassin.org/show_bug.cgi?id=3897 (2)
- Change the usage of $PORTDOCS. When you specify files in subdirectory
of $DOCSDIR, you should specify directory in $PORTDOCS, not each files.
This fixes plist problem.
- Remove trailing white spaces.
Reported by: pointyhat via kris
Update to 2.64 (maintainance release while waiting for 3)
Use DATADIR
Update WWW
Remove the primary MASTER_SITE as they only carry the distfiles for SA3
- change spaces to tab to make portlint a little happier
- allow users override RC_DIR and RC_SUFX
- fix install spamd.sh in RC_DIR, not PREFIX/etc/rc.d
- do not pollute WRKSRC with generated files, use WRKDIR instead
(it's IMHO better style)
PR: 61560
Submitted by: Sergey Matveychuk <sem@ciam.ru>
[PATCH] mail/p5-Mail-SpamAssassin 2.60
This patch adds rc_subr support to spamd daemon
of the spamassassin port.
PR: ports/57384
Submitted by: Martin Matuska <martin@tradex.sk>
Adjust the dependency check on p5-Net-DNS to take into account its
new PERL_ARCH'ified location.
In a few cases, standardize on searching for
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm instead of other files.
Upgrade to the 2.60 release. This version has lots of cleanups,
documentation fixes, and general improvements. Most importantly
it removes the now-bogus RBL's.
Upgrade to 2.54. This version contains several bug fixes, and more
importantly, has a number of tests rescored to compensate for the
spammer folks who've tweaked their headers specifically to dodge
spamassassin.
Add a trivial fix for Perl 5.005 compatibility.
Upgrade to version 2.53, which contains numerous bug fixes. See the
Changes file for more information.
Conditionalize dependency on p5-MIME-Base64 for perl < 5.8.
* Fix the problem of uninstall wiping out the local.cf file
* Add two missing man pages
* Switch to SITE_PERL in the Makefile, and SITE_PERL and DOCSDIR in the
plist. Hopefully a cleaner workspace will prevent future mistakes.
* While I'm doing major surgery anyway, sort the plist.
Approved by: kris
Upgrade to the long awaited 2.50. This version contains the Bayesian
filtering enhancements, and several other improvements. Make sure to
heed pkg-message, especially if upgrading.
Restore SpamAssassin port. No real harm done. It got removed because
somehow my p5-Mail-SpamAssassin-devel CVS Repository files are
specifying p5-Mail-SpamAssassin instead.
SURPRISE!
Changed MAINTAINER to dougb, who made the last upgrade when I was busy
and must have missed it.
Doug, if you don't want it, do what you will with it.
Upgrade to 2.43, which has some nice bug fixes, most significantly
to the auto-whitelist feature, and some core-dump problems that
could cause a user to lose mail if spamd was down.
Regenerate my usedcc patches.
Fix the problem of the port using /etc/mail for its config files.
This is the patch I submitted on 10/17, but never got a response
from MAINTAINER.
PR: ports/44105
Remove the StUdLyCaPs from maintainer name, 'cause some folks won't realize
mail's case insensitive and will try to type that. Sorry folks, purely a
cosmetic change here, nothing to see, move along, move along....
Unbreak this port... for some reason, ${PERL_VERSION} isn't defined when
the test takes place and that's a fatal error for make. I'm not quite sure
why it's undefined, but this will allow people to build the port for now..
Submitted by: Dan Lagille <dan@langille.org>
Noticed by: http://www.freshports.org
The port of PodParser doesn't work with 5.8. The internal 5.8 code is newer.
So, don't use it or install it (it will break installing all subsequent ports)
if we're using perl 5.8.
This is not the best test, but it'll do until I (or someone) figures out
a way to do a < comparison instead of a != comparison.
Update to version 2.30, which has numerous bug fixes, better RBL
support, better language support, and other improvements.
The PR provided the new dependency, however the port needed
some portlint and other cleanup:
* Whitespace (spaces -> tabs)
* Wonky commands/paths/etc. replaced by ${VARIABLES} where appropriate
* Added some more files to PORTSDOCS, and tightened it up a bit
with a for loop
* Sorted the plist
It was also necessary to add a patch that provides the user with an
option as to whether or not to use dccproc. We have no port for it,
and porting it doesn't look fun. If the SA authors don't intend to
add this option to the base, I'll fix the (fairly simple) patch
to follow proper "one patch per file" rules.
PR: ports/39319
Submitted by: Alex Vasylenko <lxv@a-send-pr.sink.omut.org>