Hi All
I'm trying to install a email pipe for a support ticket program
support@mydomain.com
I created a mailbox named support
(pop user support)
I edited /var/qmail/mailnames/mydomain.com/support/.qmail
removed the line true and put
|preline /home/httpd/vhosts/mydomain.com/cgi-bin/automail.cgi
via root
chmod 755 /home/httpd/vhosts/mydomain.com/cgi-bin/automail.cgi
when I send a email to support I get a failed bounce
preline: fatal: unable to run /home/httpd/vhosts/mydomain.com/cgi-bin/automail.cgi: access denied
IF I JUST USE THIS LINE
| /home/httpd/vhosts/mydomain.com/cgi-bin/automail.cgi
I get no bounce, but also get no email reply or ticket
If anybody knows the right way please help post exactly how you did it and how you set permissions for a mailbox named support if needed.
Thanks
SOME ADDIONAL INFO I SHOULD ADD THAT MIGHT HELP
I created a .qmail-support file in
/var/qmail/mailnames/mydomain.com/
and added this line inside
| /home/httpd/vhosts/mydomain.com/cgi-bin/automail.pl
made sure no mailbox was named support
I get no email reply from my support@mydomain pipe
and no ticket gets made in the program
Could it be a permission problem?
should my .qmail-support and the cgi-bin script have the same permission
as whats shown for the .qmail-default. Like
should I?
chown popuser .qmail-support
drwx------ 4 popuser popuser 4096 Nov 8 20:20 mail
-rw------- 1 popuser popuser 15 Nov 7 23:59 .qmail-default
-rw-r--r-- 1 root root 44 Nov 8 18:12 .qmail-support
This is the permission thats listed in my cgi-bin directory
-rwxr-xr-x 1 test psacln 11792 Nov 8 18:05 automail.pl
should this be user popuser
How can I change root to popuser and set permission for this to work
PS what does 1popuser mean in that line?