how to change vps root email via ssh

Discussion in 'Web Hosting' started by hmk20009, Sep 1, 2018.

  1. #1
    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
     
    hmk20009, Sep 1, 2018 IP
  2. dts-net

    dts-net Well-Known Member

    Messages:
    71
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    175
    #2
    recommend opening a support ticket with cpanel
     
    dts-net, Sep 1, 2018 IP
  3. XiNiX

    XiNiX Well-Known Member

    Messages:
    194
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    110
    #3
    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
     
    XiNiX, Sep 27, 2018 IP