From the cPanel landing page, navigate to the 'Email' section. Now select the 'Forwarders' button.
There are two types of forwarders that we can set up: Email Account Forwarders, and Domain Forwarders. Account forwarders are used on a case-by-case basis, handling the email forwarding for only one address. Domain forwarders, by contrast, forward all email for a given domain. It is fully dependent on your needs which is chosen.
Click on 'Add Forwarder' to set up an email account forwarder. The 'Address to Forward:' field is where to specify the email account that will have its mail forwarded elsewhere. The 'Destination' section below gives you different options,
- Forward to Email Address. Specify the destination address here.
- Discard and send an error message. This is an important feature of email forwarders - the ability to notify senders that this address cannot be contacted. This is similar to autoresponders, except that in this case we generally discourage further attempts to contact this address.
(Advanced Options Below)
- Forward to a system account. This would be useful if a system admin is interested in collecting mail sent to original address on a specific system account.
- Pipe to a Program. By entering a relative file path to a program designed to process emails, this program becomes the recipient. This is useful to automate processing of emails.
- Discard (Not Recommended).
The last thing to do is press 'Add Forwarder' at the bottom!
Now, let's check out the 'Add Domain Forwarder' button. You will notice this page is far more simple! We will simply point the incoming email traffic from one domain (left) to another (right).
For example, suppose that my first domain (left) is example.ca, and I enter in exampleforward.com as the destination (right). Someone then sends an email to email@example.com... Without missing a beat, the email is routed instead to firstname.lastname@example.org. Everything to the left of the @ sign stays the same, and everything to the right is replaced.
For the official documentation on this subject, check out cPanel's resource!