CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

mail/dspam 3.10.2_11

Bayesian spam filter

Port info

Maintainer
danny@dannywarren.com
Packages
latest: 3.10.2_11
Upstream
up to date
Last update
to 3.10.2_11 · 9655fa3e95
Quarterly
2026Q4: 3.10.2_11
Formerly
mail/dspam-devel until 2014-10-20
WWW
https://dspam.sourceforge.net/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install dspam
installs 3.10.2_11 from latest; from quarterly (2026Q4) 3.10.2_11
Port
# cd /usr/ports/mail/dspam && make install clean
# make -C /usr/ports/mail/dspam config  # change options first
Size
415 KiB download · 1.7 MiB installed
Depends on
databases/mysql84-client 8.4.11_1, databases/postgresql18-client 18.6, databases/sqlite3 3.53.4,1, lang/perl5.42 5.42.3, security/clamav 1.5.4_2,1
License
AGPLv3
Creates
user dspam, group dspam
Options
12 of 39 on in the package: CLAMAV CLAMAV_LOCAL DAEMON DEBUG DOCS EXAMPLES HASH MYSQL MYSQL_COMPRESS PGSQL SQLITE3 SYSLOG
Show the 27 options that are off
BNR_DEBUG CYRUS23 CYRUS24 DOMAIN_SCALE DOVECOT2 EXIM EXTERNAL_LOOKUP LARGE_SCALE LIGHTTPD LONG_USERNAMES MAILDROP MYSQL_LOCAL NICESENDMAIL PGSQL_LOCAL POSTFIX_MBC PREF_EXT PROCMAIL QMAIL SAFECAT SENDMAIL SETUID SQLITE2 TRUSTED_USERS USER_HOMEDIR VERBOSE_DEBUG VIRT_USERS WEBUI
pkg-message
Shown after installing
To enable the dspam daemon set dspam_enable="YES" in:
    /etc/rc.conf

  Additional setup instructions can be found at:
    /usr/local/share/doc/dspam
    /usr/local/share/examples/dspam

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 163.10.2_113.10.2_11–
FreeBSD 153.10.2_113.10.2_11–
FreeBSD 143.10.2_113.10.2_11✗

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 153.10.2_113.10.2_11–
FreeBSD 143.10.2_113.10.2_11✗

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 3.10.2_11.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (229)

Erwin Lansing (erwin)
Update to 3.6.3

PR:		92659
Submitted by:	Ion-Mihai IOnut Tetcu <itetcu@people.tecnik93.com> (maintainer)
18ca6988b9
Renato Botelho (garga) · as mail/dspam-devel
- Update to 3.6.3. - Changed mastersites to official mirrors for release version and keep my site   for cvs snaps. - A few file/patch* are removed, they are now incorporated in vendor sources. - Drop USE_REINPLACE, it's no longe needed.

PR:		ports/92335
Submitted by:	maintainer
16d8c853c3
Edwin Groothuis (edwin)
SHA256ify

Approved by: krion@
80840e8dc5
Edwin Groothuis (edwin)
eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
d568611c3e
Andrej Zverev (az) · as mail/dspam-devel
- Fix memory leak in BNR (resurrect files/patch-src_libdspam.c from Attic   but with totally different content imported from vendor CVS). - Bump PORTREVISION.

PR:		ports/90361
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
14b23de271
Sam Lawrance (lawrance) · as mail/dspam-devel
Update to 3.6.2:

BUGFIX: segfaults in daemon mode with hash_drv plus other hash_dvr fixes
  BUGFIX: for how token values are calculated, cutting false positives nearly
  in half plus fixes for LDAP (close LDAP connection after calls, create database even
  if LDAP fails)

Drop local patch files/patch-src_libdspam.c incorporated upstream.

Since we could be running clamd on an other server make CLAMAV* options to only
enable clam support in dspam and provide an other option CLAMAV_LOCAL to
RUN_DEPEND on it locally; for POLA make this option default to on. RUN_DEPENDS
on package instead of clamd.conf in CLAMAV_LOCAL case.

Add MYSQL_LOCAL and POSTGRESQL_LOCAL options to RUN_DEPEND on servers.

REQUIRE mysql, postgresql or clam in rc script only if WITH_LOCAL_* is defined.

PR:		ports/90265
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
f0e1aca691
Pav Lucistnik (pav) · as mail/dspam-devel
- Fix WITH_CGI (convert to new USE_APACHE)

PR:		ports/89152
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
c1a55c468c
Pav Lucistnik (pav)
- Fix WITH_CGI knob (convert to new USE_APACHE)

