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