Often while troubleshooting your client's mail issues, you will be required to find out which forwarders/autoresponders they have.
On a cPanel server, this information is kept in separate files for every domain (and subdomain) in the
/etc/valiases/ directory – e.g. /etc/valiases/domain123.com, /etc/valiases/homedomain.net, etc.
After logging in as root, look for the domain you're interested in by entering the following into the terminal:
root@www [~]# cd /etc/valiases/ root@www [/etc/valiases]# cat phdomain123.com email@example.com: "|/home/phdomain123/pipe.php" firstname.lastname@example.org: "|/usr/local/cpanel/bin/autorespond email@example.com /home/phdomain123/.autorespond" firstname.lastname@example.org: email@example.com *: ":fail: No such person at this address" root@web [/etc/valiases]#
- the first line is a file (such as a PHP script) forwarder
- the second line is an autoresponder for the email firstname.lastname@example.org
- the third line is an email address forwarder
- the fourth line is the default action for unrouted emails. In this case, the “No such person at this address” message will be sent back.
If you don’t feel comfortable using the command line, you can use a plugin for WHM called ConfigServer Mail Manage. After the installation,
- Access it from WHM -> Plugins -> ConfigServer Mail Manage;
- Choose the domain from the list
- Click the Manage Mail Forwarders button.
You can also check forwarders/autoresponders by accessing the client’s cPanel account.
- 0 Users Found This Useful
On a shared web hosting server, all users share a finite amount of resources at any given...
The highly popular control panel supports well over 30 languages, including French, Spanish, and...
This guide will assist you on how you can make a backup of all the applications on your server....
An email forwarder, as the name suggests, will forward all incoming emails to another address or...
In cPanel, the powerful web hosting control panel, there is an...