• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Many emails are sent from PHP scripts on the server

P

PremF

Guest
There are a lot emails are sent from PHP scripts from my server.
I really need to find what domain the script is running on.

I have found this knowledge base, but it is for Qmail.
http://kb.odin.com/en/1711

As my server is using Plesk 9.3 with Postfix, not Qmail,
anyone please suggest how can I adapt that resolution to Postfix?
Or how should I do to find the script?

Thank you.
 
But you can switch to Qmail, apply this solution and switch to Postfix back.
 
You can always patch your php with header patch.
On every message you will see script that send this message then.

Regards,
Alex
 
We have backported the mail header and logging patch into PHP 5.2.12 from the atomic repo. This will either log which application is using the mail() function, or it will inject a header into each message sent indicating the application that was used to send the message. It can be controlled via ini settings, and implemented globally or on a per-domain basis. More info on how to upgrade is available here:

http://www.atomicorp.com/wiki/index.php/PHP
 
Back
Top