BSD Ports

mail/rbl-milter 0.30_6 DragonFly

Milter that adds mail header warnings on mail from open-relays

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
mail
Package size
7.1 KiB, 15.9 KiB installed

Description

This is a simple sendmail milter which adds an X-RBL-Warning header to any emails that are received that come from an open relay as determined by your choice of RBL checking service (i.e. bl.spamcop.net).

This is useful if you'd rather have the mail user agent (MUA) deal with potential spam rather than just blocking it in case you loose legitimate messages. Note that the X-RBL-Warning header is only set if the site was found to be an open-relay.

In the other systems

The newest version among them is 0.30, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlymail/rbl-milter0.30_6 newestnone known-[email protected]-
FreeBSDmail/rbl-milter0.30_6 newestnone known-[email protected]2026-09-26
HardenedBSDmail/rbl-milter0.30_6 newestno data-[email protected]-
GhostBSDmail/rbl-milter0.30_6 newestno data-[email protected]-

Install

Binary package:

pkg install rbl-milter

From DPorts:

cd /usr/dports/mail/rbl-milter && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Add to your /etc/rc.conf
rblmilter_enable="YES"
Then run the milter with: /usr/local/etc/rc.d/rbl-milter start

By default, it uses the relays found at relays.ordb.org but you can
change that by setting rblmilter_flags in /etc/rc.conf:
rblmilter_flags="-l -r -d relays.ordb.org"

Note that you will need to edit the proper sendmail.mc file in your
/etc/mail directory so that sendmail will pass mail to rbl-milter.
If you have not done this before, do the following:

  cd /etc/mail
  cp -p freebsd.mc `hostname`.mc

Add the INPUT_MAIL_FILTER line to the file:

  INPUT_MAIL_FILTER(`rbl-milter',`S=local:/var/run/rbl-milter')

and rebuild it

  make
  make install
  make restart

By default, the INPUT_MAIL_FILTER line will ignore the filter if
rbl-milter is not running.