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 popuseropuser and psaadmsaadm and root:root, I've also tried chmod 777 and 755. None of those things make a difference.
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 popuseropuser and psaadmsaadm and root:root, I've also tried chmod 777 and 755. None of those things make a difference.