How can I configure Sendmail to use SMTP auth




How can I configure Sendmail to use SMTP auth

Issue:
How can I configure Sendmail to use SMTP authentication when sending email? Resolution:To enable SMTP authentication, uncomment the following in /etc/mail/sendmail.mc by removing the dnl at the beginning of the line:

define(`confAUTH_OPTIONS‘, `A p‘)dnl

TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN‘)dnl
define(`confAUTH_MECHANISMS‘, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN‘)dnl

DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea‘)dnl

Restart Sendmail with the command:

# service sendmail restart

When setting up the email client, make sure the option "SMTP server requires authentication" is enabled in the Send section of the mail server configuration.

Note: SMTP authentication requires that SSL encryption is already configured. When Sendmail is restarted with these options uncommented, it assumes that secure SMTP (smtps) is running on port 465 instead of the insecure SMTP on port 25. All SMTP authentication is done over port 587.

refer: www.redhat.com

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Time limit is exhausted. Please reload CAPTCHA.