pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/qmail-run



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Jul 21 04:08:15 UTC 2017

Modified Files:
        pkgsrc/mail/qmail-run: MESSAGE Makefile PLIST
        pkgsrc/mail/qmail-run/files: qmailofmipd.sh
Removed Files:
        pkgsrc/mail/qmail-run/files: qmail-qfilter-queue.sh

Log Message:
Update to 20170720. pkgsrc changes:

- Remove qmail-qfilter-*-queue shell scripts, which would conflict with
  the C programs of the same name included in mail/qmail 1.03nb29 with
  the "qmail-rejectutils" option (enabled by default).

- Bump mail/qmail dependency to 1.03nb29.

- Shorten and improve MESSAGE.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/mail/qmail-run/MESSAGE
cvs rdiff -u -r1.39 -r1.40 pkgsrc/mail/qmail-run/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mail/qmail-run/PLIST
cvs rdiff -u -r1.6 -r0 pkgsrc/mail/qmail-run/files/qmail-qfilter-queue.sh
cvs rdiff -u -r1.6 -r1.7 pkgsrc/mail/qmail-run/files/qmailofmipd.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/qmail-run/MESSAGE
diff -u pkgsrc/mail/qmail-run/MESSAGE:1.6 pkgsrc/mail/qmail-run/MESSAGE:1.7
--- pkgsrc/mail/qmail-run/MESSAGE:1.6   Thu Jul  6 15:46:31 2017
+++ pkgsrc/mail/qmail-run/MESSAGE       Fri Jul 21 04:08:15 2017
@@ -1,43 +1,41 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.6 2017/07/06 15:46:31 schmonz Exp $
+$NetBSD: MESSAGE,v 1.7 2017/07/21 04:08:15 schmonz Exp $
 
 Please read ${PREFIX}/share/doc/qmail-run/README.pkgsrc.
 
 To enable qmail for...
 
 Local and outgoing deliveries:
-- Check the configuration files in ${PKG_SYSCONFDIR}.
-- Modify /etc/mailer.conf (see share/examples/qmail-run/mailer.conf).
-- Set qmailsend=YES in /etc/rc.conf.
+- Check the configuration files in ${PKG_SYSCONFDIR}
+- Replace /etc/mailer.conf with share/examples/qmail-run/mailer.conf
+- In /etc/rc.conf, set
+    qmailsend=YES
+
+Local non-root users to see the queue:
+- Change the mailq entry in /etc/mailer.conf to qmail-qread-client
+- In /etc/rc.conf, set
+    qmailqread=YES
 
 Incoming SMTP deliveries:
-- Set qmailsmtpd=YES in /etc/rc.conf.
+- In /etc/rc.conf, set
+    qmailsmtpd=YES
+    qmailsmtpd_postenv="QMAILQUEUE=${PREFIX}/bin/qmail-qfilter-smtpd-queue RCPTCHECK=${PREFIX}/bin/qmail-rcptcheck"
+
+Filtering incoming SMTP:
+- List qmail-qfilter programs in ${PKG_SYSCONFDIR}/control/smtpfilters
+- List qmail-rcptcheck programs in ${PKG_SYSCONFDIR}/control/rcptchecks
 
 Outgoing submissions with SMTP AUTH over TLS:
-- Set qmailofmipd=YES in /etc/rc.conf, and also qmailofmipd_preofmipd to
-  ${PREFIX}/bin/spamdyke --config-file ${PKG_SYSCONFBASE}/spamdyke-ofmipd.conf
-- Copy share/examples/qmail-run/spamdyke-ofmipd.conf to ${PKG_SYSCONFBASE}.
-- Consider that your checkpassword binary may need to be setuid root.
-- Set stunnel=YES in /etc/rc.conf.
-- Incorporate share/examples/qmail-run/stunnel.conf into your stunnel.conf.
-
-POP3 (only for Maildirs):
-- Set qmailpop3d=YES in /etc/rc.conf.
-
-Local non-root users to see the queue:
-- Set qmailqread=YES in /etc/rc.conf.
-- Change the mailq entry in /etc/mailer.conf to qmail-qread-client.
-
-Filtering incoming messages arriving via SMTP:
-- Set QMAILQUEUE="${PREFIX}/bin/qmail-qfilter-smtpd-queue" in tcp.smtp.
-- Reload the cdb: /etc/rc.d/qmailsmtpd cdb
-- Consult qmail-qfilter(1) and see share/examples/qmail-qfilter.
-- Place executable filters named 'smtpd-*' in ${PKG_SYSCONFDIR}/filters.
-
-Filtering outgoing messages submitted via OFMIP:
-- Set QMAILQUEUE="${PREFIX}/bin/qmail-qfilter-ofmipd-queue" in tcp.ofmip.
-- Reload the cdb: /etc/rc.d/qmailofmipd cdb
-- Consult qmail-qfilter(1) and see share/examples/qmail-qfilter.
-- Place executable filters named 'ofmipd-*' in ${PKG_SYSCONFDIR}/filters.
+- Incorporate share/examples/qmail-run/stunnel.conf into your stunnel.conf
+- Consider that your checkpassword binary may need to be setuid root
+- Copy share/examples/qmail-run/spamdyke-ofmipd.conf to ${PKG_SYSCONFBASE}
+- In /etc/rc.conf, set
+    qmailofmipd=YES
+    qmailofmipd_preofmipd="${PREFIX}/bin/spamdyke --config-file ${PKG_SYSCONFBASE}/spamdyke-ofmipd.conf"
+    stunnel=YES
+
+Fetching Maildirs via POP3:
+- In /etc/rc.conf, set
+    qmailpop3d=YES
 
 ===========================================================================

