The -Am tells sendmail to use its server
configuration file (not submit.cf), even though it is running in mail-submission mode.
Such a test session might look like this:
220 your.host.domain ESMTP Sendmail 8.14.1/8.14.1; Fri, 14 Dec 2007 11:43:02 -0700
(PST)
ehlo your.host.domain
250-your.host.domain Hello root@localhost, pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 ?†? note this line
250-DELIVERBY
250 HELP
quit
221 2.0.0 your.host.domain closing connection
Here, the AUTH SMTP keyword appears, indicating that this site supports SASL
authentication and two modes of authentication as shown earlier.
* On your system, the -L might have to be -R instead, or you might have to use both.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
5.1 Support SMTP AUTH | 189
If the AUTH keyword does not appear, you have a problem. First, be sure you ran the
test as root. If you ran as root and the test still failed, examine your syslog file. Look
for a line that contains the word SASL. One such error might look, in part, like this:
SASL error: listmech=0, num=0
Here, zero authentication mechanisms were found (the num=0). One possible reason
might be that you did not install the SASL library in a path that was acceptable for
shared libraries.
Pages:
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362