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.

Sites are up but e-mail is not working.

Discussion in 'E-mail Discussions' started by wmowat, Jun 5, 2005.

  1. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    Hello,

    I have been through a nightmare with my provider. I decided to upgrade my server and was told I would be able to keep my IP and everything because the hard drive was just going to be transferred to the new server.

    Well, turns out they decided to give me a new IP which resulted in the 500 or so websites I host going down for 2 days. Now everything seems to be all screwed up. I am really regretting this upgrade.

    The main problem I am having now is with my e-mail and my sites. The sites all appear to be working fine, but I am unable to receive e-mail on any account. I have no idea what could be causing this problem. I have tried restarting exim, pop3, and a server reboot to no avail.

    Any help would be appreciated.
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    This issue has been discussed in many threads. I suggest you search this forum.
     
  3. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    I did, but could not find any information. Please link a thread as I cannot find it.
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Well; click on the search link and type this: "exim failed"
    You'll get so many results.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The main starting place is going to be your exim mail log in /var/log/exim_mainlog to track down where the problem is - presuming that you've checked that exim is up and running.
     
  6. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    I think I figured out what was wrong. I was checking my dns records for my domain and it was showing the wrong nameservers and host name/contact name. This must be wrong for all of the accounts on my server. Is there anyway I can do a mass update of these DNS records with the correct information instead of editting them one at a time?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  8. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    Thanks for all your help chirpy. Do you have a place where I can get instructions on how to use this script? I'm a little worried about messing anything up...I'm just starting to get used to shell.
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The best thing to do would be to take a safe copy of your zone files beforehand:


    cd /var
    tar -czf named.tgz named/


    If everything goes smelly, you can then restore using:

    cd /var
    tar -xzf named.tgz


    You basically need to create the script on your server and run it through:

    perl scriptname
     
  10. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    Hi,

    I was able to complete the update using the following

    Code:
    replace oldentry newentry -- /var/named/*.db
    Everything updated fine, but I'm not sure about the serial number...do I still need to use that script you provided?
     
  11. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, otherwise you run the risk that the old settings will remain in other DNS servers since it is the SERIAL number that dictates to other DNS servers that the zone has been modified and needs to be reloaded.
     
Loading...

Share This Page