BSD Ports

mail/p5-Mail-Milter-Authentication 3.20241024 DragonFly

Perl Mail Authentication Milter

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
mail, perl5
Package size
192.6 KiB, 812.2 KiB installed

Description

A Perl implementation of email authentication standards rolled up into a single easy to use milter. This milter verifies using the following standards. ARC / BIMI / DMARC / IPRev / SPF Check HELO matches it's IP address DKIM (including ADSP) DomainKeys (deprecated) SenderID (deprecated) Includes additional modules. AddID - add a header to all email (example) ReturnOK - Checks that return addresses have properly configured MX records TLS (milter protocol only) - identifies TLS protected connections Check alignment of RFC5322 From and Mail From addresses Send aggregate data to the abusix service Check for SMTP Authentication Block mail based on simple rules Check IP against a trusted list and/or local IP space Extended logging Reverse loopup checking Check against a list of RBLDNS services Generate metrics about message header and body sizes

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlymail/p5-Mail-Milter-Authentication3.20241024none known-[email protected]-
FreeBSDmail/p5-Mail-Milter-Authentication4.20250811 newestnone known-[email protected]-
OpenBSDmail/p5-Mail-Milter-Authentication3.20240701no data-The OpenBSD ports mailing-list <[email protected]>-
HardenedBSDmail/p5-Mail-Milter-Authentication4.20250811 newestno data-[email protected]-
GhostBSDmail/p5-Mail-Milter-Authentication4.20250811 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Mail-Milter-Authentication

From DPorts:

cd /usr/dports/mail/p5-Mail-Milter-Authentication && 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 31

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To enable authentication_milter to run at boot time, set the following
variable in your /etc/rc.conf file:

    authentication_milter_enable="YES"

Check and/or modify the following configuration files to suit your needs:

    /usr/local/etc/mail/authentication_milter.json
    /usr/local/etc/mail/mail-dmarc.ini

  NOTE: The default settings almost works for test and/or personal use,
        SPF/DKIM/DMARC(no report mail)/ARC(but not enable ARC-Seals) are OK.

        To enable DMARC report feature, now TODO. Because it's required
        p5-Mail-DMARC port setup.

For sendmail users, please add the following line to your sendmail.mc:

    INPUT_MAIL_FILTER(`authentication_milter', \
        `S=local:/var/run/auth_milter/auth_milter.sock, F=T, T=R:2m')

For postfix users, please add the following line to your main.cf:

    smtpd_milters = sock:/var/run/auth_milter/auth_milter.sock

    Note: milter sockets must be accessible from postfix/smtpd;
          using inet sockets might be preferred.