Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Wrong host-name and domain name in welcome email after server was hacked.

Discussion in 'E-mail Discussion' started by dzacharias, Nov 30, 2013.

  1. dzacharias

    dzacharias Member

    Joined:
    Nov 30, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    help.jpg

    Here is a description of what is going on. Cant seem to find where this information is being pulled from.
    Thanks,
    DZ
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dzacharias

    dzacharias Member

    Joined:
    Nov 30, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for the quick reply.
    I tried that previously the hostname is set correctly.
    hostname.jpg
     
  4. dzacharias

    dzacharias Member

    Joined:
    Nov 30, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok this can be that hard. Obviously there is a setting somewhere that this script kiddy changed up. It not from the section that you suggested... Any other ideas? Where is this data generated form?
     
  5. dzacharias

    dzacharias Member

    Joined:
    Nov 30, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    RESOLVED!!!

    WHM sends a New account creation email template to a given email address after the creation of a new account.

    This EMAIL SUBJECT line can be modified via the /etc/wwwacct.conf file
    Code:
    LOGSTYLE combined
    TTL 14400
    DEFWEBMAILTHEME x3
    HOST host1.xxxxxxxxx.xxxxxx Change this to your Fully Qualified Domain Name!
    NS ns1.xxxxxxxxx.xxxxxx
    SCRIPTALIAS y
    DEFMOD x3
    NS4
    MINUID 500
    NS3
    NS2 ns2.xxxxxxxxx.xxxxxx
    ETHDEV venet0:0
    CONTACTEMAIL youremail@emailaddress.com
    ADDR 184.22.255.58
    CONTACTPAGER youremail@emailaddress.com
    HOMEMATCH home
    HOMEDIR /home
    NSTTL 86400

    Good luck!
     
  6. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    When you go to WHM -> Networking Setup -> Change Hostname
    and set the hostname, even if it seems correct, WHM updates all the files where the hostname exists, including /etc/wwwacct.conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. dzacharias

    dzacharias Member

    Joined:
    Nov 30, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi quietFinn,
    thanks for the response. My server was rooted, For some reason they didn't lock me out of the server, which I found strange...
    I had to clean up the remnants of files that were all over the place. I changed the FQDN in WHM -> Networking Setup -> Change Hostname, but for some reason it did not propagate to the /etc/wwwacct.conf I had to go in there and hand jam it in there. Just did a reboot and checked it again, looks good to go.
    Took some work on my part but I finally got it, figured I would share with the community.
    Thanks again.
    DZ
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice