From 58b36c8b192d3441fcd34e4a5b9cc9372596be14 Mon Sep 17 00:00:00 2001 From: justin Date: Sun, 8 Aug 2010 18:42:41 -0700 Subject: [PATCH 1/1] Minor cleanups while I'm looking at the page --- docs/handbook/handbook-smtp-auth.mdwn | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/docs/handbook/handbook-smtp-auth.mdwn b/docs/handbook/handbook-smtp-auth.mdwn index f9a72376..b2e8a758 100644 --- a/docs/handbook/handbook-smtp-auth.mdwn +++ b/docs/handbook/handbook-smtp-auth.mdwn @@ -12,7 +12,7 @@ Having SMTP Authentication in place on your mail server has a number of benefits 1. Install [`security/cyrus-sasl`](http://pkgsrc.se/security/cyrus-sasl) from the ports. You can find this port in [`security/cyrus-sasl`](http://pkgsrc.se/security/cyrus-sasl). [`security/cyrus-sasl`](http://pkgsrc.se/security/cyrus-sasl) has a number of compile time options to choose from and, for the method we will be using here, make sure to select the `pwcheck` option. - 1. After installing [`security/cyrus-sasl`](http://pkgsrc.se/security/cyrus-sasl), edit `/usr/local/lib/sasl/Sendmail.conf` (or create it if it does not exist) and add the following line: + 1. After installing [`security/cyrus-sasl`](http://pkgsrc.se/security/cyrus-sasl), edit `/usr/pkg/lib/sasl2/Sendmail.conf` (or create it if it does not exist) and add the following line: @@ -49,18 +49,15 @@ Having SMTP Authentication in place on your mail server has a number of benefits dnl set SASL options - TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl - define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl - define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl - These options configure the different methods available to **sendmail** for authenticating users. If you would like to use a method other than **pwcheck** , please see the included documentation. +These options configure the different methods available to **sendmail** for authenticating users. If you would like to use a method other than **pwcheck** , please see the included documentation. - 1. Finally, run [make(1)](http://leaf.dragonflybsd.org/cgi/web-man?command#make§ion1) while in `/etc/mail`. That will run your new `.mc` file and create a `.cf` file named `freebsd.cf` (or whatever name you have used for your `.mc` file). Then use the command `make install restart`, which will copy the file to `sendmail.cf`, and will properly restart **sendmail** . For more information about this process, you should refer to `/etc/mail/Makefile`. +Finally, run [make(1)](http://leaf.dragonflybsd.org/cgi/web-man?command#make§ion1) while in `/etc/mail`. That will run your new `.mc` file and create a `.cf` file named `freebsd.cf` (or whatever name you have used for your `.mc` file). Then use the command `make install restart`, which will copy the file to `sendmail.cf`, and will properly restart **sendmail** . For more information about this process, you should refer to `/etc/mail/Makefile`. @@ -70,30 +67,15 @@ If all has gone correctly, you should be able to enter your login information in You may wish to add the following lines to `/etc/rc.conf` so this service will be available after every system boot: - - - - sasl_pwcheck_enable="YES" - sasl_pwcheck_program="/usr/local/sbin/pwcheck" - - - - This will ensure the initialization of SMTP_AUTH upon system boot. - - For more information, please see the **sendmail** page regarding [SMTP authentication](http://www.sendmail.org/~ca/email/auth.html). - - - - CategoryHandbook CategoryHandbook-email -- 2.41.0