• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 I'm unable to identify the problem with my emails

f0rtem

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian 18.0.44
Hello,

I am attempting to set up my server on Cloudflare, and I am aware that it does not serve mail. So I disabled Proxied DNS in Cloudflare for my mail and installed Let's Encrypt SSL on the server side for my mail.

Also, my hosting provider automatically blocks port 25, so I wondered if that could be the problem.

There are my plesk DNS records:
pleskdns.png

My Cloudflare DNS settings:
cloudflaredns.png

I'm new to running websites and am unable to determine the cause of my mail problems. I'm hoping someone will be kind enough to help me.
 
Right now my mails are receiving messages from everyone but when It comes to sending messages, they do not get delivered.

I currently have 465 and 587 ports open on my firewall. According to mxtoolbox.com, everything appears to be in order on the DNS side and my IP is not on any blacklists.

I have tried using an SMTP test tool to send email to my gmail address and when using port 587 it says that message has been sent but It simply does not arrive.

Although emails between server mails arrive successfully.
 
I have tried using an SMTP test tool to send email to my gmail address and when using port 587 it says that message has been sent but It simply does not arrive.
Please check /var/log/maillog (or /var/log/mail.log) for entries regarding the mail sent. It will tell you if the mail has been transferred to the recipient or if not. If not, it will also mention a reason why the mail could not be transmitted to the recipient's mail server.
 
Hi @f0rtem ,

how are you?

I believe you are using Postfix as your email server, correct?

how is the hostname of this server? do you have any hostname A notes?
Yes I am using default email server which is Postfix I believe. Hostname A notes you mean A dns records? Yes I have those.
Please check /var/log/maillog (or /var/log/mail.log) for entries regarding the mail sent. It will tell you if the mail has been transferred to the recipient or if not. If not, it will also mention a reason why the mail could not be transmitted to the recipient's mail server.
Thank you for the suggestion. This is from /var/log/maillog It seems that connection to google smtp server is not successful and gets timed out? It doesn't specify what could be the issue, right?
Sep 4 04:31:04 hardcore-matsumoto postfix/qmgr[152753]: 8D1E961DA4: from=<[email protected]>, size=578, nrcpt=1 (queue active) Sep 4 04:31:34 hardcore-matsumoto postfix/smtp[176715]: connect to gmail-smtp-in.l.google.com[64.233.167.27]:25: Connection timed out Sep 4 04:31:34 hardcore-matsumoto postfix/smtp[176715]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c0a::1a]:25: No route to host Sep 4 04:32:04 hardcore-matsumoto postfix/smtp[176715]: connect to alt1.gmail-smtp-in.l.google.com[142.250.153.27]:25: Connection timed out Sep 4 04:32:04 hardcore-matsumoto postfix/smtp[176715]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4013:c16::1a]:25: No route to host Sep 4 04:32:34 hardcore-matsumoto postfix/smtp[176715]: connect to alt2.gmail-smtp-in.l.google.com[142.251.9.27]:25: Connection timed out Sep 4 04:32:34 hardcore-matsumoto postfix/smtp[176715]: 8D1E961DA4: to=<[email protected]>, relay=none, delay=36464, delays=36374/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[142.251.9.27]:25: Connection timed out) Sep 4 04:51:04 hardcore-matsumoto postfix/qmgr[152753]: 0702861DA0: from=<[email protected]>, size=590, nrcpt=1 (queue active) Sep 4 04:51:34 hardcore-matsumoto postfix/smtp[176914]: connect to reception.mail-tester.com[94.23.206.89]:25: Connection timed out Sep 4 04:51:34 hardcore-matsumoto postfix/smtp[176914]: 0702861DA0: to=<[email protected]>, relay=none, delay=55161, delays=55131/0.02/30/0, dsn=4.4.1, status=deferred (connect to reception.mail-tester.com[94.23.206.89]:25: Connection timed out)
 
If you are with Ionos you need ask to unblock the port 25. If the port 25 is blocked all email in Plesk will not work.
 
If you are with Ionos you need ask to unblock the port 25. If the port 25 is blocked all email in Plesk will not work.
Yes, I am on Ionos. While sending mail, is there no way of using port 587 let's say? Because I've heard that 25 is not secure.
 
Yes, I am on Ionos. While sending mail, is there no way of using port 587 let's say? Because I've heard that 25 is not secure.
No. I'm on Ionos too and without unblocking the port 25 all email also Plesk email, email sent by Plesk etc will not work.
They maybe say port 25 are not sure because can be used for send spam.

I don't know why but if port 25 is closed all emails are not working with Plesk.
 
Yes, I am on Ionos. While sending mail, is there no way of using port 587 let's say? Because I've heard that 25 is not secure.
587 ist not for inter-server communication. You need port 25. All the Internet is using it to communicate with other mailservers. Port 587 is more for client-server comm.
 
Back
Top