For CRAM-MD5 and PLAIN, an @host.domain for the local host
is appended to the user as the default realm for the lookup, if a realm is not otherwise specified.a
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
5.1 Support SMTP AUTH | 187
If you chose a method that is unsupported, sendmail will log the following warning
and disallow the authentication:
Dec 14 09:49:31 your.host.domain sendmail[6985]: unknown password verifier
In the next section, we show how to run sendmail in a manner that allows you to
determine whether it supports the method you??™ve chosen.
5.1.2 Add SASL Support to sendmail
To add support for the SASL libraries to sendmail, just add one of the following pairs
of lines to your Build m4 file:
APPENDDEF(`confENVDEF??, `-DSASL=1??) ?†? V1
APPENDDEF(`conf_sendmail_LIBS??, `-lsasl??) ?†? V1
APPENDDEF(`confENVDEF??, `-DSASL=2??) ?†? V2
APPENDDEF(`conf_sendmail_LIBS??, `-lsasl2??) ?†? V2
The first line causes SASL support to be included in the sendmail program.* The second
line tells sendmail to use the V1 or V2 SASL library, respectively. If you installed
the SASL library in the standard location as described in the previous section, these
two additional Build lines might be all you need.
Now build sendmail as usual. If you get the following error (or something similar):
sendmail.
Pages:
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359