• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Unable to pipe email to php after upgrading to plesk 12

hessodreamy

New Pleskian
Since upgrading from plesk 11.0.9 to 12.0.18 the other day I have been unable to pipe email content to php.

I know it's not a supported Plesk feature, but when I want email for a particular mailbox to be passed to a php script, I edit the file:
/var/qmail/mailnames/{domain}/{mailbox}/.qmail
and add the line:
| php /some/php/file.php

(I also set the file as immutable to prevent plesk from overwriting it)

However, since upgrading to plesk 12 this no longer works. Furthermore, the mail doesn't get processed and just stays in the local queue, as if the whole file (including instructions on mail directory, and forwarding) is ignored.

I suspect it's a permissions issue, as I can pipe to a shell script just fine, but can't call the desired php command within that shell script.

Although not a supported feature, do any plesk users here have any suggestions to get this behaviour to work? I have functionality that depends on it.
 
Back
Top