AlexB
AlexB

Reputation: 2184

SMTP (port 25) Plesk 12 on CentOS 7 "None of the authentication methods supported by your server"

I have just moved my server to OVH Dedicated server and now having a problem with SMTP, which I need a bit of help with.

SMTP is set on port 25, but when I am setting up my email client (MS Outlook 2010 or Android Email Client) I have notification "server does not support authentication"

I can receive emails on all of the email clients and can send email but only via webmail.

here is an update:

220 myserver.net ESMTP Postfix
EHLO iamuser
250-myserver.net
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DNS

Also if I enable TLS on Outlook the it works, but it does not work on android even with TLS.

Please help!!!

Upvotes: 0

Views: 2131

Answers (1)

Oleg Neumyvakin
Oleg Neumyvakin

Reputation: 10312

Server doesn't provide auth, it may be because of "smtpd_tls_auth_only = yes" in /etc/postfix/main.cf.

"smtpd_tls_auth_only = yes" forbid authentication on non-secure connection like port 25. You can just change it to "no", or try using secure port 465 in Android Mail Client.

It's quite easy to check your SMTP server auth methods. On Windows you need telnet client:

CMD> telnet yourserver.name 25
SERVER> 220 deb7x64-plesk12-1.local ESMTP Postfix (Debian/GNU)
CLIENT> EHLO iamuser
SERVER> 250-deb7x64-plesk12-1.local
SERVER> 250-PIPELINING
SERVER> 250-SIZE 10240000
SERVER> 250-ETRN
SERVER> 250-STARTTLS
SERVER> 250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
SERVER> 250-ENHANCEDSTATUSCODES
SERVER> 250-8BITMIME
SERVER> 250 DSN
CLIENT> quit
SERVER> 221 2.0.0 Bye

Where "DIGEST-MD5", "CRAM-MD5", "PLAIN", "LOGIN" it's an authentication methods.

I've checked that "Android Email Client" is replaced with google's Gmail application and it working fine with provided auth methods.

Upvotes: 1

Related Questions