BSD Ports

mail/rspamd 4.2.2_2 FreeBSD

Fast spam filtering system

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
58d392be23
License
APACHE20
Categories
mail
Package size
4071.2 KiB, 14327.8 KiB installed

Description

Rspamd is fast, modular and lightweight spam filter. It is designed to work with big amount of mail and can be easily extended with own filters written in lua.

In the other systems

SystemPortVersion
FreeBSDmail/rspamd4.2.2_2
OpenBSDmail/rspamd4.2.2v0
NetBSDmail/rspamd4.1.5nb1
DragonFlymail/rspamd3.11.1
MidnightBSDmail/rspamd4.1.0

Install

Binary package:

pkg install rspamd

From the ports tree:

cd /usr/ports/mail/rspamd/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rspamd>0:mail/rspamd

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.1.0_14.2.2_23.4_13.12.1_24.2.2_2
FreeBSD:14:quarterly4.1.0_14.1.0_1n/a3.12.14.1.0_1
FreeBSD:15:latest4.2.2_24.2.2_2n/a3.12.1_23.12.1_2
FreeBSD:15:quarterly4.1.0_14.1.0_1n/an/an/a
FreeBSD:16:latest4.1.0_14.2.2_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Library 3

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 34
Run dependencies 25

No port depends on this one.

Configuration

Options name: mail_rspamd

OptionDefaultDescription
BLASoffUse OpenBLAS to accelerate KANN
CGPoffInstall Communigate Pro(tm) helper
GPERFoffGoogle perf-tools profiling
LUAJIToffUse LuaJIT instead of standard Lua
USES
cmake compiler:c++20-lang cpe gnome libarchive perl5 pkgconfig sqlite ssl
Service scripts
rspamd
Conflicts with
rspamd-devel

Message after installing

- Add the following line to /etc/rc.conf to enable rspamd:

     rspamd_enable="YES"

 - Optionally you can adjust the user which runs Rspamd workers with the
   variables rspamd_worker_user and rspamd_worker_group (default rspamd:rspamd).

 - A symbolic link to /usr/local/etc/rspamd/rspamd.newsyslog.conf
   has been created in the /usr/local/etc/newsyslog.conf.d directory.
   You can edit /usr/local/etc/rspamd/rspamd.newsyslog.conf
   to change log file rotation configuration.

Due to the issues with Hyperscan alignment, it is recommended to remove the
existing cached files that might cause troubles from /var/db/rspamd by using the
following command: "find /var/db/rspamd/ -type f -name '*.unser' -delete"
This action is needed merely for this particular upgrade.

Files

Manual pages 3
  • rspamadm(1)
  • rspamc(1)
  • rspamd(8)
