On Sun, 27 Feb 2005, Noah wrote:
sendmail 8.13.3
I have looked over three different SMTP AUTH tutorials for sendmail and they
dont fully cover the configuration or I am completely misreading them.
somebody please send me to a really good site to explain how to set up SMTP
AUTH.
thank you in advance,
Noah
Hi,
1) make sure you are running sendmail with sasl-support. Try
sendmail -bt -d0.1
to see if sasl support is enabled.
If not recompile sendmail or install the sendmail with sasl support
package (sendmail+tls+sasl2-8.13.1) and cyrus-sasl-saslauthd-2.1.19
(see then /usr/local/share/doc/cyrus-sasl2/Sendmail.README)
2) a) Add this from cyrus-sasl documentation to your sendmail.mc:
dnl ###
dnl # From cyrus-sasl Sendmail-README #
dnl ###
dnl # The group needs to be mail in order
dnl # to read the sasldb2 file
define(`confRUN_AS_USER',`root:mail')dnl
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN')dnl
define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl
b) Enable smtp authentication to your sendmail.mc file e.g.:
dnl ###
dnl # SMTP AUTHENTICATION #
dnl ###
define(`SMART_HOST',`[me.myself.andI]')dnl
FEATURE(`authinfo')dnl
The FEATURE(`authinfo') is optional (see herefore the cf.README of
sendmail). Create a /etc/mail/authinfo file (they should not be readable
by anyone).The authinfo file should contain something like this:
AuthInfo:me.myself.andI U:myusername P:mypassword
The cd to /etc/mail and do:
makemap hash authinfo authinfo
chmod 600 authinfo authinfo.db
3) Install ypur new sendmail.mc file, restart sendmail and test your
configuration.
Oliver
--
... don't touch the bang bang fruit
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]