Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    227

    Default Email pipe works | Sender still gets error message

    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. #2
    Member
    Join Date
    May 2002
    Posts
    152

    Default

    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. #3
    Member
    Join Date
    Jan 2004
    Posts
    227

    Default

    I tried that and we still seem to have this error.
    Last edited by nybble; 10-09-2004 at 01:40 PM.

  4. #4
    Member
    Join Date
    May 2002
    Posts
    152

    Default

    What is the returned email say? it should not have the content type, etc.. but what does it say now?

  5. #5
    Member
    Join Date
    Jan 2004
    Posts
    227

    Default

    Says the same thing it did before.... no change.

  6. #6
    J
    J is offline
    Registered User
    Join Date
    Apr 2002
    Posts
    2

    Default

    Quote Originally Posted by nybble
    > 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. ------
    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.

Similar Threads & Tags
Similar threads

  1. Replies: 4
    Last Post: 05-10-2012, 01:03 PM
  2. Email Piping to script works, but sender gets an error message?
    By itzhero in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-24-2010, 12:50 PM
  3. Replies: 1
    Last Post: 10-13-2010, 05:43 PM
  4. Replies: 4
    Last Post: 08-15-2010, 09:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube