Enabling relay via SMTP auth for Sendmail

Place following in sendmail.mc, rebuild sendmail.cf.

define(`confAUTH_MECHANISMS’, `DIGEST-MD5 CRAM-MD5 PLAIN LOGIN’)
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN LOGIN’)

* AuthMechanisms specifies allowed SASL mechanisms.

* TrustAuthMech opens relay for users authenticated with specified method.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: