BSD Ports

mail/p5-Mail-Milter-Authentication 4.20250811 FreeBSD

Perl Mail Authentication Milter

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
mail, perl5
Package size
191.7 KiB, 799.1 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

SystemPortVersion
FreeBSDmail/p5-Mail-Milter-Authentication4.20250811
OpenBSDmail/p5-Mail-Milter-Authentication3.20240701
DragonFlymail/p5-Mail-Milter-Authentication3.20241024
HardenedBSDmail/p5-Mail-Milter-Authentication4.20250811
GhostBSDmail/p5-Mail-Milter-Authentication4.20250811

Install

Binary package:

pkg install p5-Mail-Milter-Authentication

From the ports tree:

cd /usr/ports/mail/p5-Mail-Milter-Authentication/ && make install clean

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

RUN_DEPENDS=	p5-Mail-Milter-Authentication>0:mail/p5-Mail-Milter-Authentication

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.202508114.20250811-3.202410244.20250811
FreeBSD:14:quarterly4.202508114.20250811n/a3.202410244.20250811
FreeBSD:15:latest4.202508114.20250811n/a3.202410243.20241024
FreeBSD:15:quarterly4.202508114.20250811n/an/an/a
FreeBSD:16:latest4.202508114.20250811n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 31

Test 5

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

Build dependencies 2
Run dependencies 183

The first 100 are listed.

No port depends on this one.

Configuration

No options to configure.

USES
perl5 shebangfix
Service scripts
authentication_milter

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.

Files

pkg-plist 128
  • bin/authentication_milter
  • bin/authentication_milter_blocker
  • bin/authentication_milter_log
  • bin/authentication_milter_client
  • @sample %%SITE_PERL%%/auto/share/dist/Mail-Milter-Authentication/authentication_milter.json etc/p5-Mail-Milter-Authentication/authentication_milter.json
  • @sample %%SITE_PERL%%/auto/share/dist/Mail-Milter-Authentication/mail-dmarc.ini etc/p5-Mail-Milter-Authentication/mail-dmarc.ini
  • %%SITE_PERL%%/Mail/Milter/Authentication.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Resolver.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Client.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Tester.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Constants.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Exception.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/HTDocs.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Pragmas.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Config.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/IPRev.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/TLS_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Size.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/XGoogleDKIM.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Auth.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/AbusixDataFeed.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/TLS.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/DMARC_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/TrustedIP.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Sanitize_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Sanitize.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Size_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/PTR_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Logger.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/BIMI.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/DKIM_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/TestTimeout.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/AlignedFrom.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/AddID.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/ReturnOK_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/LocalIP_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/XGoogleDKIM_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/DMARC.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Auth_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/IPRev_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/Blocker.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/ReturnOK.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/SPF.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/LocalIP.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/SenderID_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/AlignedFrom_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/PTR.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/ARC_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/RBLDNS.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/TrustedIP_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/SPF_metrics.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/SenderID.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/ARC.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Handler/DKIM.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric/RowProcesses.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric/Grafana.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric/RowProcessingTime.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric/RowUptime.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric/RowErrors.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric/Base.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Metric/RowThroughput.json
  • %%SITE_PERL%%/Mail/Milter/Authentication/Tester/HandlerTester.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/htdocs/css/authmilter.css
  • %%SITE_PERL%%/Mail/Milter/Authentication/htdocs/css/normalize.css
  • %%SITE_PERL%%/Mail/Milter/Authentication/htdocs/css/skeleton.css
  • %%SITE_PERL%%/Mail/Milter/Authentication/Net/ServerPatches.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Net/Milter.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/App/Blocker/App.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/App/Blocker/App/Command/delete.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/App/Blocker/App/Command/add.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/App/Blocker/App/Command/list.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/App/ProcessLog/App.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/App/ProcessLog/App/Command/arex.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Protocol/SMTP.pm
  • %%SITE_PERL%%/Mail/Milter/Authentication/Protocol/Milter.pm
  • %%PERL5_MAN1%%/authentication_milter_blocker.1.gz
  • %%PERL5_MAN1%%/authentication_milter_client.1.gz
  • %%PERL5_MAN1%%/authentication_milter_log.1.gz
  • %%PERL5_MAN1%%/authentication_milter.1.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::App::Blocker::App.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::App::Blocker::App::Command::add.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::App::Blocker::App::Command::delete.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::App::Blocker::App::Command::list.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::App::ProcessLog::App.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::App::ProcessLog::App::Command::arex.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Client.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Config.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Constants.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Exception.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler::AbusixDataFeed.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler::AddID.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler::AlignedFrom.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler::ARC.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler::Auth.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler::BIMI.3.gz
  • %%PERL5_MAN3%%/Mail::Milter::Authentication::Handler::Blocker.3.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
Mail-Milter-Authentication-4.20250811.tar.gz258257eaf06533cc33ce3ee588a9a1394a91d85f63ed0a0ecfca1b1d5df2b7fbb65772
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.