• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

email filtering/piping

A

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.
 
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'
 
Back
Top