Index: pkgsrc/mail/qmail-run/Makefile
diff -u pkgsrc/mail/qmail-run/Makefile:1.39 pkgsrc/mail/qmail-run/Makefile:1.40
--- pkgsrc/mail/qmail-run/Makefile:1.39 Thu Jul  6 15:46:31 2017
+++ pkgsrc/mail/qmail-run/Makefile      Fri Jul 21 04:08:15 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2017/07/06 15:46:31 schmonz Exp $
+# $NetBSD: Makefile,v 1.40 2017/07/21 04:08:15 schmonz Exp $
 #
 
-DISTNAME=              qmail-run-20170706
+DISTNAME=              qmail-run-20170721
 CATEGORIES=            mail
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -11,7 +11,7 @@ COMMENT=              Configures qmail to receive an
 LICENSE=               2-clause-bsd
 
 DEPENDS+=              mess822-[0-9]*:../../mail/mess822
-DEPENDS_QMAIL=         qmail>=1.03nb8:../../mail/qmail
+DEPENDS_QMAIL=         qmail>=1.03nb29:../../mail/qmail
 DEPENDS+=              ${DEPENDS_QMAIL}
 DEPENDS+=              qmail-qfilter>1.5nb1:../../mail/qmail-qfilter
 
@@ -47,7 +47,7 @@ MAKEVARS+=    PKG_SYSCONFDIR.qmail-run
 .endif
 
 SUBST_CLASSES+=                paths
-SUBST_FILES.paths=     mailer.conf qmail-procmail qmail-qfilter-queue
+SUBST_FILES.paths=     mailer.conf qmail-procmail
 SUBST_FILES.paths+=    qmail-qread-client spamdyke-ofmipd.conf
 SUBST_SED.paths+=      -e 's,@PREFIX@,${PREFIX},g'
 SUBST_SED.paths+=      -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
@@ -66,7 +66,7 @@ post-extract:
        for f in README.pkgsrc mailer.conf spamdyke-ofmipd.conf stunnel.conf; do \
            ${CP} ${FILESDIR}/$$f ${WRKDIR}/$$f;                        \
        done
-       for f in qmail-procmail qmail-qfilter-queue qmail-qread-client; do \
+       for f in qmail-procmail qmail-qread-client; do \
            ${CP} ${FILESDIR}/$$f.sh ${WRKDIR}/$$f;                     \
        done
 
@@ -74,9 +74,6 @@ do-install:
        for f in qmail-procmail qmail-qread-client; do \
            ${INSTALL_SCRIPT} ${WRKDIR}/$$f ${DESTDIR}${PREFIX}/bin;    \
        done
-       for f in qmail-qfilter-ofmipd-queue qmail-qfilter-smtpd-queue; do \
-           ${INSTALL_SCRIPT} ${WRKDIR}/qmail-qfilter-queue ${DESTDIR}${PREFIX}/bin/$$f;        \
-       done
        ${INSTALL_DATA} ${WRKDIR}/README.pkgsrc \
                ${DESTDIR}${PREFIX}/share/doc/qmail-run
        ${INSTALL_DATA} ${WRKDIR}/mailer.conf \

Index: pkgsrc/mail/qmail-run/PLIST
diff -u pkgsrc/mail/qmail-run/PLIST:1.9 pkgsrc/mail/qmail-run/PLIST:1.10
--- pkgsrc/mail/qmail-run/PLIST:1.9     Thu Jul  6 15:46:31 2017
+++ pkgsrc/mail/qmail-run/PLIST Fri Jul 21 04:08:15 2017
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.9 2017/07/06 15:46:31 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.10 2017/07/21 04:08:15 schmonz Exp $
 bin/qmail-procmail
-bin/qmail-qfilter-ofmipd-queue
-bin/qmail-qfilter-smtpd-queue
 bin/qmail-qread-client
 share/doc/qmail-run/README.pkgsrc
 share/examples/qmail-run/mailer.conf

Index: pkgsrc/mail/qmail-run/files/qmailofmipd.sh
diff -u pkgsrc/mail/qmail-run/files/qmailofmipd.sh:1.6 pkgsrc/mail/qmail-run/files/qmailofmipd.sh:1.7
--- pkgsrc/mail/qmail-run/files/qmailofmipd.sh:1.6      Fri Jun 23 15:49:03 2017
+++ pkgsrc/mail/qmail-run/files/qmailofmipd.sh  Fri Jul 21 04:08:15 2017
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: qmailofmipd.sh,v 1.6 2017/06/23 15:49:03 schmonz Exp $
+# $NetBSD: qmailofmipd.sh,v 1.7 2017/07/21 04:08:15 schmonz Exp $
 #
 # @PKGNAME@ script to control ofmipd (SMTP submission service).
 #
@@ -11,7 +11,7 @@
 name="qmailofmipd"
 
 # User-settable rc.conf variables and their default values:
-: ${qmailofmipd_postenv:=""}
+: ${qmailofmipd_postenv:="QMAILQUEUE=@PREFIX@/bin/qmail-queue"}
 : ${qmailofmipd_tcpflags:="-vRl0"}
 : ${qmailofmipd_tcphost:="127.0.0.1"}
 : ${qmailofmipd_tcpport:="26"}



Home | Main Index | Thread Index | Old Index