Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    12

    Default help with email settings

    I'm an end-user with cpanel on my webspace. I made the following mistake which apparently broke my account. I'd like any WHM experts to take a look at the two problems below, and tell me if there is a way to undo the damage in the WHM settings without re-setting the account:

    I wanted to redirect webmail.domain.net (which uses port 80) directly to roundcube rather than display the email 'splash' page. During the course of experimenting, I created and deleted the subdomains 'webmail' and 'mail' in my public_html directory. Cpanel didn't like this and:

    · switched off the webmail.domain.net feature
    · chnaged my webserver from 'mail.domain.net' to 'domain.net'

    My host wants to reset my account to fix it, but also says that my home directory backup cannot be used after resetting because it may re-introduce the account corruption. This means that I'll lose all my company's email accounts, passwords and hundreds of megabytes of stored email.

    Is there any way to un-do the damage without resetting the account?
    I trust my host, and they are probably right, but I'm desperate to find a way out of this mess.

    Thanks.

    NB: moderators - please don't consider this a crosspost. Although the same problem is described in another thread, it asks about solving the problem through manually uploading email directories *after* an account reset. THIS thread is about whether the problem can solved through WHM settings *without* resetting the account.

  2. #2
    Member
    Join Date
    Jul 2007
    Posts
    12

    Default

    OK, I've had a couple of research breakthroughs with this.

    A reminder of the issue: I inadvertently created 'mail' and 'webmail' sub-directories without knowing that it would break my account's default behaviour.

    Firstly, my email server does not now respond to 'mail.domain.net' anymore, but simply 'domain.net'. After much research, I have come to the conclusion that when I created the subdomain 'public_html/mail', cpanel simply changed the MX entry in my zone file from mail.domain.net to domain.net, and this can easily be corrected by editing the zone file.

    Can anyone confirm this?

    Secondly, when I created the 'webmail' subdomain, it over-rides something called a 'subdomain proxy'. There are several such proxies: webmail, cpanel, webdisk and whm. Usually they are configured in the 'whm -> tweak settings' options and are generated when an account is created.

    However, there is a WHM script called proxydomains which adds them into *existing* accounts. Running:
    /scripts/proxydomains '--user=username add'
    in apache should add the proxydomains back to my account.

    Can anyone confirm this?

    Thanks for any assistance.

  3. #3
    Member MaestriaNick's Avatar
    Join Date
    Aug 2008
    Posts
    137

    Default

    mail.domainname will not be working because DNS entry for it is not existing. This happenes NOT because cpanel changes the MX automatically. MX will remain same.

    you can check with the command

    dig mx domainname


    So, it looks like you deleted the mail.domainname subdomain. What your host have to do is, just add an A record for mail.domainname in the dns zone for domainname.

    Similaly to fix that webmail proxy problem, just delete the subdomain you created and ask your host to add an A record for webmail.domainname also. That should fix the problem.

    Maestriatech.com
    If Someone can do it, We can do it better.
    24/7 Linux /Windows Server Support
    5+ years in the industry
    reachus@maestriatech.com

  4. #4
    Member
    Join Date
    Jul 2007
    Posts
    12

    Default

    Thanks for the reply.

    > What your host have to do is, just add an A record for
    > mail.domainname in the dns zone for domainname

    Referring to this image (because I've never seen the WHM interface):
    http://www.reachcustomersonline.com/...m_dns_1024.jpg

    Can I confirm with you that the mx record should be: mail.domain.net. ?
    And should there also be an 'A' record with simply 'mail' ?

    > Similarly to fix that webmail proxy problem, just delete the subdomain
    > you created and ask your host to add an A record for webmail.domainname

    That would be great!
    But my host says that would restore the DNS entry only, not the apache configuration for the domain.


    Thanks.
    Last edited by Antifreeze; 08-19-2008 at 05:38 AM.

  5. #5
    Member MaestriaNick's Avatar
    Join Date
    Aug 2008
    Posts
    137

    Default

    >>Can I confirm with you that the mx record should be: mail.domain.net. ?
    >>And should there also be an 'A' record with simply 'mail' ?

    Yes, that is correct.

    >>That would be great!
    But my host says that would restore the DNS entry only, not the apache configuration for the domain.

    No, that is not correct. Because, when you delete the subdomain, the etnry for subdomain webmail.domainname will be deleted from apache conf. So, it will not go to the webmail foder under your account any more and will load webmail directly.

    Maestriatech.com
    If Someone can do it, We can do it better.
    24/7 Linux /Windows Server Support
    5+ years in the industry
    reachus@maestriatech.com

Similar Threads & Tags
Similar threads

  1. Email settings
    By everynameistake in forum Security
    Replies: 0
    Last Post: 08-26-2011, 11:30 AM
  2. Email forwarding and settings.
    By pratapsingh in forum E-mail Discussions
    Replies: 5
    Last Post: 01-08-2010, 06:45 PM
  3. Email forwarding and settings.
    By pratapsingh in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-08-2010, 08:24 AM
  4. Retry email settings?
    By compliancelc in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 10-13-2009, 08:58 PM
  5. Notifiy Email Settings
    By horrighs in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-08-2005, 07:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube