• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Unable to send mails via php (18.0.34 fresh install)

Vince

New Pleskian
Hi,

I have an issue with a new server (Plesk 18.0.34 fresh install on a Ubuntu 20.04 server) when i try to send mails via PHP (not via smtp).
I think it's not a problem related to PHP because emails are showing up on the mail queue.
As a result, mail queue is growing.... but 0 mail really sent.

Here are some additionnal informations found in maillogs (Example for 1 email, but logs are identical for all emails) :
grep "E03CE45E78" /var/log/maillog
Mar 16 10:38:20 srv postfix/pickup[125987]: E03CE45E78: uid=10000 from=<[email protected]>
Mar 16 10:38:20 srv postfix/cleanup[126335]: E03CE45E78: message-id=<[email protected]>
Mar 16 10:38:20 srv postfix/qmgr[125988]: E03CE45E78: from=<[email protected]>, size=2791, nrcpt=1 (queue active)
Mar 16 10:40:21 srv postfix/smtp[126338]: E03CE45E78: to=<[email protected]>, relay=none, delay=120, delays=0.02/0.01/120/0, dsn=4.4.1, status=deferred (connect to mx3.mail.ovh.net[91.121.53.175]:25: Connection timed out)
Mar 16 10:47:53 srv postfix/qmgr[125988]: E03CE45E78: from=<[email protected]>, size=2791, nrcpt=1 (queue active)
Mar 16 10:49:54 srv postfix/smtp[126452]: E03CE45E78: to=<[email protected]>, relay=none, delay=693, delays=573/0.02/120/0, dsn=4.4.1, status=deferred (connect to mx3.mail.ovh.net[91.121.53.175]:25: Connection timed out)
Mar 16 11:02:53 srv postfix/qmgr[125988]: E03CE45E78: from=<[email protected]>, size=2791, nrcpt=1 (queue active)
Mar 16 11:04:53 srv postfix/smtp[126878]: E03CE45E78: to=<[email protected]>, relay=none, delay=1593, delays=1473/0.02/120/0, dsn=4.4.1, status=deferred (connect to mx3.mail.ovh.net[91.121.53.175]:25: Connection timed out)
Mar 16 11:32:53 srv postfix/qmgr[125988]: E03CE45E78: from=<[email protected]>, size=2791, nrcpt=1 (queue active)
Mar 16 11:34:53 srv postfix/smtp[130200]: E03CE45E78: to=<[email protected]>, relay=none, delay=3393, delays=3273/0.04/120/0, dsn=4.4.1, status=deferred (connect to mx3.mail.ovh.net[91.121.53.175]:25: Connection timed out)
An to be more precise, i've tried to send email to another mailbox (to be sure it's not ovh mx server problem) but same thing :
[...]
Mar 16 11:38:53 srv postfix/error[130252]: 9143747DD4: to=<[email protected]>, relay=none, delay=94396, delays=94335/60/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mx00.1and1.fr[212.227.15.41]:25: Connection timed out)

What i've tried :
Enabling / Disabling again mail service for the domain (But not working)
(It has to be disabled, mails for the domain are not handeled by plesk server).

Is that a known issue and is there a fix ?

Server is configured exactly the same way as other Plesk server i have (on Centos7, plesk 18.0.34), where i don't encouter this issue.
So i don't understand what could be the problem.

Thanks in advance for the help
 
Thanks a lot for your reply, it helped a lot !

The provider is Ovh not but Ionos, and after some search, they are effectively blocking outgoing port 25.
The only way to unlock is to call the support, what i've done.

Mail queue is now begining to be processed.

Thanks again.
 
Back
Top