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.

Forward mail to Exchange server issue

Discussion in 'E-mail Discussions' started by plake, Feb 11, 2004.

  1. plake

    plake Active Member

    Joined:
    Apr 22, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    I found the instructions below in a thread, and had already followed these steps to redirect mail from the domain in question.

    I have tested sending mail from my administrative acct, and it is forwarded to the "default" e-mail address and is not passed on to the Exchange server...

    Just a few other notes...

    after adding the sub domain, I removed it from localdomains and put it over in remotedomains

    ran /scripts/mailperm
    then /scripts/restartsrv bind

    Does anyone have a resolution for this?


    ---------------------------------------------

    Originally posted by ciphervendor
    Let me kind of break it down into steps for you:


    1. Create a new A entry within your clients zone file:

    exchange 114400 IN A IP.Address

    IP.Address is that of the exchange server.


    2. You will want to change the MX line in the same file....

    Should look like this:

    domain.com. 14400 IN MX 0 domain.com.

    Change to:

    domain.com. 14400 IN MX 0 exchange.domain.com.

    * Notice the '.' after the domain names; those are intentional and required.


    3. Save, close & reload bind.


    4. You will need to remove your clients domain from /etc/localdomains so that any mail sent from the server your client is hosted on is not kept locally--rather forwarded to the exchange server.

    Once DNS propagation is complete, your client will have mail hitting their exchange server.
     
    #1 plake, Feb 11, 2004
    Last edited: Feb 11, 2004
  2. plake

    plake Active Member

    Joined:
    Apr 22, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    anyone?
     
  3. plake

    plake Active Member

    Joined:
    Apr 22, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    thanks to some help over in the unoffical #cpanel channel on EFNET...

    I found that i did not have the domains removed from my /etc/localdomains file and also did not have them placed in the /etc/secondarymx file...

    as is well

    big thanks to papillion for his help...
     
  4. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Did you add a secondary MX record in the zone file?
     
  5. plake

    plake Active Member

    Joined:
    Apr 22, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    i sure did, my above post shows that :P

    thanks though
     
  6. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    I did read your post but I did not see a reference to a second MX record. There was 1 record as:
    Code:
    domain.com. 14400 IN MX 0 exchange.domain.com.
    I was wondering if you just put exchange.domain.com in /etc/secondarymx as I am trying to create a similar setup for a client.
     
    #6 goodmove, Jun 13, 2004
    Last edited: Jun 13, 2004
  7. plake

    plake Active Member

    Joined:
    Apr 22, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    I put the domain.com in the secondary MX

    it then forwarded all the mail for that domain so my box would stop processing it and pass it to the exchange server.
     
  8. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page