pkg-plist 455
  • bin/mapstats
  • bin/rspamadm
  • bin/rspamadm-
  • bin/rspamc
  • bin/rspamc-
  • bin/rspamd
  • bin/rspamd-
  • bin/rspamd_stats
  • bin/rspamd-cgp-helper
  • etc/newsyslog.conf.d/rspamd.newsyslog.conf
  • etc/rspamd/actions.conf
  • etc/rspamd/common.conf
  • etc/rspamd/composites.conf
  • etc/rspamd/groups.conf
  • etc/rspamd/lang_detection.inc
  • etc/rspamd/local.d/antivirus.conf.example
  • etc/rspamd/local.d/module.conf.example
  • etc/rspamd/logging.inc
  • etc/rspamd/lua.local.d/maps/example.lua.example
  • etc/rspamd/lua.local.d/module.lua.example
  • etc/rspamd/lua.local.d/regexps/example.lua.example
  • etc/rspamd/lua.local.d/selectors/example.lua.example
  • etc/rspamd/maps.d/dmarc_whitelist.inc
  • etc/rspamd/maps.d/equivalent_domains.inc
  • etc/rspamd/maps.d/exe_clickbait.inc
  • etc/rspamd/maps.d/maillist.inc
  • etc/rspamd/maps.d/mid.inc
  • etc/rspamd/maps.d/mime_types.inc
  • etc/rspamd/maps.d/redirectors.inc
  • etc/rspamd/maps.d/spf_dkim_whitelist.inc
  • etc/rspamd/maps.d/surbl-whitelist.inc
  • etc/rspamd/maps.d/suspicious_tlds.inc
  • etc/rspamd/metrics.conf
  • etc/rspamd/modules.conf
  • etc/rspamd/modules.d/aliases.conf
  • etc/rspamd/modules.d/antivirus.conf
  • etc/rspamd/modules.d/arc.conf
  • etc/rspamd/modules.d/asn.conf
  • etc/rspamd/modules.d/aws_s3.conf
  • etc/rspamd/modules.d/bayes_expiry.conf
  • etc/rspamd/modules.d/bimi.conf
  • etc/rspamd/modules.d/chartable.conf
  • etc/rspamd/modules.d/clickhouse.conf
  • etc/rspamd/modules.d/contextal.conf
  • etc/rspamd/modules.d/dcc.conf
  • etc/rspamd/modules.d/dkim.conf
  • etc/rspamd/modules.d/dkim_signing.conf
  • etc/rspamd/modules.d/dmarc.conf
  • etc/rspamd/modules.d/elastic.conf
  • etc/rspamd/modules.d/emails.conf
  • etc/rspamd/modules.d/external_relay.conf
  • etc/rspamd/modules.d/external_services.conf
  • etc/rspamd/modules.d/force_actions.conf
  • etc/rspamd/modules.d/forged_recipients.conf
  • etc/rspamd/modules.d/fuzzy_check.conf
  • etc/rspamd/modules.d/gpt.conf
  • etc/rspamd/modules.d/greylist.conf
  • etc/rspamd/modules.d/hfilter.conf
  • etc/rspamd/modules.d/history_redis.conf
  • etc/rspamd/modules.d/http_headers.conf
  • etc/rspamd/modules.d/known_senders.conf
  • etc/rspamd/modules.d/maillist.conf
  • etc/rspamd/modules.d/metadata_exporter.conf
  • etc/rspamd/modules.d/metric_exporter.conf
  • etc/rspamd/modules.d/mid.conf
  • etc/rspamd/modules.d/milter_headers.conf
  • etc/rspamd/modules.d/mime_types.conf
  • etc/rspamd/modules.d/multimap.conf
  • etc/rspamd/modules.d/mx_check.conf
  • etc/rspamd/modules.d/neural.conf
  • etc/rspamd/modules.d/neural_autolearn.conf
  • etc/rspamd/modules.d/once_received.conf
  • etc/rspamd/modules.d/p0f.conf
  • etc/rspamd/modules.d/phishing.conf
  • etc/rspamd/modules.d/ratelimit.conf
  • etc/rspamd/modules.d/rbl.conf
  • etc/rspamd/modules.d/redis.conf
  • etc/rspamd/modules.d/regexp.conf
  • etc/rspamd/modules.d/replies.conf
  • etc/rspamd/modules.d/reputation.conf
  • etc/rspamd/modules.d/rspamd_update.conf
  • etc/rspamd/modules.d/spamassassin.conf
  • etc/rspamd/modules.d/spamtrap.conf
  • etc/rspamd/modules.d/spf.conf
  • etc/rspamd/modules.d/surbl.conf
  • etc/rspamd/modules.d/trie.conf
  • etc/rspamd/modules.d/url_redirector.conf
  • etc/rspamd/modules.d/url_suspect.conf
  • etc/rspamd/modules.d/whitelist.conf
  • etc/rspamd/modules.local.d/module.conf.example
  • etc/rspamd/options.inc
  • etc/rspamd/override.d/module.conf.example
  • etc/rspamd/rspamd.conf
  • @sample etc/rspamd/rspamd.newsyslog.conf.sample
  • etc/rspamd/scores.d/content_group.conf
  • etc/rspamd/scores.d/fuzzy_group.conf
  • etc/rspamd/scores.d/headers_group.conf
  • etc/rspamd/scores.d/hfilter_group.conf
  • etc/rspamd/scores.d/mime_types_group.conf
  • etc/rspamd/scores.d/mua_group.conf

The first 100 are listed.

distinfo 1
FileSizeSHA256
rspamd-rspamd-4.2.2_GH0.tar.gz7.502836e+06dcad37d30c4e7cfc5576442bcd5c741d4895b1ef22b35a41daf150e74047f4d6

Commit history 3

DateCommitCreditsLog message
58d392be23 Vsevolod Stakhov mail/rspamd: Package hs_helper configs with VECTORSCAN
Follow-up to 8f3058ca4f8 ("mail/rspamd: Add vectorscan support", PR 296532). Both the HYPERSCAN and VECTORSCAN options pass -DENABLE_HYPERSCAN=ON to CMake, and conf/worker-hs_helper.{conf,inc} are installed whenever ENABLE_HYPERSCAN is on (cmake/InstallRspamdFiles.cmake). The packing list, however, gates those entries on %%HYPERSCAN%% only: - With VECTORSCAN enabled (the new default on amd64, aarch64 and powerpc64le) the two files are staged but commented out of the manifest: check-orphans/check-plist fail and the files are missing from the package. - On architectures where the HYPERSCAN option is not defined (aarch64, powerpc64le, i386, armv7, powerpc, powerpc64) %%HYPERSCAN%% is never defined in PLIST_SUB, so the literal leaks into the packing list. …
8f3058ca4f Vsevolod Stakhov mail/rspamd: Add vectorscan support
- Add the VECTORSCAN option for aarch64, amd64 and powerpc64le and enable it by default; HYPERSCAN stays available on amd64 as an alternative - Use libarchive from ports explicitly - Use a relative symlink for newsyslog.conf.d/rspamd.newsyslog.conf - Drop an unused HYPERSCAN PLIST_SUB block PR: 296532 Submitted by: Jordan Ostreff <[email protected]>
f94723e5ab Vsevolod Stakhov mail/rspamd: Update to 4.2.2
Includes fixes for memory safety bugs reachable from the network (HTTP body handling, DNS replies, UCL nesting, DKIM bh=, fuzzy TCP sessions) and a controller fix where a malformed password hash accepted any password. ChangeLog: https://github.com/rspamd/rspamd/blob/4.2.2/ChangeLog