PR:		ports/89150
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
40d44d3747
Ade Lovett (ade)
Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
54a0b86543
Marcus Alves Grando (mnag) · as mail/dspam-devel
Update to 3.6.1 Add TRAIN_SCRIPT in OPTIONS Use USE_DBD and USE_SQLITE Add SHA256

PR:		88688
Submitted by:	"Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com> (maintainer)
07a08f5dae
Renato Botelho (garga) · as mail/dspam-devel
Teach startup script about dspam_pidfile variable. We can't use /var/run/dspam.pid together with dspam_user="dspam" option (for example).

PR:		ports/87718
Submitted by:	Denis Shaposhnikov <dsh@vlink.ru>
Approved by:	maintainer
b9e1295155
Sam Lawrance (lawrance) · 3.5.2.20050725.0800 · as mail/dspam-devel
Add a file I missed on the last commit, which was:

Update to 3.5.2 cvs-snap of 20050725.0800

  PR:		ports/84301
  Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer)
  Misc. kudos:	Jens Holmqvist <zparta@hispan.se>
  		Elliot Finley <efinley@efinley.com>
  		Alexandr Smirnov <phpclub@rambler.ru>
f696d5c806
Sam Lawrance (lawrance) · 3.5.2.20050725.0800 · as mail/dspam-devel
Update to 3.5.2 cvs-snap of 20050725.0800

PR:		ports/84301
Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer)
Misc. kudos:	Jens Holmqvist <zparta@hispan.se>
		Elliot Finley <efinley@efinley.com>
		Alexandr Smirnov <phpclub@rambler.ru>
5715b416e0
Pav Lucistnik (pav)
- Fix rc script for 4.X

Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer)
4dbde063d8
Pav Lucistnik (pav)
- Update to 3.4.8

PR:		ports/83250
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
970b962ee6
Alexander Leidinger (netchild) · 3.4.6.20050523.0845
Fix sed script, no portrevision bump since the previous version should result in an error.

Submitted by:	maintainer
86cd6992ac
Pav Lucistnik (pav) · 3.4.6.20050523.0845
- Update to 20050523.0845 snapshot - Fix WITH_DAEMON - Update RC infrastructure

PR:		ports/81527
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
14fa885294
Joe Marcus Clarke (marcus) · 3.4.6.20050512.1145
We no longer need to remove libdata/pkgconfig since it is in both mtree files.  This one was tricky to find since it was hidden behind the %B variable.

Reported by:	pointyhat via kris
e638ed3a71
Jean-Yves Lefort (jylefort) · 3.5.0.20050512.1145 · as mail/dspam-devel
- Update to 3.5.0.20050512.1145 [1] - Fix CONFLICTS

PR:		ports/81080 [1]
Submitted by:	maintainer [1]
001d214004
Jean-Yves Lefort (jylefort) · 3.4.6.20050512.1145
- Update to 3.4.6.20050512.1145 [1] - Fix CONFLICTS

PR:		ports/81079 [1]
Submitted by:	maintainer [1]
d4462d4f3d
Vanilla I. Shu (vanilla) · 3.5.0.20050506.0930 · as mail/dspam-devel
- Support for clamd virus checking via TCP (see ClamAVHost, ClamAVPort and ClamAVResponse in dspam.conf) - Support "user+detail" inbound emails and "+quarantine" outbound emails (see EnablePlusedDetail and QuarantineMailbox in dspam.conf)

- BUG FIX: "obscure" [1] bug causing dspam to crash under certain conditions
when the loose signature was provided without the appropriate delimiter
- BUG FIX: fix sqlite3 dependency check [2]
- BUG FIX: don't strip binary if we want GDB suport
- BUG FIX: DOMAIN_SCALE and LARGE_SCALE are incompatible catch this before
./cofigure fails [3]

[1] "Obscure" = it took me about 4 hours and a 500 queue processed one by
one by hand to catch and reproduce the problem after 7 days of mail
processing w/o error
[2] Pointed out by vanilla@ for mail/dspam but true here also
[3] Pointed out by Arvinn Lokkebakken <arvinn@whitebird.no> for mail/dspam
but true here also

PR:		ports/80791
Submitted by:	maintainer
36ed0dcbae
Vanilla I. Shu (vanilla)
Update to dspam-3.4.6

- BUG FIX: "obscure" [1] bug causing dspam to crash under certain conditions
when the loose signature was provided without the appropriate delimiter
- BUG FIX: fix sqlite3 dependency check [2]
- BUG FIX: don't strip binary if we want GDB suport
- BUG FIX: DOMAIN_SCALE and LARGE_SCALE are incompatible so catch this
before ./cofigure fails [3]

