summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortv <tv>2004-03-29 18:14:02 +0000
committertv <tv>2004-03-29 18:14:02 +0000
commit2d03bb34b586f4574fba6e78b68f21cef2f65e42 (patch)
tree22cb55c0c2fc4f829e2914d8b3322a935b8bddc8 /mail
parentf28bb13b01649595a8f4385e3c37aea9e5399ec4 (diff)
downloadpkgsrc-2d03bb34b586f4574fba6e78b68f21cef2f65e42.tar.gz
Sendmail::PMilter is a mail filtering API implementing the Sendmail
milter protocol in pure Perl. This allows Sendmail servers (and perhaps other MTAs implementing milter) to filter and modify mail in transit during the SMTP connection, all in Perl. This also includes a drop-in replacement for the Sendmail::Milter API, making it possible for legacy perl milters to function as-is with the PMilter engine.
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Sendmail-PMilter/DESCR16
-rw-r--r--mail/p5-Sendmail-PMilter/Makefile21
-rw-r--r--mail/p5-Sendmail-PMilter/PLIST1
-rw-r--r--mail/p5-Sendmail-PMilter/distinfo4
4 files changed, 42 insertions, 0 deletions
diff --git a/mail/p5-Sendmail-PMilter/DESCR b/mail/p5-Sendmail-PMilter/DESCR
new file mode 100644
index 00000000000..e9e977a1107
--- /dev/null
+++ b/mail/p5-Sendmail-PMilter/DESCR
@@ -0,0 +1,16 @@
+Sendmail::PMilter is a mail filtering API implementing the Sendmail
+milter protocol in pure Perl. This allows Sendmail servers (and perhaps
+other MTAs implementing milter) to filter and modify mail in transit
+during the SMTP connection, all in Perl.
+
+It should be noted that PMilter 0.90 and later is NOT compatible with
+scripts written for PMilter 0.5 and earlier. The API has been reworked
+significantly, and the enhanced APIs and rule logic provided by PMilter
+0.5 and earlier has been factored out for inclusion in a separate package
+to be called Mail::Milter.
+
+So, in short, this package should be regarded as a drop-in replacement
+for Sendmail::Milter, with only some very minor API extensions related
+to the milter protocol itself. (Sendmail::PMilter includes a wrapper
+module named Sendmail::Milter to allow old milter scripts to continue
+working as-is with this package.)
diff --git a/mail/p5-Sendmail-PMilter/Makefile b/mail/p5-Sendmail-PMilter/Makefile
new file mode 100644
index 00000000000..57967ec0aaf
--- /dev/null
+++ b/mail/p5-Sendmail-PMilter/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 18:14:02 tv Exp $
+#
+
+DISTNAME= Sendmail-PMilter-0.93
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmilter/}
+
+MAINTAINER= tv@duh.org
+HOMEPAGE= http://pmilter.sourceforge.net/
+COMMENT= Pure-Perl Milter protocol API
+
+# Though it doesn't exist yet, just in case:
+CONFLICTS+= p5-Sendmail-Milter-[0-9]*
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Sendmail/PMilter/.packlist
+PERL5_REQD+= 5.6.0
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Sendmail-PMilter/PLIST b/mail/p5-Sendmail-PMilter/PLIST
new file mode 100644
index 00000000000..1a2f589157a
--- /dev/null
+++ b/mail/p5-Sendmail-PMilter/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 18:14:02 tv Exp $
diff --git a/mail/p5-Sendmail-PMilter/distinfo b/mail/p5-Sendmail-PMilter/distinfo
new file mode 100644
index 00000000000..b4e77e28581
--- /dev/null
+++ b/mail/p5-Sendmail-PMilter/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/29 18:14:02 tv Exp $
+
+SHA1 (Sendmail-PMilter-0.93.tar.gz) = 1150a604c0cc14095f0fd1b678b47c36d76bbc83
+Size (Sendmail-PMilter-0.93.tar.gz) = 25535 bytes