Results 1 to 5 of 5

Thread: How to send mail to an external domain with the same name as the internal domain.

  1. #1
    glang is offline Junior Member
    Join Date
    May 2009
    Posts
    5
    Rep Power
    6

    Question How to send mail to an external domain with the same name as the internal domain.

    Hi all,

    I've been messing with this one for days and was hoping someone can provide some incite. I have an internal Zimbra server running on the "domainname.com" domain. It is working perfectly and can send/receive email to/from anywhere without problems unless I try to send to the external "domainname.com" domain. For a more in-depth explanation:

    I'm running split DNS for the "domainname.com" domain.
    The server is "bluewhale.domainname.com" and the Zimbra domain is "corp.domainname.com". If I want to send to an internal user I send a mail to "username@corp.domainname.com" and everything works fine. But, if I try to send to an external user at "username@domainname.com" I receive a message saying ": mail for domainname.com loops back to myself".

    Any ideas?

  2. #2
    SynUK is offline Junior Member
    Join Date
    Aug 2008
    Location
    Leicester, UK
    Posts
    7
    Rep Power
    7

    Default Split Domain

    I have had this working quite well. I don't have the exact documentation with me at the moment but have a look at :

    Split Domain - Zimbra :: Wiki

    If that doesn't work, I will dif out the instructions that I used to do it.

  3. #3
    glang is offline Junior Member
    Join Date
    May 2009
    Posts
    5
    Rep Power
    6

    Default

    I've looked over what you provided but, though the problem is similar, is not exactly what I'm dealing with.

    I have an external server hosted by Network Solutions on the "example.com" domain that we send mail to by addressing it to "userid@example.com". I also have a Zimbra server on the "example.com" domain--running it's own DNS--that we send mail to be addressing it to "userid@corp.exmaple.com". Each user can have an account on both mail systems and needs the ability to receive mail from both. Both servers work fine and we can send from "example.com" to "corp.example.com" with no problem. We just can't send from "corp.example.com" to "example.com". The systems are not secondary and primary, but two completely separate servers handling two sets of mail.

    It's my understanding that the Zimbra server, being a part of the "example.com" domain believes that anything sent to "userid@example.com" is going to itself so it doesn't send it but I'm not sure if that's the case or, if it is, how to work around it.

  4. #4
    glang is offline Junior Member
    Join Date
    May 2009
    Posts
    5
    Rep Power
    6

    Default

    Well, I don't know if I did it the correct way but it appears to be working.

    What I did was placed the IP address for the MX record of the external server into my /etc/hosts table, pointing to "example.com". I then turned off "enable DNS lookups" in the Zimbra management suite.

    To test I sent an email (using Zimbra) from "userid1@corp.example.com" to "userid1@example.com" and it transferred successfully. I then reversed the process and sent an email (using Network Solutions) from "userid1@example.com" to "userid1@corp.example.com" and it also worked.

    Does anyone see a problem with the changes I made that may negatively impact other areas I didn't consider?

  5. #5
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    You have made a correct setup. It was just a matter of setting up MX properly

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Messages not being delivered
    By buee in forum Administrators
    Replies: 53
    Last Post: 10-23-2009, 10:28 AM
  3. Replies: 30
    Last Post: 01-13-2009, 08:00 AM
  4. use internal mail server to send email in external net
    By abisello in forum Administrators
    Replies: 5
    Last Post: 03-18-2008, 08:29 AM
  5. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •