• 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 Gmail has trouble sending Mail to my server

Compi

Basic Pleskian
Server operating system version
debian 11.5
Plesk version and microupdate number
18.0.48
I have multiple domains with multiple mailboxes hosted on my server. All of them except one are working fine.

This is the error I get:
1670348372287.png

I get this error on all mailboxes in this account. All others work. The server hostname uses this domain too but with a subdomain eg plesk.domain.com

I also tested GMX, which works.
 
Here some additional logs. The green one is one one of the working adresses, the red one doesnt work. both are configured the same and i sent the test emails from the same gmail account 30 seconds apart:
zlDH00cuO6.png
 
There is a chance that the reason is a missing or wrong SSL certificate, specifically as you are writing that the affected domain is also the hostname domain. Are you using SNI (individual domain mail server certificates per domain)? Do you also have a valid mail server certificate in place in Tools & Settings > Security > SSL/TLS Certificates > Certificate for securing mail?
 
Let me clarify the hostname thing, I think I wasn't specific enough at the thread beginning, sorry for that.

the server hostname is "plesk.domain.com". Whenever I try to send something to a mailbox ending with @domain.com it doesn't work.
It works for other domains hosted on that same server. It's weird, this isn't my first Plesk installation but the first time I'm encountering this issue.

Do you also have a valid mail server certificate in place in Tools & Settings > Security > SSL/TLS Certificates > Certificate for securing mail?
Yes I think I have
1670355292225.png
Are you using SNI
Not that I'm aware. It's basically a fresh installation.
 
If you go to domain.com > mail settings does it list Lets Encrypt domain.com as the selected "SSL/TLS certificate for mail" pull-down option?
 
According to some Google results the issue can occur when the MX record of the domain is not pointing to the correct endpoint --> Please verify that the MX record of the domain is pointing to the hostname of the server, not to the subdomain itself (or as an alternative, you can compare the MX records of the two domains in question, the one that works and the one that does not).
 
I suggest to contact Plesk Support so that they can look at your server directly.
 
The problem is solved. As it turns out, an old MTA-STS policy hosted by the old email provider with a "max_age" of over 180 days was the problem. I now simply made my own MTA-STS policy with the mode "none" and max_age of a day, now emails are slowly starting to arrive again.

Thanks all for your time, tho!
 
Back
Top