• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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