FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
spamassassin Highly efficient mail filter for identifying spam
3.4.1_9 mail on this many watch lists=21 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 11 Mar 2014 21:50:01
Also Listed In: perl5
License: APACHE20
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/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/mail/spamassassin/ && make install clean
To add the package: pkg install spamassassin

PKGNAME: spamassassin

distinfo:

SHA256 (Mail-SpamAssassin-3.4.1.tar.gz) = 9b7a95a594cdca4f265707364478b57813b82a0ec7e520d9bc818bfbcafdd726
SIZE (Mail-SpamAssassin-3.4.1.tar.gz) = 3174888


Slave ports
  1. japanese/spamassassin

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-Encode-Detect>=0 : converters/p5-Encode-Detect
  2. p5-HTML-Parser>=3.46 : www/p5-HTML-Parser
  3. p5-HTTP-Date>=0 : www/p5-HTTP-Date
  4. p5-Net-DNS>=0.63 : dns/p5-Net-DNS
  5. p5-NetAddr-IP>=4.010 : net-mgmt/p5-NetAddr-IP
  6. perl5>=5.24<5.25 : lang/perl5.24
Runtime dependencies:
  1. p5-Encode-Detect>=0 : converters/p5-Encode-Detect
  2. p5-HTML-Parser>=3.46 : www/p5-HTML-Parser
  3. p5-HTTP-Date>=0 : www/p5-HTTP-Date
  4. p5-Net-DNS>=0.63 : dns/p5-Net-DNS
  5. p5-NetAddr-IP>=4.010 : net-mgmt/p5-NetAddr-IP
  6. re2c>=.12.0 : devel/re2c
  7. p5-IO-Socket-SSL>=0 : security/p5-IO-Socket-SSL
  8. gnupg1>=1.4.7 : security/gnupg1
  9. perl5>=5.24<5.25 : lang/perl5.24

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for spamassassin-3.4.1_9:
     AS_ROOT=on: Run spamd as root (recommended)
     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=off: Verify DKIM records (mail/p5-Mail-DKIM)
     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-Geo-IP)
     SPF_QUERY=off: Verify SPF records (mail/p5-Mail-SPF)
====> GnuPG (for sa-update, optional): you have to select exactly one of them
     GNUPG_NONE=off: Do not use GnuPG
     GNUPG=on: GnuPG 1 (security/gnupg1)
     GNUPG2=off: GnuPG 2 (security/gnupg)
===> Use 'make config' to modify these settings

USES:
cpe perl5 ssl

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Mail/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Mail/
  4. ftp://ftp.forthnet.gr/pub/www/apache/spamassassin/source/
  5. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Mail/
  6. ftp://ftp.heanet.ie/mirrors/www.apache.org/dist/spamassassin/source/
  7. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Mail/
  8. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Mail/
  9. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Mail/
  10. ftp://ftp.sunet.se/pub/www/servers/apache/dist/spamassassin/source/
  11. ftp://mir1.ovh.net/ftp.apache.org/dist/spamassassin/source/
  12. ftp://xenia.sote.hu/pub/mirrors/www.apache.org/spamassassin/source/
  13. http://apache.mirror.uber.com.au/spamassassin/source/
  14. http://apache.spd.co.il/spamassassin/source/
  15. http://archive.apache.org/dist/spamassassin/source/
  16. http://backpan.perl.org/modules/by-module/Mail/
  17. http://cpan.metacpan.org/modules/by-module/
  18. http://cpan.metacpan.org/modules/by-module/Mail/
  19. http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.apache.org/dist/spamassassin/source/
  20. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Mail/
  21. http://ftp.mirrorservice.org/sites/ftp.apache.org/spamassassin/source/
  22. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Mail/
  23. http://ftp.twaren.net/Unix/Web/apache/spamassassin/source/
  24. http://mirrors.ircam.fr/pub/apache/spamassassin/source/
  25. http://www.apache.org/dist/spamassassin/source/
  26. http://www.cpan.dk/modules/by-module/Mail/
  27. http://www.cpan.org/modules/by-module/Mail/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2016-04-04
    Affects: mail/spamassassin
    Author: adamw@FreeBSD.org
    Reason: 
      Support for SSLv3 has been removed from SpamAssassin, because
      SSLv3 is a Bad Idea. No direct option is provided to re-enable it.
      If your setup requires use of SSLv3, some instructions are available
      in FreeBSD PR 208225.
    
    
Port Moves

