Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Email pipe works | Sender still gets error message

Discussion in 'E-mail Discussion' started by nybble, Oct 9, 2004.

  1. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    166
    Ok so I have it setup to pipe emails and that is working great...
    HOWEVER
    It pipes the email to the script... but after that, it sends the user a reply email saying local delivery problem.

    Anyone have any ideas what is going on here? Do I need to echo "200 EMAIL OK" or something once I collect it when it gets piped?


    > 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/hosting/back/pipe.php
    > generated by support@hosting.com

    > The following text was generated during the delivery attempt:

    > ------ pipe to |/home/hosting/back/pipe.php
    > generated by support@hosting.com ------

    > Content-type: text/html
    > X-Powered-By: PHP/4.3.9

    > ------ This is a copy of the message, including all the headers. ------

    > Return-path: <nybble@hosting.com>
    > by speedy.hosting.com with esmtp (Exim 4.42)
    > id 1CGB40-0004gt-Pi
    > for support@hosting.com; Sat, 09 Oct 2004 01:50:44 -0500
     
  2. Faldran

    Faldran Well-Known Member

    Joined:
    May 28, 2002
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    316
    Try changing pipe from:

    |/home/hosting/back/pipe.php

    to

    |php -q /home/hosting/back/pipe.php

    This will cause it not put the following on php script run:

    Content-type: text/html
    X-Powered-By: PHP/4.3.9
     
  3. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    166
    I tried that and we still seem to have this error. :(
     
    #3 nybble, Oct 9, 2004
    Last edited: Oct 9, 2004
  4. Faldran

    Faldran Well-Known Member

    Joined:
    May 28, 2002
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    316
    What is the returned email say? it should not have the content type, etc.. but what does it say now?
     
  5. nybble

    nybble Well-Known Member

    Joined:
    Jan 26, 2004
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    166
    Says the same thing it did before.... no change.
     
  6. J

    J Registered

    Joined:
    Apr 5, 2002
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    301
    Remove any output from the script, in this case headers, and your sender will not receive a "Mail delivery failed" response.
    If you fixed the problem any other way (?such as a response code?) please share.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice