BSD Ports

mail/rbl-milter 0.30_6 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
45eb789e2c
License
GPLv2+
Categories
mail
Package size
14.7 KiB, 33.6 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

SystemPortVersion
FreeBSDmail/rbl-milter0.30_6
DragonFlymail/rbl-milter0.30_6
HardenedBSDmail/rbl-milter0.30_6
GhostBSDmail/rbl-milter0.30_6

Install

Binary package:

pkg install rbl-milter

From the ports tree:

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

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

RUN_DEPENDS=	rbl-milter>0:mail/rbl-milter

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:latest0.30_60.30_60.30_60.30_60.30_6
FreeBSD:14:quarterly0.30_60.30_6n/a0.30_60.30_6
FreeBSD:15:latest0.30_60.30_6n/a0.30_60.30_6
FreeBSD:15:quarterly0.30_60.30_6n/an/an/a
FreeBSD:16:latest0.30_60.30_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
gmake
Service scripts
rblmilter

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.

Files

distinfo 1
FileSizeSHA256
rbl-milter-0.30.tar.gz35779b8ab212d71fe39b589f4b1a819a606d1cfb7e62c06e3efbd1782e1ad79f932b4
Master sites 1
  • http://www.gnu-darwin.org/distfiles/

Commit history 1

DateCommitCreditsLog message
45eb789e2c Dirk Meyer sysutils/minirsyslogd: add LICENSE
mail/noattach: add LICENSE mail/pathalias: add LICENSE mail/rbl-milter: add LICENSE multimedia/replex: add LICENSE mail/sid-milter: add LICENSE mail/sma: add LICENSE