Forwarders

  • Applies To: All Services
  • Difficulty: Easy
  • Time Needed: 5 Minutes
  • Tools Needed: None
  • Reading Time: 0:07 min

This feature allows a copy of any email sent to one address to be forwarded to another address. This lets you use one account to check mail sent to several email addresses. You can also discard email or send (pipe) mail to a program.

To view forwarders for a specific domain on your account, click the Managing menu and choose the domain for which you wish to set forwarders.

To quickly find a specific email address, enter a keyword in the Search field and click the Go button.

Add A Mail Forwarder

  1. Click Add Forwarder.
  2. You can choose from three options:
    • To forward mail, enter the address to which mail should be forwarded.
    • It is also possible to discard incoming messages and automatically send a failure notice to the sender (incoming messages can also be discarded without an automatic response under the Advanced Options link. This option is not recommended, however, since the sender will be unaware that the delivery failed).
    • Messages can be automatically forwarded to a program by defining a path to the program in the Pipe to Program field.
  3. Click the Add Forwarder button.

To view the route a forwarded message takes, select Trace in the list of forwarded addresses. This makes it possible, for example, to locate a mail routing error.

If you wish to forward mail to another account without mail at your cPanel account, simply create a forwarder from an address that does not have a corresponding account in cPanel.

Alternatively, if the account already exists, you can delete it from cPanel. Afterward, all mail will be forwarded to the destination you have configured.

If you do not delete the cPanel account whose mail is being forwarded, then both accounts will receive mail.

Using The Pipe To Program Option

When using the option to pipe incoming messages to a program, make sure your script uses the proper file permissions (755). You will also need to ensure that you are using the correct hash bang:

PHP

#!/usr/bin/php -q

Perl

#!/usr/bin/perl

Remove A Mail Forwarder

To delete a forwarder, click Delete next to the appropriate forwarded address. Confirm that this forwarder should be deleted on the following page.

Add A Domain Forwarder

This feature will allow all mail sent to a domain to be forwarded to another domain. Adding a domain forwarder will override the default address that is set for the selected domain. To add a forwarder:

  1. Click Add Domain Forwarder.
  2. Enter the domain to which you would like to forward email.
  3. Click the Add Domain Forwarder button.

Remove A Domain Forwarder

To remove a domain forwarder, click the button under the Delete heading that corresponds to the domain forwarder you would like to remove.

Save. Share. Submit.

Related Articles

Sorry, no related entries exist for this article.

Hide Sidebar