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.

Piping from one cPanel account to another.

Discussion in 'E-mail Discussions' started by LostNerd, Jul 27, 2014.

  1. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi all,

    This is probably an odd one but it's been requested by a customer of mine who has more than one cPanel account on our server.

    We're looking for a way for a script he has hosted on Account1 to be piped from email addresses on Account2.

    For example, from Account2, he would like to pipe emails to:
    Code:
    Email: email@account2.com
    |/home/[B]account1[/B]/public_html/script.php
    Can anybody shed any light on how this can be done?

    Cheers!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You should instead upload that script to the second account, as executing PHP scripts between accounts is not recommended.

    Thank you.
     
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    just set up a forwarder to the pipe email

    Email: email@account2.com
    |/home/account1/public_html/script.php

    email@account1.com > email@account2.com


    I am not sure what script you are running this may not have the desired results.

    But we forwarded multiple users to our support desk in the fashion from 3 different cpanel users
     
Loading...

Share This Page