# Autenticación CRAM-MD5 para correo

**URL:** <https://meta.discourse.org/t/cram-md5-authentication-for-mail/47442>\
**Category:** Product Support\
**Created:** [18 Julio, 2016 03:24 UTC](https://meta.discourse.org/t/cram-md5-authentication-for-mail/47442 "2016-07-18T03:24:46Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hexa](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@hexa](https://meta.discourse.org/u/hexa)\
**Post date:** [18 Julio, 2016 03:24 UTC](https://meta.discourse.org/t/cram-md5-authentication-for-mail/47442/1 "2016-07-18T03:24:46Z")

</div>

Hi,

the mailserver i’m using only supports authentication through CRAM-MD5, and from its logs I see that discourse tries to authenticating using SASL PLAIN nevertheless, and obviously not succedding.

Is there a way to set up discourse to authenticate with CRAM-MD5?

```plaintext
220 foobar.net ESMTP Postfix (Debian/GNU)
EHLO barfoo
250-foobar.net
250-PIPELINING
250-SIZE
250-VRFY
250-ETRN
250-AUTH CRAM-MD5
250-AUTH=CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

```

```plaintext
Jul 18 05:21:40 foobar postfix/smtpd[32209]: connect from unknown[82.195.73.13]
Jul 18 05:21:40 foobar postfix/smtpd[32209]: Anonymous TLS connection established from unknown[82.195.x.y]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Jul 18 05:21:40 foobar postfix/smtpd[32209]: warning: unknown[82.195.x.y]: SASL PLAIN authentication failed: Invalid authentication mechanism
Jul 18 05:21:40 foobar postfix/smtpd[32209]: lost connection after AUTH from unknown[82.195.x.y]
Jul 18 05:21:40 foobar postfix/smtpd[32209]: disconnect from unknown[82.195.x.y]

```

---

_[View the full topic](https://meta.discourse.org/t/cram-md5-authentication-for-mail/47442)._
