pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/postforward add postforward from https://github.c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f22484aa6d0a
branches:  trunk
changeset: 312393:f22484aa6d0a
user:      spz <spz%pkgsrc.org@localhost>
date:      Sun Sep 02 20:27:40 2018 +0000

description:
add postforward from https://github.com/zoni/postforward, a go package

diffstat:

 mail/postforward/DESCR    |  16 ++++++++++++++++
 mail/postforward/Makefile |  18 ++++++++++++++++++
 mail/postforward/PLIST    |   2 ++
 mail/postforward/distinfo |   6 ++++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diffs (58 lines):

diff -r 0904e876df5b -r f22484aa6d0a mail/postforward/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postforward/DESCR    Sun Sep 02 20:27:40 2018 +0000
@@ -0,0 +1,16 @@
+Postforward is a mail forwarding utility which aims to complement
+the Postfix Sender Rewriting Scheme daemon (PostSRSd).
+
+The downside of using PostSRSd from postfix config is that all mail
+is naively rewritten, even when no forwarding is actually performed.
+Such rewritten Return-Path addresses may confuse sieve scripts and
+other mail filtering software.
+
+This is where Postforward comes in. Instead of rewriting all incoming
+mail regardless of final destination, mail systems may be configured
+to pipe mail into Postforward only when forwarding needs to happen,
+e.g. in a users' .forward when the forwarded-to mailserver requires
+it, leaving non-forwarded mail unaltered by PostSRSd.
+Postforward will rewrite envelope addresses for piped mail using
+PostSRSd itself and re-inject these messages back into the queue,
+destined for the forwarding recipient(s).
diff -r 0904e876df5b -r f22484aa6d0a mail/postforward/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postforward/Makefile Sun Sep 02 20:27:40 2018 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2018/09/02 20:27:40 spz Exp $
+
+DISTNAME=              postforward-1.1.0
+CATEGORIES=            mail
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=zoni/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://github.com/zoni/postforward
+COMMENT=               Postfix Sender Rewriting Scheme forwarding agent
+LICENSE=               2-clause-bsd
+
+GO_SRCPATH=            github.com/zoni/postforward
+GO_DIST_BASE=          ${DISTNAME}
+
+CHECK_RELRO_SKIP+=     bin/postforward
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0904e876df5b -r f22484aa6d0a mail/postforward/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postforward/PLIST    Sun Sep 02 20:27:40 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/02 20:27:40 spz Exp $
+bin/postforward
diff -r 0904e876df5b -r f22484aa6d0a mail/postforward/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postforward/distinfo Sun Sep 02 20:27:40 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/09/02 20:27:40 spz Exp $
+
+SHA1 (postforward-1.1.0.tar.gz) = 5db2bfd005ddac75793aa6192c1619b536d49060
+RMD160 (postforward-1.1.0.tar.gz) = 3b171e5d0907de46a0221c6bc61083f0c0faac36
+SHA512 (postforward-1.1.0.tar.gz) = 39d7a33c454b1529a691b24fd69b311ba368caf59168d39146654cfe319ebc3cf73835e66e6c95a43747f389a6b954ac8da0d7e934e562c16cb85dc20c0f4804
+Size (postforward-1.1.0.tar.gz) = 5707 bytes



Home | Main Index | Thread Index | Old Index