Sendmail 8.13.3 Securing Mailing Solution
d. Enter your authentication information in the client-info file using the
following syntax:
AuthInfo: <server_name> "U:root" "I: <username>" "P:
<password>" “M: <auth_mech>”
where:
server_name Specifies the Sendmail 8.13.3 SASL server name.
username Specifies the user name to which the authentication
information applies.
password Specifies the password that is configured using the
saslpasswd2 command in the Sendmail 8.13.3 SASL server.
auth_mech Specifies the list of client preferred authentication
mechanisms in the ascending order.
Example 2 Sample Authentication Information
Following is a sample authentication information that you can enter in the
client-info file:
AuthInfo:hostname.domain-name "U:root" "I:root" "P:abc"
"M:DIGEST-MD5 CRAM-MD5 PLAIN LOGIN"
NOTE: In this example, the client first uses the DIGEST-MD5 mechanism. If
this mechanism fails or the server does not support this mechanism, the client
uses the CRAM-MD5 mechanism. Similarly, the client uses the subsequent
authentication mechanisms if the current authentication mechanisms fail.
e. To update the DefaultAuthInfo option in the /etc/mail/sendmail.cf
file, use the following entry:
#O DefaultAuthInfo=/etc/mail/auth/client-info
f. To generate the authentication database and to provide readable permission
only to the superuser, enter the following commands:
# cd auth
# makemap hash client-info
# chmod 600 client-info*
# cd ..
g. To restart the Sendmail 8.13.3 server, enter the following commands:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Using Sendmail 8.13.3 with AUTH 27