• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved SMTP Gmail

FAB

Basic Pleskian
Hi,

I can't configure Gmail to use the SMTP of my site...

I tried almost everything... :oops:

I even used that: SMTP authentication fails with SMTP Error (250): Authentication failed

But, no, nothing, impossible to connect GMAIL and my domain's SMTP...

smtp.jpg

SMTP Server: ?
PORT:?
TLS:?
SSL:?
Unsecured:?

Any idea? (I find surprising this info is not already in PLESK doc).

THANKS! :)
FAB

# plesk version
Product version: Plesk Onyx 17.0.17 Update #26
Update date: 2017/05/20 04:24
Build date: 2017/03/22 17:00
OS version: CentOS 7
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2
 
Have you got a SSL Certificate? Have you configured Plek to use this certificate for mail?

Have you enabled Mail Submission in Plesk Mail server?(this will enable submit emails on Port 587)
 
God damned, YES it was activated ...

So Gmail SMTP still not working.

In the Gmail field "SMTP Server", what should I put?
mail.MYDOMAIN.com?
smtp.MYDOMAIN.com?
MYDOMAIN.com?
 
NOPE it does not work. At all. I'm getting: Couldn't reach server. Please double-check the server and port number.

Any idea? Something else to check? Does it work for you guys?
 
OK, I solved my problem!

I just commented the following lines:
#smtpd_tls_exclude_ciphers = aNULL
#smtpd_sasl_security_options = noplaintext
#smtpd_tls_auth_only = yes
#tls_ssl_options = NO_COMPRESSION

in

/etc/postfix/main.cf

and restarted postfix.

Gmail connection to SMTP now works :)

UPDATE!!!

After further tests, it turns out you just need to comment ONE line:
#smtpd_sasl_security_options = noplaintext
 
Last edited:
[QUOTE = "FAB, post: 827676, member: 181501"] OK, resolvi meu problema!

Acabei de comentar as seguintes linhas:
#smtpd_tls_exclude_ciphers = aNULL
#smtpd_sasl_security_options = noplaintext
#smtpd_tls_auth_only = yes
#tls_ssl_options = NO_COMPRESSION

dentro

/etc/postfix/main.cf

e reiniciei o postfix.

A conexão do Gmail com o SMTP agora funciona :)

ATUALIZAR!!!

Depois de mais testes, você só precisa comentar uma linha:
#smtpd_sasl_security_options = noplaintext [/ QUOTE]

FAB. Realizei este procedimento e agora o SMTP funciona. Mas o Pop não funciona. Alguma solução pra isso ?
 
I have been struggling with this and found that for SMTP server entering mydomain.com or mail.domain.com just gave me constant errors in Gmail...

However, after reading an article on another forum gave me the idea of using my server domain for the SMTP and Incoming server:

server.myserverdomain.com. (where myserverdomain.com was the domain allocated to my VPS as the prime domain).

This worked instantly.

Dependent on whether you are using a shared server, a VPS or a dedicated server you will need to find out what your server domain is. It will always be a subdomain.

As I use VPS's mine was what I had set in: Plesk > Tools & Settings > General Settings > Server Settings (and to make sure the SSL is active on there).

With shared hosting I found this article helped:

Plesk and Gmail working together seem to have very strange anomalies - but there is definitely a workaround.

The above article was what gave me the idea for the solution to my VPS's integrating with Gmail for several clients.

I hope this makes sense and is useful to others struggling with this.

(if I am not allowed to share the link to the forum that I got the ideas from - just let me know and I'll remove it - I had been struggling with getting an answer for a few days with complaints from a couple of clients that use Gmail as their email client. Support from my host proved un-useful and ineffective. So I got quite excited that I found a solution, tried it, and it worked).
 
Last edited:
Back
Top