• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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