[1] "Obscure" = it took me about 4 hours and a 500 queue processed one by
one by hand to catch and reproduce the problem after 7 days of mail
processing w/o error
[2] Pointed out by vanilla@
[3] Pointed out by Arvinn Lokkebakken <arvinn@whitebird.no> for

PR:		ports/80790
Submitted by:	maintainer
e5e0931e1a
Pav Lucistnik (pav)
- Fix copy&paste braino

Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer)
e24a16bef6
Pav Lucistnik (pav) · 3.5.0.20050428.1100 · as mail/dspam-devel
- Update to 3.5.0.20050428.1100

PR:		ports/80443
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
950120851f
Pav Lucistnik (pav)
- Update to 3.4.5

PR:		ports/80442
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
0acdf4f50f
David E. O'Brien (obrien) · 3.4.r2.20050305.0930
At Kris's request, back out the MACHINE_ARCH spelling correction until after 5.4-RELEASE.
c3d8037aeb
David E. O'Brien (obrien) · 3.4.r2.20050305.0930
Assist getting more ports working on AMD64 by obeying the Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
f2fc2d60ae
Pav Lucistnik (pav) · 3.4.r2.20050305.0930 · as mail/dspam-devel
- Update to RC2A snapshot of 20050302.1715

PR:		ports/78418
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
1ea3dfc1be
Pav Lucistnik (pav)
- Update to 3.2.7.20050302.1330

PR:		ports/78402
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
e3d5aa89c4
Yen-Ming Lee (leeym) · 3.4.r1.20050216.0945 · as mail/dspam-devel
Update to dspam-devel-3.4.r1.20050216.0945

PR:		77807
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
e739b59dee
Yen-Ming Lee (leeym)
Update to 3.2.7 BUGFIX: Signature not written to some email, making them untrainable

PR:		77802
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
990cb3601f
Volker Stolz (vs) · 3.2.6.20050128.1500
pdate to 20050128.1500 snapshot - disable ORACLE DB back-end; it's unmaintained and hasn't worked on FreeBSD - drop USE_GNOME as per PH 6.6 - drop merged up-stream files/patch-dspam.c - kinldy ask non-maintainer-approved commits to be logged in files/UPDATING if they contain user-visible changes ( like the change of POSTGRESQL* to POSTGRESQL because of "Split the postgresql ports into a server and

PR:		ports/77449
Submitted by:	Ion-Mihai "IOnut" Tetcu (maintainer)
e668ee5494
Volker Stolz (vs)
Fix mysql/neural-combination

PR:		ports/76920
Submitted by:	Thomas T. Veldhouse, maintainer
7b12758aca
Palle Girgensohn (girgen)
Split the postgresql ports into a server and a client part.

All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
34fa6c853e
Pav Lucistnik (pav)
- Update to 3.2.6

PR:		ports/76796
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
3896639549
Edwin Groothuis (edwin) · as mail/dspam-devel
Remove rmdir of libdata/pkgconfig Noticed by: pointyhat/kris
9982ff321e
Edwin Groothuis (edwin) · as mail/dspam-devel
Fix pkg-plist

Submitted by:	Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
f87e3e80b8
Pav Lucistnik (pav)
- Update to 3.2.4 - Drop WITH_WHITELIST, it's no longer build time option

PR:		ports/76198
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
603a6bcc57
Edwin Groothuis (edwin) · as mail/dspam-devel
mail-dspam-devel: corect deinstall, package, describe; update; bugfixes; ................

After private debuging, the 25th night spent on-line with
	the author and two minor versions all to make it work on
	FreeBSD like it should, discovering some other bugs in
	proccess,

	TA DA !
	bring in the compleate daemonized version and adjust it for
	package building

	dspam-devel-3.3.4 (newer versions sigbus - threads problem)

	The daemon mode seems to be working now, so the port act like it should:
	- if enabled with WITH_DEAMON we install the rc script; to start it at
	boot put 'dspam_enable="YES"' in /etc/rc.conf and set the appropriate
	options in dspam.conf
	- read section "2.3 Client/Server Mode" from dspam README to learn how to
	use dspam in daemon mode
	- a simple portupgrade from previous versions will work with no problems
	with your current setup, even if compiled with WITH_DEAMON (default)

	- change default DB back-end to MySQL to make daemon mode work for package
	building
	- add MySQL v5.0.x support -- MYSQL50 [1]
	- USE_MYSQL and have make describe output right
	- change of name: SQLITE --> SQLITE2, as we now have sqlite3 support
	- add Sqlite v3.x support -- SQLITE3
	- add BNR_DEBUG option
	- drop QUARANTINE_AGENT as is not supported by ./configure anymore and
	set in dspam.conf UntrustedDeliveryAgent and QuarantineAgent to default to
	TrustedDeliveryAgent, but leave them commented out [2]
	- add support for exim [4] which we build with the same database back-end
	as dspam if possible
	- fix PREF_EXT and BDB4 cases as well in our Makefile
	- change default DSPAM_HOME_MODE to 0770, it's a directory, you know ;) [3]
	- DSPAM_HOME_{OWNER,GROUP} default to DSPAM_{OWNER,GROUP}
	- default maximum message size to 300KB in dspam.conf
	- correct long-standing copy/paste bug (DSPAM_{GROUP,MODE} were set to
	DSPAM_HOME_{GROUP,MODE})
	- Makefile clean-ups
	- fix deinstall to delete dspam.conf if it hasn't been customized, as
	requested by kris@ with "Ports Janitor" hat :) and save the net and myself
	some bugging mails

	[1] based on ports/74761 by Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
	[2] based on ports/75548 by Julien Gabel <jpeg@thilelli.net>
	[3] based on ports/75549 by Julien Gabel <jpeg@thilelli.net>
	[4] suggested, incorrectly, in ports/74762 by Shahbaz Javeed <sjaveed@adderpit.com>

	Note to committer: all those PR are closed.

