• 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

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