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!

Email Forwarding

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

  1. VIPsNET

    VIPsNET Active Member

    Joined:
    Jun 13, 2002
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    151
    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,574
    Likes Received:
    3
    Trophy Points:
    193
    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.
     
    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