VIPsNET

Active Member
Jun 13, 2002
28
0
151
Hey,
I have one customer who wants to set up email forwarding like:

[email protected] -& email1@his_isp.com

[email protected] -& email2@his_isp.com

[email protected] -& 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.
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,531
10
343
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.