# 503 5.5.1 Error: authentication not enabled

**URL:** <https://forums.suse.com/t/503-5-5-1-error-authentication-not-enabled/40712>\
**Category:** SUSE Linux Enterprise Server\
**Created:** [May 19, 2023, 12:42am UTC](https://forums.suse.com/t/503-5-5-1-error-authentication-not-enabled/40712 "2023-05-19T00:42:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wenchengkao](https://avatars.discourse-cdn.com/v4/letter/w/bbe5ce/32.png) [@wenchengkao](https://forums.suse.com/u/wenchengkao)\
**Post date:** [May 19, 2023, 12:42am UTC](https://forums.suse.com/t/503-5-5-1-error-authentication-not-enabled/40712/1 "2023-05-19T00:42:16Z")

</div>

HI All  
I refer opensuse document about postfix

> **[Mail server HOWTO - openSUSE Wiki](https://en.opensuse.org/Mail_server_HOWTO)**

# I have enable imaps and SMTP/SMTPS I could use doveadm auth login “linux local username” “password” to auth success. like blow

doveadm auth login user01 password  
passdb: user01 auth succeeded  
extra fields:  
user=user01

userdb extra fields:  
user01  
system\_groups\_user=user01  
uid=1000  
gid=100  
home=/home/user01  
auth\_mech=PLAIN

==========================

but then I try to test SMTP to auth user by  
“telnet localhost 25”  
then type “ehlo localhost” it show message like below:  
Trying ::1…  
Connected to localhost.  
Escape character is ‘^]’.  
220 smtp145.apulse.com.tw ESMTP  
ehlo localhost  
250-smtp145.apulse.com.tw  
250-PIPELINING  
250-SIZE  
250-ETRN  
250-STARTTLS  
250-ENHANCEDSTATUSCODES  
250-8BITMIME  
250-DSN  
250-SMTPUTF8  
250 CHUNKING

I type “AUTH LOGIN” to try to auth user.  
but it show “503 5.5.1 Error: authentication not enabled”

Who could kindly provide suggestion to me ?

Thanks!!

Wencheng

---

<div class="post-metadata">

**Author:** ![wenchengkao](https://avatars.discourse-cdn.com/v4/letter/w/bbe5ce/32.png) [@wenchengkao](https://forums.suse.com/u/wenchengkao)\
**Post date:** [May 19, 2023, 12:43am UTC](https://forums.suse.com/t/503-5-5-1-error-authentication-not-enabled/40712/2 "2023-05-19T00:43:38Z")

</div>

# these sasl parameters is my main.cf

smtpd\_recipient\_restrictions = permit\_sasl\_authenticated, permit\_mynetworks, reject\_invalid\_helo\_hostname, reject\_non\_fqdn\_sender, reject\_unknown\_sender\_domain, reject\_non\_fqdn\_recipient, reject\_unknown\_recipient\_domain, reject\_unauth\_destination, reject\_rbl\_client [zen.spamhaus.org](http://zen.spamhaus.org), permit  
smtp\_sasl\_auth\_enable = no  
smtp\_sasl\_security\_options =  
smtp\_sasl\_password\_maps =  
smtpd\_sasl\_auth\_enable = no  
smtpd\_sasl\_type = dovecot  
smtpd\_sasl\_path = private/auth  
smtpd\_sasl\_local\_domain = $myhostname

==========================  
Whether which parameter I miss configure to enable SMTP authentication??  
P.S: about "smtp\_sasl\_auth\_enable " , I had tested to set “Yes”, then restat postfix…but got the same result.
