This interface allows you configure an email address to forward copies of incoming emails to another address. This is useful if, for example, you want to use one email address to check emails addressed to multiple accounts. You can also discard email or send (pipe) email to a program.
To manage forwarders for a specific domain on your account, select the desired domain from the Managing menu.
Note:
To manage forwarders for email accounts that use the BoxTrapper feature (cPanel >> Home >> Email >> BoxTrapper), use the BoxTrapper Forward List feature.The Email Account Forwarders table lists all of the email addresses that use a forwarder to redirect email to another address or service.
Important:
To add a mail forwarder, perform the following steps:
Forward to a system account — Select this option to forward incoming email to a system user. Enter the desired username in the text box.
Notes:
Pipe to a program — To automatically forward incoming email to a program, enter a path to the program, relative to the account's home directory (for example, utilities/support.pl
) in the text box. For more information, read the Pipe to a Program section below.
Discard (Not Recommended) — Select this option to discard incoming email without a failure notice.
Important:
We do not recommend this option, because the sender will not know that the delivery failed.
Important:
Make certain that your script uses the proper file permissions (0700
). To change your script's file permissions, run the chmod 0700 myscript.php
command, where myscript.php
represents your script's location and file name.
Use the Pipe to a Program option to parse and enter email information into a different system. For example, use the Pipe to a Program option to pipe email information to a program that enters email information into a ticket system.
STDIN
pipes email and headers to the program.Pipes can accept variables from the $_SERVER
array and variables on the command line.
When you use the Pipe to a Program option, enter a path that is relative to your home directory. For example, to use the /home/user/
script.pl
script, enter script.pl
in the Pipe to a Program text box, where user
represents your username.
Note:
If you use PHP, make certain that you appropriately wrap your code in start and end tags.
Domain forwarders send copies of all of a domain's incoming email to another domain. Domain forwarders override the default address for the forwarded domain.
The Forward All Email for a Domain table lists all of the domain forwarders for your account.
Note:
Domain forwarders only forward email when the system cannot deliver it to an address or autoresponder. For example, if a user sends an email to the john@example1.com
address, the following actions might take place:
john@example1.com
address or autoresponder exists, cPanel will not forward the email.john@example1.com
address or autoresponder does not exist, cPanel will forward the email.To add a domain forwarder, perform the following steps:
To remove a domain forwarder, click Delete next to the domain forwarder that you wish to remove, and then click Delete Domain Forwarder to confirm.