• 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.

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