1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Does Plesk 11 Support Email Piping?

Discussion in 'Plesk 11.x for Linux' started by Shawn M, Aug 1, 2012.

  1. Shawn M

    Shawn M Basic Pleskian

    22
     
    Joined:
    Oct 16, 2009
    Messages:
    79
    Likes Received:
    0
    Does Plesk 11 Support Email Piping?

    If so, where can I find it?

    Thanks!
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  3. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    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 ...
     
  4. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    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.
    
    ?>
    
     
Loading...