SASL
Support SMTP AUTH RFC2554 (V8.10 and above) Tune with confENVDEF
As of V8.10 sendmail, support for SMTP AUTH can be included by defining this SASL compile-time macro. SMTP AUTH is defined in RFC2554. For V8.10 and above, sendmail provides that support using the SASL mechanism (see Support SMTP AUTH on page 183 for complete instructions).
To enable support for SMTP AUTH, define this SALS macro in your Build m4 file like this:
APPENDDEF(`confENVDEF', `-DSASL')
If you are running a precompiled
sendmail binary, you can use
the -d0.10
debugging command-line switch (-d0.10 on page 543) to determine whether SASL support is
defined (if it appears in the list, it is
defined).
Note that prior to V8.14, if sendmail was linked against a library that initialized Cyrus-SASL before sendmail initialized it (such as libnss-ldap), SMTP AUTH could fail. Beginning with V8.14 a workaround for this flaw has been included so that such a failure can no longer occur.
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.