• 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

Does Plesk 11 Support Email Piping?

Also to email pipe on a plesk server requires you to have SHELL access to the server. If you do then its quite easy, how just do the following:

Code:
vim /var/qmail/mailnames/yourdomain.com/emailaccount/.qmail

In that file, add the following line at end of the file,

Code:
| /usr/bin/php -q /var/www/vhosts/domain.com/httpdocs/php_pipe_script.php

That's it basically ...
 
Doesn't seem to work. I just keep getting

Oct 14 12:59:18 imageinabox qmail: 1381773558.947005 delivery 116: deferral: Status:_404_Not_Found_/Content-type:_text/html_/_/No_input_file_specified./

I trying to use php script to read the email.
Code:
#!/usr/bin/php -q

<?php

$message = file_get_contents( 'php://stdin' );
//nothing crazy.

?>
 
Back
Top