Number of commits found: 37

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
14 Nov 2016 03:15:04
Original commit files touched by this commit  3.4.1_9
Revision:426080
danfe search for other commits by this committer
- Remove redundant definitions of IPV6_DESC and [OPEN]SSL_DESC when closely
  matching standard ones from `Mk/bsd.options.desc.mk'
- Rename couple of options to standard name or the one that better reflects
  their usage
07 Nov 2016 00:59:19
Original commit files touched by this commit  3.4.1_9
Revision:425590
adamw search for other commits by this committer
Follow up to r425497. sa-update isn't the problem, it's sa-update in
the plist. Remove the UPDATE_ON_INSTALL option entirely, and just add
a blurb to the pkg-message instructing people to run sa-update and
sa-compile manually.

Thanks to Matthew Fuller for prodding a better solution.
06 Nov 2016 15:38:55
Original commit files touched by this commit  3.4.1_8
Revision:425497
adamw search for other commits by this committer
For quite a while now, the only update server for SpamAssassin hasn't
had a valid DNS entry. People have asked about it on the mailing list
as far back as August, but literally nobody has replied to any of those
posts, and no commits or wiki updates have been made regarding this,
making it reasonably appear that nobody on the SpamAssassin team has
noticed or cares that SpamAssassin no longer updates.

For now, just add a patch that turns sa-update(1) into a no-op.

While here, add a couple simple Makefile tweaks and bump PORTREVISION.
02 Aug 2016 16:17:19
Original commit files touched by this commit  3.4.1_7
Revision:419484
adamw search for other commits by this committer
Remove hard dependency on p5-IO-Socket-IP and bump PORTREVISION.
19 May 2016 11:09:14
Original commit files touched by this commit  3.4.1_6
Revision:415503
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
04 Apr 2016 17:05:31
Original commit files touched by this commit  3.4.1_6
Revision:412519
adamw search for other commits by this committer
Disable SSLv3 and enable TLSv1.1 and TLSv1.2.

This is a patch make by Debian's own Noah Meyerhans that disables SSLv3,
fixes or removes the tests that choke without SSLv3, and lets
IO::Socket::SSL choose the best TLS level rather than forcing it at
TLSv1.

I can't think of a responsible reason to allow re-enabling it as an
OPTION, so add a note to UPDATING warning people of the change and
referencing the below PR.

PORTREVISION bump.

PR:		208225
Submitted by:	Sascha Holzleiter
Obtained from:	https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7199
MFH:		2016Q2
01 Apr 2016 14:16:20
Original commit files touched by this commit  3.4.1_5
Revision:412348
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
23 Nov 2015 17:00:18
Original commit files touched by this commit  3.4.1_5
Revision:402285
adamw search for other commits by this committer
Add two patches from upstream bug #7265, which fixes incompatibilities with
Net::DNS 1.03. The FreeBSD p5-Net-DNS port has been downgraded to 1.02 but
Net::DNS will be re-issued at some point soon. The changes in these patches
seem to work well with Net::DNS 1.02.

While here, add some TEST_DEPENDS so I can run the plugin-based tests as well.

Bump PORTREVISION for spamassassin and japanese/spamassassin.

PR:		204682
Submitted by:	Mark.Martinec@ijs.si
Obtained from:	https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7265
03 Oct 2015 18:21:00
Original commit files touched by this commit  3.4.1_4
Revision:398551
adamw search for other commits by this committer
Add upstream r1684653 from bug #7208, which fixes warnings stemming from
calling each/keys on a hashref.

While here, convert @unexec stuff into preunexec and postunexec.
Submitted by:	Larry Rosenman
Obtained from:	https://svn.apache.org/viewvc?view=revision&revision=1684653
14 Sep 2015 12:19:50
Original commit files touched by this commit  3.4.1_3
Revision:396892
mat search for other commits by this committer
Make it so that the default Perl is always called perl5.

- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
15 Aug 2015 16:25:11
Original commit files touched by this commit  3.4.1_3
Revision:394329
adamw search for other commits by this committer
Add a patch for SpamAssassin bug #7231 that resolves an incompatibility
with the output of the new Net::DNS version.

See
https://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm?r1=1694126&r2=1694125&pathrev=1694126&view=patch
for more information.

PR:		202281
Submitted by:	Mark Martinec, author of the upstream patch
21 Jul 2015 12:56:53
Original commit files touched by this commit  3.4.1_2
Revision:392630
pi search for other commits by this committer
mail/spamassassin, japanese/spamassassin: fix bug with dns/p5-Net-DNS change

Now that a port dns/p5-Net-DNS has been upgraded to version 1.01,
this revealed an incompatibility with DNS resolving in SpamAssassin.

In short: Net::DNS::Packet->new no longer sets the RD (recursion
desired) bit in new packets, so essentially DNS queries no longer
work. Details at:
  https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7223

To bridge the time until SpamAssassin 3.4.2 gets released,
the attached patch is needed ( equivalent to
  https://svn.apache.org/viewvc?view=rev&rev=1691992 ).

For earlier version of dns/p5-Net-DNS this patch is redundant,
but does no harm.

PR:		201741
Submitted by:	Mark.Martinec@ijs.si
14 May 2015 10:15:09
Original commit files touched by this commit  3.4.1_1
Revision:386312
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
30 Apr 2015 02:58:44
Original commit files touched by this commit  3.4.1_1
Revision:385022
adamw search for other commits by this committer
Correct botched group name in plist. PORTREVISION bump for plist change.

Submitted by:	Terry Kennedy
29 Apr 2015 18:46:30
Original commit files touched by this commit  3.4.1
Revision:385003
adamw search for other commits by this committer
Update spamassassin to 3.4.1.

Changes:
  * improved automation to help combat spammers that are abusing new top level
    domains;
  * tweaks to the SPF support to block more spoofed emails;
  * increased character set normalization to make rules easier to develop and
    stop spammers from using alternate character sets to bypass tests;
  * continued refinement to the native IPv6 support; and
  * improved Bayesian classification with better debugging and attachment
    hashing.

Full ChangeLog at https://metacpan.org/changes/distribution/Mail-SpamAssassin

The japanese/spamassassin port is broken until it's updated for 3.4.1.
13 Mar 2015 17:52:47
Original commit files touched by this commit  3.4.0_17
Revision:381227
adamw search for other commits by this committer
Allow depending on gpg2 instead of gpg1.

Inspired by:
PR:		197837
Submitted by:	bogus19@veggiechinese.net
06 Jan 2015 01:05:47
Original commit files touched by this commit  3.4.0_17
Revision:376379
marino search for other commits by this committer
mail/spamassassin: Revert command_interpreter fix for now

There is a report that defining command_interpreter actually causes
problem for spamd, athought it should not.  While the reason is being
investigated, the previous change has been reverted per maintainer's
request.

PR	196517
05 Jan 2015 12:35:09
Original commit files touched by this commit  3.4.0_16
Revision:376295
marino search for other commits by this committer
mail/spamassassin: Add perl command_interpret to rc script

spamd is a perl script, so defining command_interpreter is required
for proper rc.d functioning.
30 Nov 2014 21:26:36
Original commit files touched by this commit  3.4.0_15
Revision:373689
adamw search for other commits by this committer
Add a patch from SA bug #7107, to quiet warnings due to bad usage of $^V
that show up during sa-learn, sa-compile, etc.

Note that other warnings can still show up, ex.:
zoom: rule __FOR_SALE_PRC_100K will loop on SpamAssassin older than 3.3.2
running under Perl 5.12 or older, Bug 6558

While here, go with the @dir new world order. SA is not poudriere clean at this
time;
/var/spool/spamd is the homedir of user spamd, so I am pretty sure it shouldn't
be
listed with @dir. QA sees this as a leftover dir.

PR:		195524
Submitted by:	Bernard Spil
26 Nov 2014 13:08:38
Original commit files touched by this commit  3.4.0_14
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
11 Sep 2014 13:34:39
Original commit files touched by this commit  3.4.0_13
Revision:367931
mat search for other commits by this committer
Add back mail/dcc-dccd
- Update to 1.3.155.
- Stage.
- Build as a user.
- Add the option back to spamassassin.

Sponsored by:	Absolight
07 Sep 2014 08:38:53
Original commit files touched by this commit  3.4.0_13
Revision:367498
antoine search for other commits by this committer
Remove optional dependency on unstaged mail/dcc-dccd
10 Aug 2014 14:47:13
Original commit files touched by this commit  3.4.0_13
Revision:364547
adamw search for other commits by this committer
Add CPE data to my ports.
18 Jul 2014 01:22:28
Original commit files touched by this commit  3.4.0_13
Revision:362169
adamw search for other commits by this committer
Point users toward mail/spamass-rules if they want some extra
spam/malware-catching rulesets.
13 Jul 2014 17:55:41
Original commit files touched by this commit  3.4.0_13
Revision:361699
adamw search for other commits by this committer
Create /var/run/spamd manually in the rc(8) script, as pkg_tools does
not create the directory from the @dirrm /var/run/spamd in the plist.

So, we'll do it manually for the next 6 weeks.

PR:		190005
Submitted by:	Trond.Endrestol@ximalas.info
06 Jul 2014 12:45:33
Original commit files touched by this commit  3.4.0_12
Revision:360891
adamw search for other commits by this committer
Add a patch to fix the DBM bayes store, which failed due to a tainted
variable in a debug message.

Submitted by:	Herbert J. Skuhra
04 Jul 2014 21:03:10
Original commit files touched by this commit  3.4.0_11
Revision:360661
adamw search for other commits by this committer
Improve OPTIONS descriptions, based on eadler's recent modifications
to bsd.options.desc.mk.
01 Jul 2014 21:04:19
Original commit files touched by this commit  3.4.0_11
Revision:360092
adamw search for other commits by this committer
Don't activate code that requires pre-compiled rules if the
UPDATE_AND_COMPILE option is off. It can still be activated
later for people who do it themselves.

Submitted by:	Herbert J. Skuhra
20 Jun 2014 18:28:42
Original commit files touched by this commit  3.4.0_11
Revision:358624
adamw search for other commits by this committer
* Add a patch from SA bug 7057 to fix compatibility with Net::DNS >= 0.76 [1]
* Verify that /var/run/spamd exists before starting [2]
* While here, reformat Makefile

PR:	ports/191101 [1], ports/189912 [1], ports/190005 [2]
Submitted by:	Daniel Austin <freebsd-ports@dan.me.uk> and pi [1a],
		brian@behlendorf.com [1b], Trond.Endrestol@ximalas.info [2]
01 May 2014 17:01:18
Original commit files touched by this commit  3.4.0_10
Revision:352762
adamw search for other commits by this committer
Improvements.

Let pkg-create handle ownership/mode better. Use @dirrmtry instead of
@unexec rmdir. Use COPYTREE_SHARE to ensure proper permissions.

Also, stop the spamd service on deinstall if it's running. It creates
zombie issues otherwise... I'm pretty sure this is the right thing to
do.
02 Apr 2014 19:46:28
Original commit files touched by this commit  3.4.0_9
Revision:349952
adamw search for other commits by this committer
Add a patch fix bug #7018, a typo that caused the Razor
plugin to error out.

Thanks to DutchDaemon for the legwork here.
01 Apr 2014 14:06:58
Original commit files touched by this commit  3.4.0_8
Revision:349854
adamw search for other commits by this committer
Partially revert r348415. There are many good scenarios where
preventing user-config file creation is a good thing. Recommend
one of those scenarios in the rc.d description.

PR:		ports/187659
Submitted by:	Lawrence "The Dreamer" Chen <beastie@tardisi.com>
16 Mar 2014 16:46:25
Original commit files touched by this commit  3.4.0_7
Revision:348419
adamw search for other commits by this committer
Fix order of spamd args.

Noticed by:	ume
16 Mar 2014 16:05:40
Original commit files touched by this commit  3.4.0_6
Revision:348416
adamw search for other commits by this committer
sa-update no longer requires p5-libwww, but it does
still require HTTP::Date.
16 Mar 2014 15:18:58
Original commit files touched by this commit  3.4.0_5
Revision:348415
adamw search for other commits by this committer
-  Switch to recommended dependencies
  - Drop p5-libwww, as SA will use fetch(1)
  - Use p5-IO-Socket-IP unconditionally
    - Drop p5-IO-Socket-INET6
    - Remove the IPV6 option
  - Use p5-Geo-IP instead of p5-IP-Country
  - Remove unnecessary p5-Mail-Tools dependency
- Remove RAZOR and DKIM from OPTIONS_DEFAULT. All
  plugins now default to off.
- Make instructions clearer in pkg-message and rc.d script
16 Mar 2014 14:24:11
Original commit files touched by this commit  3.4.0_4
Revision:348410
adamw search for other commits by this committer
The release notes for 3.4.0 were never included in the tarball from
upstream. We include the missing commit, and also the release notes
themselves for good measure.

PR:		ports/187632
Submitted by:	Spil <spil.oss@gmail.com>

Also, as long as we're here, pet portlint a little bit (though it
still complains loudly about other things).
11 Mar 2014 21:49:40
Original commit files touched by this commit  3.4.0_3
Revision:347936
adamw search for other commits by this committer
Move {mail,japanese}/p5-Mail-SpamAssassin to &/spamassassin, in the name of
improving accessibility.

I think people who want to just find the port/package and install it are
more likely to look for "spamassassin the program" than "spamassassin the
perl module collection."

Number of commits found: 37

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk11Dec 09
asterisk13Dec 09
asterisk13Dec 09
apache24Dec 06
cryptoppDec 06
mod_http2-develDec 06
py-cryptography*Dec 06
qemu*Dec 06
qemu-devel*Dec 06
qemu-sbruno*Dec 06
chromiumDec 05
ImageMagickDec 04
ImageMagick-nox11Dec 04
ImageMagick7Dec 04
ImageMagick7Dec 04

35 vulnerabilities affecting 66 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26974
Broken 309
Deprecated 169
Ignore 573
Forbidden 1
Restricted 214
No CDROM 82
Vulnerable 59
Expired 7
Set to expire 148
Interactive 0
new 24 hours 5
new 48 hours13
new 7 days66
new fortnight123
new month298

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.