Prev | Current Page 391 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

pem??)
define(`confSERVER_CERT??, CERT_DIR`/server.cert.pem??)
define(`confSERVER_KEY??, CERT_DIR`/server.key.pem??)
define(`confCLIENT_CERT??, CERT_DIR`/client.cert.pem??)
define(`confCLIENT_KEY??, CERT_DIR`/client.key.pem??)
define(`confCRL??, CERT_DIR`/crl/crl.pem??) ?†?V8.12 and later
Here, we set values for server and client, certificate, and key files. Rebuild your cf file
and test the result as we show in the next section.
5.3.6 Test STARTTLS
Once you have built sendmail withSTARTTLS support, and before you install it, you
should test to see whether STARTTLS is working. One way to perform such a test is
like this:
# obj.*/sendmail/sendmail -bs -Am
Here, we run the newly built sendmail relative to the source directory. The -bs tells
sendmail to speak SMTP on its standard input. 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-STARTTLS ?†? note this line
250-DELIVERBY
250 HELP
quit
221 2.0.0 your.host.domain closing connection
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.


Pages:
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403
szkolenia bhp warszawa Jaki wybrać olej życzenia z okazji urodzin niderlandy wierszyki