• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Incoming Email pipe to a PHP script

M

MarjuneA

Guest
Hi,
I'm running Plesk 10.x with its default services. In regards to its email service, I want an incoming emails to be piped to a php script. How to I do this?

Thank you.
 
Thank you for the link.

Another thing is, it seems that Plesk doesn't have email filtering, is there another way to filter deferred emails?

It is like this, using the fifth parameters on PHP mail() I set the 'return-path' into '<identifier>[email protected]'. Whenever the email is marked as 'deferred', it would be filtered so that I can determine which email it is and pipe it to a php script to handle it. How would to do this on Plesk 10.x?

The same method was implemented on CPanel and it works. But since we migrated on Plesk, and I'm new to it.

Thank you.
 
oSticket email piping with qmail

Here is a little tip... If you are getting errors in the maillog saying it is unable to open the file try this:

Check if you are running php as fastcgi...if you are, then make sure you use /user/bin/php-cgi instead of /user/bin/php.

This will resolve the permission issues with email piping from oSTicket.
 
Back
Top