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.

Email Forwarding

Discussion in 'E-mail Discussions' started by VIPsNET, Nov 29, 2002.

  1. VIPsNET

    VIPsNET Active Member

    Joined:
    Jun 13, 2002
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hey,
    I have one customer who wants to set up email forwarding like:

    email1@domain.com -& email1@his_isp.com

    email2@domain.com -& email2@his_isp.com

    email_whatever@domain.com -& email_whatever@his_isp.com

    so every email send to the specific mailbox at domain.com will be forwarded to the same mailbox on another server.

    the problem is how to do this without adding every email forwarder manually ?

    I use Cpanel/WHM server.
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Each forwarder needs to be created individually since each one is different. BUT, as server admin you could do this. In /etc/valiases find the file for that domain, edit it, and add all of the required forwarders to it. The correct syntax is

    mailaddress: forwardtoaddress

    Note: be very very carefull, one wron move and no e-mail will work.

    Also the first address before the : MUST be a valid e-mail address for that domain.
     
Loading...

Share This Page