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

email filtering/piping

Discussion in 'Plesk for Linux - 8.x and Older' started by ant083, Oct 14, 2007.

  1. ant083

    ant083 Guest

    I am unable to pipe email to a php file used by my online support ticket system.

    I've tried editing the .qmail file at /var/qmail/mailnames/website.com/support so that it contains the following line:

    | /var/www/vhosts/website.com/httpdocs/support/emailpipe.php

    and I've also tried this line:

    | /usr/bin/php -q /var/www/vhosts/website.com/httpdocs/support/emailpipe.php

    With the first line I get this error:
    /bin/sh: /var/www/vhosts/website.com/httpdocs/support/emailpipe.php: Permission denied

    The second line gives me this error:
    No input file specified.

    I suspect that it has something to do with the permissions so I used chown emailpipe.php to popuser:popuser and psaadm:psaadm and root:root, I've also tried chmod 777 and 755. None of those things make a difference.
  2. dirty@

    dirty@ Guest

    check not only file permissions but permissions of each folder in path /var/www/vhosts/website.com/httpdocs/support/

    i think either website.com/ or httpdocs/ are not accessible for 'popuser'