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!

Piping from one cPanel account to another.

Discussion in 'E-mail Discussion' 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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,693
    Likes Received:
    71
    Trophy Points:
    203
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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