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.

e-mail forwarder

Discussion in 'E-mail Discussions' started by AG-Soft, Jun 30, 2004.

  1. AG-Soft

    AG-Soft Member

    Joined:
    Jun 18, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I've been looking around for a while, but I couldn't find an answer. I'm using cpanel. How can I create an e-mail-forwarder by php without login to my cpanel. I want to create an e-mail-forwarder for all of my users automatically.

    Thank you

    Alexander Göbel
     
  2. christi1

    christi1 Well-Known Member

    Joined:
    Oct 20, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Texas, USA
    The file location is :
    /etc/valiases/<domain.com>

    I belive you'd need root access and/or a rmeote access key.
     
  3. AG-Soft

    AG-Soft Member

    Joined:
    Jun 18, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    hi!

    I've got a whm account as well and a remote key, but I don't know whyt you mean


    Alex
     
  4. christi1

    christi1 Well-Known Member

    Joined:
    Oct 20, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Texas, USA
    I've not done this before, so I post something wrong, someone please jump in...

    You pass the remote access key to the server via your PHP script.

    That should let you run the PHP script in your own domain directory with access to the forwarder file.

    In WHM, click on 'Remote Access Key'... at the bottom of the page, there's a link to a sample script so you can see how to program it.
     
  5. Rafaelfpviana

    Rafaelfpviana Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    142
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brazil
    Hello, i need a script that creates e-mail forwarder also. Did anyony do this already?
     
  6. nurseryboy

    nurseryboy Well-Known Member

    Joined:
    Mar 3, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    I am in the same boat. Any help would be appreciated.

    Matt
     
  7. nurseryboy

    nurseryboy Well-Known Member

    Joined:
    Mar 3, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page