• 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

Resolved PHP mail no works

RobertoMa

Basic Pleskian
hello,
i have Plesk 18.0.41 on my Virtual Server.
A few days ago, I had to re-install my server and restored a full backup.
The server works great I have only one problem.
Since I restored the PHP mail function no longer works in an added domain where I use an external mail server.
Of course I have disabled the Plesk mail server for this domain and enabled sendmail in the settings.

this Is the content of /var/log/maillog:

Mar 12 17:59:41 id26513 plesk-sendmail[177104]: S177104: from=<[email protected]> to=<[email protected]>
Mar 12 18:00:21 id26513 postfix/smtp[177124]: E91E14000F08: to=<[email protected]>, relay=mail.postale.io[3.139.204.210]:25, delay=40, delays=0.08/0.02/16/24, dsn=2.0.0, status=sent (250 Quarantined! (ED24F38D-1E3B-4B35-9123-ADD64CAA3457.1))

Please help me.
 
The status of the mail means that it was delivered to the target correctly, but it was moved into a greylisting/quarantine status. If the target is located on the same system, check the mail server settings whether you have enabled greylisting for incoming mails. If the target is on another system, the admin of that system needs to check why their system is quarantining your mails. There is no issue with your mail() function.
 
Back
Top