summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-07-19 02:48:42 +0000
committerjlam <jlam@pkgsrc.org>2004-07-19 02:48:42 +0000
commit2bbbb174c946577d9b2f6e91a8be322a8970fe35 (patch)
tree7cc58c669e95bf9a83123b53f45685196edc0520 /mail
parent24c8be8261cadb8aeaf5d6b26924a5ffbb895359 (diff)
downloadpkgsrc-2bbbb174c946577d9b2f6e91a8be322a8970fe35.tar.gz
Make the messages for using both SASL and TLS more helpful.
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix/MESSAGE.sasl21
-rw-r--r--mail/postfix/MESSAGE.tls19
2 files changed, 30 insertions, 10 deletions
diff --git a/mail/postfix/MESSAGE.sasl b/mail/postfix/MESSAGE.sasl
index c6de6c10c23..2064e236a9f 100644
--- a/mail/postfix/MESSAGE.sasl
+++ b/mail/postfix/MESSAGE.sasl
@@ -1,7 +1,20 @@
===========================================================================
-$NetBSD: MESSAGE.sasl,v 1.4 2004/07/19 02:46:30 jlam Exp $
+$NetBSD: MESSAGE.sasl,v 1.5 2004/07/19 02:48:42 jlam Exp $
+
+To enable SASL authentication, you may want to edit
+
+ ${SASLLIBDIR}/smtpd.conf
+
+and change the method used to check plaintext passwords. To use
+security/cyrus-saslauthd, you should change the contents of smtpd.conf to:
+
+ pwcheck_method: saslauthd
+
+Please consult:
+
+ ${EXAMPLEDIR}/sample-auth.cf
+
+and the SASL documentation for more information on setting up SASL
+authentication.
-To enable SASL authentication, you might need to change permission
-of ${PKG_SYSCONFDIR}/sasldb.db so that smtpd can read it, and configure
-${PKG_SYSCONFDIR}/main.cf.
===========================================================================
diff --git a/mail/postfix/MESSAGE.tls b/mail/postfix/MESSAGE.tls
index cd99e9fd0fc..905f9d1cf45 100644
--- a/mail/postfix/MESSAGE.tls
+++ b/mail/postfix/MESSAGE.tls
@@ -1,13 +1,20 @@
===========================================================================
-$NetBSD: MESSAGE.tls,v 1.4 2004/07/19 02:46:30 jlam Exp $
+$NetBSD: MESSAGE.tls,v 1.5 2004/07/19 02:48:42 jlam Exp $
-To enable TLS, you might need to reconfigure /etc/postfix/main.cf and
-${PKG_SYSCONFDIR}/master.cf.
+To enable TLS, you might need to reconfigure the following files:
+
+ ${PKG_SYSCONFDIR}/main.cf
+ ${PKG_SYSCONFDIR}/master.cf
master.cf:
----------
- tlsmgr fifo - - y 300 1 tlsmgr
- smtps inet n - y - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
- submission inet n - y - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
+# ==========================================================================
+# service type private unpriv chroot wakeup maxproc command + args
+# ==========================================================================
+tlsmgr fifo - - y 300 1 tlsmgr
+smtps inet n - y - - smtpd
+ -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
+submission inet n - y - - smtpd
+ -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
===========================================================================