I need help to finish this one, it starts ok with doas(1) but it fails with "permission denied" if started by root. Any hints ? It needs an updated p5-Mail-DMARC port as well. Cheers Giovanni -------------------------------------------------------------------------- Information for inst:p5-Mail-Milter-Authentication-1.0.1
Comment: perl implementation of email authentication standards Description: A Perl implementation of email authentication standards rolled up into a single easy to use milter. This milter verifies using the following standards. - SPF - SenderID - DKIM (including ADSP) - DMARC - IPRev - Check HELO matches it's IP address Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> WWW: http://search.cpan.org/dist/Mail-Milter-Authentication/ --------------------------------------------------------------------------
Index: Makefile =================================================================== RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 12 Jul 2014 19:19:18 -0000 1.3 +++ Makefile 15 Oct 2015 13:33:28 -0000 @@ -2,9 +2,8 @@ COMMENT= perl implementation of DMARC -DISTNAME= Mail-DMARC-1.20140622 +DISTNAME= Mail-DMARC-1.20150908 CATEGORIES= mail -REVISION= 1 # Perl PERMIT_PACKAGE_CDROM= Yes @@ -19,6 +18,7 @@ RUN_DEPENDS= devel/p5-Config-Tiny \ devel/p5-File-ShareDir \ www/p5-libwww \ converters/p5-JSON \ + converters/p5-Net-IDN-Encode \ net/p5-Net-DNS \ net/p5-Net-IP \ net/p5-Net-SMTPS \ @@ -28,6 +28,10 @@ RUN_DEPENDS= devel/p5-Config-Tiny \ www/p5-URI \ textproc/p5-XML-LibXML \ devel/p5-Net-Server -TEST_DEPENDS= ${RUN_DEPENDS} +TEST_DEPENDS= ${RUN_DEPENDS} \ + textproc/p5-XML-Validator-Schema + +post-configure: + find ${WRKSRC} -name "*.orig" -exec rm -f {} \; .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 23 Jun 2014 19:17:28 -0000 1.1.1.1 +++ distinfo 22 Sep 2015 07:04:35 -0000 @@ -1,2 +1,2 @@ -SHA256 (Mail-DMARC-1.20140622.tar.gz) = J85eXpgeLrlYLhZiUB2ww9fJm1rL8uy6B+dlAl2O93c= -SIZE (Mail-DMARC-1.20140622.tar.gz) = 700651 +SHA256 (Mail-DMARC-1.20150908.tar.gz) = FtzOUMxTUIVwt3eJ0S+pcsow/pA/OVk7tQ84SPKyDk8= +SIZE (Mail-DMARC-1.20150908.tar.gz) = 720935 Index: pkg/PLIST =================================================================== RCS file: /var/cvs/ports/mail/p5-Mail-DMARC/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 PLIST --- pkg/PLIST 23 Jun 2014 19:17:28 -0000 1.1.1.1 +++ pkg/PLIST 22 Sep 2015 07:05:54 -0000 @@ -4,6 +4,7 @@ bin/dmarc_httpd bin/dmarc_lookup bin/dmarc_receive bin/dmarc_send_reports +bin/dmarc_update_public_suffix_list bin/dmarc_view_reports @comment bin/install_deps.pl ${P5SITE}/Mail/ @@ -18,7 +19,16 @@ ${P5SITE}/Mail/DMARC/Report.pm ${P5SITE}/Mail/DMARC/Report/Aggregate/ ${P5SITE}/Mail/DMARC/Report/Aggregate.pm ${P5SITE}/Mail/DMARC/Report/Aggregate/Metadata.pm +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/ ${P5SITE}/Mail/DMARC/Report/Aggregate/Record.pm +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results/ +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results.pm +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results/DKIM.pm +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Auth_Results/SPF.pm +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Identifiers.pm +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Row/ +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Row.pm +${P5SITE}/Mail/DMARC/Report/Aggregate/Record/Row/Policy_Evaluated.pm ${P5SITE}/Mail/DMARC/Report/Receive.pm ${P5SITE}/Mail/DMARC/Report/Send/ ${P5SITE}/Mail/DMARC/Report/Send.pm @@ -28,9 +38,10 @@ ${P5SITE}/Mail/DMARC/Report/Store/ ${P5SITE}/Mail/DMARC/Report/Store.pm ${P5SITE}/Mail/DMARC/Report/Store/SQL.pm ${P5SITE}/Mail/DMARC/Report/URI.pm +${P5SITE}/Mail/DMARC/Result/ ${P5SITE}/Mail/DMARC/Result.pm +${P5SITE}/Mail/DMARC/Result/Reason.pm ${P5SITE}/auto/share/dist/Mail-DMARC/ -${P5SITE}/auto/share/dist/Mail-DMARC/dmarc-report-2013-draft.xsd ${P5SITE}/auto/share/dist/Mail-DMARC/dmarc_whitelist ${P5SITE}/auto/share/dist/Mail-DMARC/html/ ${P5SITE}/auto/share/dist/Mail-DMARC/html/css/ @@ -94,14 +105,18 @@ ${P5SITE}/auto/share/dist/Mail-DMARC/htm ${P5SITE}/auto/share/dist/Mail-DMARC/html/plugins/searchFilter.css ${P5SITE}/auto/share/dist/Mail-DMARC/html/plugins/ui.multiselect.css ${P5SITE}/auto/share/dist/Mail-DMARC/html/plugins/ui.multiselect.js.gz +${P5SITE}/auto/share/dist/Mail-DMARC/mail-dmarc.cron +${P5SITE}/auto/share/dist/Mail-DMARC/mail-dmarc.ini ${P5SITE}/auto/share/dist/Mail-DMARC/mail_dmarc_schema.mysql ${P5SITE}/auto/share/dist/Mail-DMARC/mail_dmarc_schema.sqlite ${P5SITE}/auto/share/dist/Mail-DMARC/public_suffix_list +${P5SITE}/auto/share/dist/Mail-DMARC/rua-schema.xsd @man man/man1/dmarc_http_client.1 @man man/man1/dmarc_httpd.1 @man man/man1/dmarc_lookup.1 @man man/man1/dmarc_receive.1 @man man/man1/dmarc_send_reports.1 +@man man/man1/dmarc_update_public_suffix_list.1 @man man/man1/dmarc_view_reports.1 @comment @man man/man1/install_deps.pl.1 @man man/man3p/Mail::DMARC.3p @@ -113,6 +128,12 @@ ${P5SITE}/auto/share/dist/Mail-DMARC/pub @man man/man3p/Mail::DMARC::Report::Aggregate.3p @man man/man3p/Mail::DMARC::Report::Aggregate::Metadata.3p @man man/man3p/Mail::DMARC::Report::Aggregate::Record.3p +@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Auth_Results.3p +@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Auth_Results::DKIM.3p +@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Auth_Results::SPF.3p +@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Identifiers.3p +@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Row.3p +@man man/man3p/Mail::DMARC::Report::Aggregate::Record::Row::Policy_Evaluated.3p @man man/man3p/Mail::DMARC::Report::Receive.3p @man man/man3p/Mail::DMARC::Report::Send.3p @man man/man3p/Mail::DMARC::Report::Send::HTTP.3p @@ -121,3 +142,4 @@ ${P5SITE}/auto/share/dist/Mail-DMARC/pub @man man/man3p/Mail::DMARC::Report::Store::SQL.3p @man man/man3p/Mail::DMARC::Report::URI.3p @man man/man3p/Mail::DMARC::Result.3p +@man man/man3p/Mail::DMARC::Result::Reason.3p
p5-Mail-Milter-Authentication-1.0.1.tgz
Description: application/compressed-tar
Script started on Thu Oct 15 15:36:03 2015 bigio# authentication_milter Thu Oct 15 15:36:09 2015 authentication_milter[31712] run as user=nobody group=nogroup Thu Oct 15 15:36:09 2015 authentication_milter[31712] Chroot to Thu Oct 15 15:36:09 2015 authentication_milter[31712] listen on inet host=localhost port=12345 backlog=20 Thu Oct 15 15:36:09 2015 authentication_milter[31712] ========== Thu Oct 15 15:36:09 2015 authentication_milter[31712] Starting server Thu Oct 15 15:36:09 2015 authentication_milter[31712] ========== Thu Oct 15 15:36:09 2015 authentication_milter[31712] Warning: Pid_file "/var/run/authentication_milter.pid" already exists. Overwriting! Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler Sanitize Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler Module Sanitize Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler ReturnOK Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler Module ReturnOK Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler PTR Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler Module PTR Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler DMARC Thu Oct 15 15:36:09 2015 authentication_milter[31712] Load Handler Module DMARC Can't locate Mail/DMARC/Report/Send/SMTP.pm: Permission denied at /usr/local/libdata/perl5/site_perl/Mail/DMARC/Report/Send.pm line 8. BEGIN failed--compilation aborted at /usr/local/libdata/perl5/site_perl/Mail/DMARC/Report/Send.pm line 8. Compilation failed in require at /usr/local/libdata/perl5/site_perl/Mail/DMARC/Report.pm line 13. Compilation failed in require at /usr/local/libdata/perl5/site_perl/Mail/DMARC.pm line 11. Compilation failed in require at /usr/libdata/perl5/parent.pm line 20. BEGIN failed--compilation aborted at /usr/local/libdata/perl5/site_perl/Mail/DMARC/PurePerl.pm line 8. Compilation failed in require at /usr/local/libdata/perl5/site_perl/Mail/Milter/Authentication/Handler/DMARC.pm line 11. BEGIN failed--compilation aborted at /usr/local/libdata/perl5/site_perl/Mail/Milter/Authentication/Handler/DMARC.pm line 11. Compilation failed in require at /usr/libdata/perl5/Module/Load.pm line 77. Can't locate Mail/Milter/Authentication/Handler/DMARC: Permission denied at /usr/libdata/perl5/Module/Load.pm line 77. bigio# ^D Script done on Thu Oct 15 15:36:10 2015