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.

Exim - Delivering mail to the real live server

Discussion in 'E-mail Discussions' started by 8p-design, Feb 23, 2010.

  1. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    hi, We often install temporary domains / accounts on our server to test some environments before moving them over. But when we do this, we get mail problems.

    Mail gets delivered to the local account rather than the real domain hosted on another server. Hence our client does not receive our mail.

    How can we tell exim to check with a proper DNS server as to where the domain really resolves and send the mail there rather than local?

    thanks!
     
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Please make sure that you have to changed any Mail records from the DNS Zone editor of your servers where you domain actually hosted.
     
  3. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Hi, I am not sure this applies as it the server where the domain is NOT hosted that should send to the hosting one. And that is my problem.
    thanks!
     
  4. texo

    texo Well-Known Member

    Joined:
    Mar 28, 2007
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    make sure that the domain is no longer in /etc/localdomains on the sending server
     
  5. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    This works now. thanks a lot

    Is there any way to automate this?

    a)Within cpanel?

    b)If not: like a cron making an external DNS check and commenting out the domains that are not pointing to our server?

    thanks!
     
Loading...

Share This Page