This is a perl DMARC implemetation rolled up into a milter or into an smtp proxy. The smtp proxy needs XFORWARD support, so it will not work with smtpd(8). A fix to p5-Mail-DMARC is needed to use the rcscript.
Comments ? Ok ? Cheers Giovanni
Index: Makefile =================================================================== RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 20 Mar 2016 19:56:46 -0000 1.5 +++ Makefile 25 Apr 2016 15:38:53 -0000 @@ -3,6 +3,7 @@ COMMENT= Perl implementation of DMARC DISTNAME= Mail-DMARC-1.20150908 +REVISION= 0 CATEGORIES= mail Index: patches/patch-lib_Mail_DMARC_Report_Receive_pm =================================================================== RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/patches/patch-lib_Mail_DMARC_Report_Receive_pm,v retrieving revision 1.1 diff -u -p -r1.1 patch-lib_Mail_DMARC_Report_Receive_pm --- patches/patch-lib_Mail_DMARC_Report_Receive_pm 1 Jul 2014 11:41:54 -0000 1.1 +++ patches/patch-lib_Mail_DMARC_Report_Receive_pm 26 Apr 2016 09:32:45 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-lib_Mail_DMARC_Report_Receive_pm,v 1.1 2014/07/01 11:41:54 henning Exp $ ---- lib/Mail/DMARC/Report/Receive.pm.orig Mon Jun 30 12:51:53 2014 -+++ lib/Mail/DMARC/Report/Receive.pm Mon Jun 30 12:52:26 2014 -@@ -229,7 +229,7 @@ sub handle_body { +--- lib/Mail/DMARC/Report/Receive.pm.orig Wed Sep 9 01:20:48 2015 ++++ lib/Mail/DMARC/Report/Receive.pm Tue Apr 26 11:30:36 2016 +@@ -234,7 +234,7 @@ sub handle_body { print "handling decompressed body\n" if $self->{verbose}; Index: patches/patch-lib_Mail_DMARC_Report_Send_pm =================================================================== RCS file: patches/patch-lib_Mail_DMARC_Report_Send_pm diff -N patches/patch-lib_Mail_DMARC_Report_Send_pm --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-lib_Mail_DMARC_Report_Send_pm 26 Apr 2016 09:45:20 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ + +Don't look in $PWD/lib, it breaks startup if $PWD is inaccessible by the +current user. + +--- lib/Mail/DMARC/Report/Send.pm.orig Tue Apr 26 11:38:25 2016 ++++ lib/Mail/DMARC/Report/Send.pm Tue Apr 26 11:38:31 2016 +@@ -3,7 +3,6 @@ our $VERSION = '1.20150908'; # VERSION + use strict; + use warnings; + +-use lib 'lib'; + use parent 'Mail::DMARC::Base'; + use Mail::DMARC::Report::Send::SMTP; + use Mail::DMARC::Report::Send::HTTP;
p5-Mail-Milter-Authentication-1.0.1.tgz
Description: application/compressed-tar
Index: user.list =================================================================== RCS file: /var/cvs/ports/infrastructure/db/user.list,v retrieving revision 1.266 diff -u -p -r1.266 user.list --- user.list 22 Apr 2016 16:38:20 -0000 1.266 +++ user.list 27 Apr 2016 11:14:01 -0000 @@ -278,3 +278,4 @@ id user group port options 767 _squeezelite _squeezelite audio/squeezelite 768 _syncthing _syncthing net/syncthing 769 _mailmanq mail/mailman +770 _milter-auth _milter-auth mail/p5-Mail-Milter-Authentication