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.

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

Discussion in 'E-mail Discussions' 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:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  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:
    10
    Trophy Points:
    18
    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
     
  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