Hi, I am using cPanel 11 to forward/pipe(not sure of the terminology) mails as shown in:

http://www.osticket.com/wiki/Email_Settings#Setting_up_aliases_in_cPanel(http://www.osticket.com/wiki/Email_Settings#Setting_up_aliases_in_cPanel)

The email always bounces back (I have tried with and without quotes, with and without the -q, and with php and /usr/bin/php):

This is the error I get

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its

recipients. This is a permanent error. The following address(es) failed:

pipe to |/usr/bin/php /home/ticket/public_html/support/api/pipe.php

generated by support@domain.com

local delivery failed

The following text was generated during the delivery attempt:

------ pipe to |/usr/bin/php /home/ticket/public_html/support/api/pipe.php

generated by support@domain.com ------

Status: 403 Forbidden

X-Powered-By: PHP/5.2.5

Content-type: text/html

Access denied.

This is the setup in Cpanel

support@domain.com goes to |/usr/bin/php -q /home/ticket/public_html/support/api/pipe.php

I have changed settings for the api directory to 777 to see if it was permissions - it was not as the directory and the file is world executable.

I did find a posting similar to this, but did not seem to find a clear resolution on this.

Anyone seen this issue before?

PS - am I right in thinking that using piping means that I never need to fetch mails using a pop cron job as the emails will be pushed at the system? Am I right in thinking that pipe.php will automatically issue a reply if it is so set up in the email settings in the admin panel?

TIA

Robert

a month later

May 2008 - and no response

Has anybody solved the pipe issue for cPanel 11?

I know in my version of cPanel 11 I can not put the path to PHP. it automatically removes it and takes what is on the first line of the pipe.php file.

Again - the client can send a reply - it updates in osTicket and a return email is received by the client.

10 months later

Email piping

Having similar problem. Has anyone been able to help you on this?

I had this problem also.

Are you on a shared server hosting Cpanel ?

Or are these your own personal servers ?

If they are shared I dont know that this method is the best option because it requires you to have access to a edit exim.conf

I settled for the pop3 and truthfully I have no complaints.

Just make sure you set up the cron job for it, it will not work without the cron being set.

I think I have mine to fetch every 1 minute and I have no complaints thus far.

I think I remember reading somewhere that people prefer to use the pipe and this is the most preffered method. Not becasue pop3 is all bad but because the pipe method is the most direct and cleanest way with an almost instant response time.

Thats just my opinion based on what I have seen with it and tested.

Write a Reply...