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.

Add forwaders with Linux command

Discussion in 'General Discussion' started by JeroenB, Jul 22, 2003.

  1. JeroenB

    JeroenB Member

    Joined:
    Jul 22, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Add forwarders with Linux command

    I want to make a function so that I can make e-mail forwarders via my own PHP page. I can send commands to the server (Linux) in PHP. But how can I add e-mail forwarders with a Linux command, or isn't this possible?
     
    #1 JeroenB, Jul 22, 2003
    Last edited: Jul 23, 2003
  2. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    You just have to edit the appropriate file in /etc/valiases

    cPanel.net Support Ticket Number:
     
  3. coastinc

    coastinc Well-Known Member

    Joined:
    Mar 13, 2002
    Messages:
    159
    Likes Received:
    0
    Trophy Points:
    16
    The forwarder file is located in /etc/valiases/domainname.com
    Replace domainname.com with the actual user's domain name.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page