• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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