how to change vps root email via ssh and also how to stop receiving failed mail delivery notifications on root email of vps and cpanel@serverdns
Hello, Any user, including root, can forward their local email by putting the forwarding address in a file called ~/.forward. You can have multiple addresses there, all on one line and separated by comma. If you want both local delivery and forwarding, put root@localhost as one of the addresses. The system administrator can define email aliases in the file /etc/aliases. This file contains lines like root: , /root/mailbox; the effect is the same as having , /root/mailbox in ~root/.forward. You may need to run a program such as newaliases after changing /etc/aliases. Regards, Mano