The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to not send emails as root?

Discussion in 'E-mail Discussions' started by t9clkclnr, Mar 5, 2007.

  1. t9clkclnr

    t9clkclnr Well-Known Member

    Joined:
    Jun 11, 2004
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Southern California
    For all the alerts and notifications in WHM, is there a solid walk through on what files I can change so my server does not send email from root@myhostnamehere.tld

    This is something I have wanted to change for sometime now! anyone have any hints or tricks or solid step by step for me?

    Thanks a million.
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Login to the WHM >> Main >> Server Contacts >> Change System Mail Preferences and delete an email address there.
     
  3. t9clkclnr

    t9clkclnr Well-Known Member

    Joined:
    Jun 11, 2004
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Southern California
    Amazing, that's it?

    removing the email addresses here will stop all emails coming out as root@?

    So the notifications from cpanel regarding out dated scripts for example would stop coming as root?
    Or will this only make it so I don't receive emails from root?

    I want to make sure any existing emails that are sent from the server as root, are sent as another email address. This will do that Andy?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, it won't do that. You cannot change that as they emails are generated from the *nix root account. The best you could do, if you want to identify them in a particular way, would be to use chfn which will change the textual name of the sender for root, but it won't change who it's from.
     
  5. t9clkclnr

    t9clkclnr Well-Known Member

    Joined:
    Jun 11, 2004
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Southern California
    Excellent..

    Thanks Andy, Thanks Chirpy, this puts me in the direction I needed.
     
Loading...

Share This Page