PR:		ports/75647
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
d4f7d5e67f
Edwin Groothuis (edwin) · 3.2.3.20041229.1945
mail/dspam: fix make describe, update, fix DSPAM_HOME perdefault permissions

FreeBSD 4.x user please report problems ASAP so I can fix
	them before release.

	dspam-3.2.3.20041229.1945:
	- drop QUARANTINE_AGENT as is not supported by ./configure
	anymore and set in dspam.conf UntrustedDeliveryAgent and
	QuarantineAgent to default to TrustedDeliveryAgent, but
	leave them commented out (ports/75548 by Julien Gabel)
	- change default DSPAM_HOME_MODE to 0770
	(ports/75549 by Julien Gabel <jpeg@thilelli.net>)
	- DSPAM_HOME_{OWNER,GROUP} default to DSPAM_{OWNER,GROUP}
	- fix make describe by USE_MYSQL
	- beautify
	- Makefile clean-up

PR:		ports/75665
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
e9ea0ec704
Norikatsu Shigemura (nork) · 3.2.3.20041218.2100_1
Fix sqlite docs installation and package building.

PR:		ports/75518
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
Reported by:	pointyhat via kris
4c5a1f12c3
Norikatsu Shigemura (nork) · 3.2.3.20041218.2100
Update to 20041218.2100. o Fix deinstall to delete dspam.conf if it hasn't been   cutomized. [1] o Change of name: SQLITE --> SQLITE2, as the -devel port   already have sqlite3 support. o Correct long-standing copy/paste bug DSPAM_{GROUPD,MODE}   where set to DSPAM_HOME_{GROUP,MODE}. o Fix COMMENT

PR:		ports/75491
Submitted by:	on-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
Pointed out by:	kris [1]
add78df5ce
Kirill Ponomarev (krion) · 3.2.3.20041203.1245_1
Chase dependency of databases/sqlite2 Bump PORTREVISION

Forgotten by:	nork
0b39b3dbf7
Norikatsu Shigemura (nork) · 3.3.0.a.20041201.1330_1 · as mail/dspam-devel
Clean up SQLite and related ports. o Move databases/sqlite to databases/sqlite2. o Fix dependency on databases/sqlite. o Update sqlite2 to 2.8.15. o Bump PORTREVISION, accordingly.

Approved by:	portmgr, maintainers of sqlite and related ports
617938836d
Pav Lucistnik (pav) · 3.2.3.20041203.1245
- Update to 20041203.1245 snapshot - add support for MYSQL50 and handle MYSQL cases right [1] - add support for exim [2] which we build with the same database back-end   as dspam if possible - fix PREF_EXT and BDB4 cases as well in our Makefile

[1] based on ports/74761 by Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
[2] suggested, incorrectly, in ports/74762 by Shahbaz Javeed <sjaveed@adderpit.com>

PR:		ports/74796
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
192f7432e3
Tilman Keskinoz (arved) · 3.3.0.a.20041201.1330 · as mail/dspam-devel
Update to SNAP_DATE 20041201.1330, which supports daemonized dspam

PR:		74599
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
952ce06a57
Tilman Keskinoz (arved)
Update to 3.2.3

PR:		74538
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
ca9bd75afd
Pav Lucistnik (pav) · 3.3.0.a.20041125.0945 · as mail/dspam-devel
- Update to 3.3.0.20041125.0945 snapshot

PR:		ports/74429
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (maintainer)
657643d179