• 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 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