# שגיאת SMTP 503 5.5.1: אימות לא הופעל

**URL:** <https://meta.discourse.org/t/smtp-503-5-5-1-error-authentication-not-enabled/199006>\
**Category:** Self-hosting\
**Created:** [3 באוגוסט,‏ 2021,‏ 11:08am UTC](https://meta.discourse.org/t/smtp-503-5-5-1-error-authentication-not-enabled/199006 "2021-08-03T11:08:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tiagofreitas87](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tiagofreitas87/32/174637_2.png) [@tiagofreitas87](https://meta.discourse.org/u/tiagofreitas87)\
**Post date:** [3 באוגוסט,‏ 2021,‏ 11:08am UTC](https://meta.discourse.org/t/smtp-503-5-5-1-error-authentication-not-enabled/199006/1 "2021-08-03T11:08:51Z")

</div>

I am using a local postfix smtp and getting this error:

503 5.5.1 Error: authentication not enabled

DISCOURSE\_SMTP\_ADDRESS: [mail.xxx.net](http://mail.xxx.net)  
DISCOURSE\_SMTP\_PORT: 587  
DISCOURSE\_SMTP\_USER\_NAME: [resources@xxx.net](mailto:resources@xxx.net)  
DISCOURSE\_SMTP\_PASSWORD: password123?  
DISCOURSE\_SMTP\_ENABLE\_START\_TLS: true # (optional, default true)  
DISCOURSE\_SMTP\_OPENSSL\_VERIFY\_MODE: none  
DISCOURSE\_SMTP\_AUTHENTICATION: “plain”

I added the last 2 options as a last resort but made no effect.

The smtp server works in all testing tools I used, like openssl or swaks from inside the docker container.

```plaintext

root@resources-app:/# swaks --to resources@xxx.net --server mail.xxx.net:587 -tls
=== Trying mail.xxx.net:587...
=== Connected to mail.xxx.net.
<- 220 mail.xxx.net ESMTP Postfix (Ubuntu)
 -> EHLO resources-app
<- 250-mail.xxx.net
<- 250-PIPELINING
<- 250-SIZE 10240000
<- 250-VRFY
<- 250-ETRN
<- 250-STARTTLS
<- 250-ENHANCEDSTATUSCODES
<- 250-8BITMIME
<- 250-DSN
<- 250-SMTPUTF8
<- 250 CHUNKING
 -> STARTTLS
<- 220 2.0.0 Ready to start TLS
=== TLS started with cipher TLSv1.3:TLS_AES_256_GCM_SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/CN=*.xxx.net"
 ~> EHLO resources-app
<~ 250-mail.xxx.net
<~ 250-PIPELINING
<~ 250-SIZE 10240000
<~ 250-VRFY
<~ 250-ETRN
<~ 250-ENHANCEDSTATUSCODES
<~ 250-8BITMIME
<~ 250-DSN
<~ 250-SMTPUTF8
<~ 250 CHUNKING
 ~> MAIL FROM:<root@resources-app>
<~ 250 2.1.0 Ok
 ~> RCPT TO:<resources@xxx.net>
<~ 250 2.1.5 Ok
 ~> DATA
<~ 354 End data with <CR><LF>.<CR><LF>
 ~> Date: Tue, 03 Aug 2021 11:04:12 +0000
 ~> To: resources@xxx.net
 ~> From: root@resources-app
 ~> Subject: test Tue, 03 Aug 2021 11:04:12 +0000
 ~> Message-Id: <20210803110412.593268@resources-app>
 ~> X-Mailer: swaks v20181104.0 jetmore.org/john/code/swaks/
 ~>
 ~> This is a test mailing
 ~>
 ~>
 ~> .
<~ 250 2.0.0 Ok: queued as 1C4ED8AA
 ~> QUIT
<~ 221 2.0.0 Bye
=== Connection closed with remote host.

```

---

_[View the full topic](https://meta.discourse.org/t/smtp-503-5-5-1-error-authentication-not-enabled/199006)._
