Delete many, like many forwarders
I have many (many) forwarders.
I host +100 domains that each has +100 emails and over the years, we have added forwarders to many external systems.
I understand that I cant remove forwarders (bulk) in cPanel, but there has to be a workaround.
Let's say I want to delete all forwarders to xx@xx.xom, or whatever@xx.com, how can I do that?
-
The forwarders are saved in: /etc/valiases/domainname
Where "domainname" is the domain name of the account the forwarders are created.1 -
Hi you can empty the file /etc/valiases/domainname That will delete all forwarders for the specific domain. 0 -
Hi you can empty the file /etc/valiases/domainname That will delete all forwarders for the specific domain.
That file also can contain the default address information, so completely clearing or deleting that file may lose that info, such as::fail: No Such User Here
So you may want to take care when removing any info from the file unless you want to go back and reconfigure the default address for those email accounts.0 -
In cpanel, I do not see a directory "valiases" within "etc" Might it be elsewhere?
1 -
James Luton - you would need to be logged into the server as the root user over SSH in order to see those directories.
0
Please sign in to leave a comment.
Comments
5 comments