Hi sirs,
I have WHMCS work perfectly, but I have a problem with pipe mail.
When a customer send a email to any support department adress (eg. support@mydomain.com), the ticket is opened, but customers receive two return messages, one confirmation of ticket opened and another, a return delivery message as bellow:
Subject: Mail delivery failed: returning message to sender
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 |/home/user/public_html/customers/pipe/pipe.php
generated by support@mydomain.com
The following text was generated during the delivery attempt:
------ pipe to |/home/user/public_html/customers/pipe/pipe.php
generated by support@mydomain.com ------
------ This is a copy of the message, including all the headers. ------
Return-path: <sender@domain.com>
Received: from localhost ([127.0.0.1] helo=hostname.server.com)
by hostname.server.com with esmtp (Exim 4.69)
(envelope-from <sender@domain.com>)
....
I searched around internet, and found similar problems, but show specific erro. In my case, you can see, that dont show erro. Only a blank line between this line:
------ pipe to |/home/user/public_html/customers/pipe/pipe.php
generated by support@mydomain.com ------
------ This is a copy of the message, including all the headers. ------
I think the file pipe.php is generating return output as blank line.
I check the file, and dont have blank lines.
The file have chmod 755 and the forward have this value:
support@mydomain.com: "|/home/user/public_html/customers/pipe/pipe.php"
Somebody can help me?