The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pipe to another user script...?

Discussion in 'E-mail Discussions' started by dexus, Apr 19, 2008.

  1. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I just can't get this to work...

    I have a pipe script that works in one user account and also email addresses that forward to this script are in that same account, and that is working, but I need to pipe from same email at user1 to the same script that will be located in another user account (user2), and that is just not working...

    Is cPanel/Exim preventing piping to script in another user account?

    This is the error I am receiving in bounce email...

    Code:
    The following text was generated during the delivery attempt:
    
    ------ pipe to |/usr/bin/php /home/user2/public_html/pipe.php
           generated by test@mytestdomain.com ------
    
    Could not open input file: /home/user2/public_html/pipe.php
     
  2. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Well, I tried to chmod that file to 777, but it was still the same. I even tried to change owner of that script to user1, but again the same... :(
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Does user2 have appropriate permissions to execute this script? Usually these issues boil down to a permissions problem.
     
  4. dexus

    dexus Well-Known Member

    Joined:
    Jan 14, 2006
    Messages:
    169
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hm, why is my previous post above yours... :)
     
  5. LS_Drew

    LS_Drew Well-Known Member

    Joined:
    Feb 20, 2003
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    16
    I have the same problem. Even with the script chmod 777, we can't get a pipe to work if the script it's going to isn't owned by the user.
     
Loading...

Share This Page