Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Zimbra as secondary in split domain not accepting email to server hostname.

  1. #11
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,484
    Rep Power
    56

    Default

    Try some of the solutuions in the forums: site:zimbra.com "loops back to myself" - Yahoo! Search Results
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  2. #12
    jshtimsj is offline Active Member
    Join Date
    May 2010
    Posts
    32
    Rep Power
    5

    Default

    Thank you for the suggestion, I have searched the forums and google but I don't see any solutions for this:

    loops back to myself
    No Solution

    http://www.zimbra.com/forums/install...elf-print.html
    No Solution

    [SOLVED] loops back to myself
    I have /etc/hosts and DNS setup correctly - DNS A records all point to correct IP.

    outgoing mail "loops back to myself"
    Doesn't apply to our situation. This if for outgoing, we're only having issues with incoming emails.

    mail from localhost loops back to myself
    I've tried setting the MTA relay to localhost, blank or mail1.xyz.com. No change.

    Does anyone have a working domain alias out there and would like to share how they set it up?

    Thanks.

  3. #13
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,484
    Rep Power
    56

    Default

    Let's start by verifying that your configuration is correct, post the output of the following commands (run on the Zimbra server):

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com mx
    dig yourdomain.com any
    host `hostname` <- use that exact command with backticks not single quotes
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #14
    jshtimsj is offline Active Member
    Join Date
    May 2010
    Posts
    32
    Rep Power
    5

    Default

    A few notes:

    I'm testing this on our LAN. Internal DNS servers are 10.10.0.2 and 10.10.0.3. Primary mail server is 10.10.0.1. The new zimbra mail server (mail1.xyz.com or CNAME zimbra.xyz.com) is 10.10.0.5. Again, I'm trying to setup zimbra as a secondary mail server temporarily while I migrate accounts over and am unable to forward to any address from the primary mail server to the zimbra server due to zimbra not accepting email to its IP, hostname or alias domains. For example, If I send an email from the primary mail server to james@mail1.xyz.com or james@zimbra.xyz.com or james@10.10.0.5 they all bounce with the error 'mail for mail1.xyz.com loops back to myself' or 'unknown user: "james"' Where the user james is a valid account on both the 'old' and new zimbra server. I am able to send mail to james@zimbra.xyz.com from the Zimbra server itself, but not from other mail servers on our network - that is, zimbra appears to accept email to the alias domain locally, but not remotely.


    cat /etc/hosts

    127.0.0.1 localhost.localdomain localhost
    10.10.0.5 mail1.xyz.com mail1 zimbra.xyz.com zimbra

    cat /etc/resolv.conf

    search xyz.com
    nameserver 10.10.0.2
    nameserver 10.10.0.3

    dig xyz.com mx

    ;; QUESTION SECTION:
    ;xyz.com. IN MX

    ;; ANSWER SECTION:
    xyz.com. 7200 IN MX 0 mail.xyz.com.

    ;; AUTHORITY SECTION:
    xyz.com. 7200 IN NS ns2.xyz.com.
    xyz.com. 7200 IN NS ns3.xyz.com.

    ;; ADDITIONAL SECTION:
    mail.xyz.com. 172800 IN A 10.10.0.1
    ns2.xyz.com. 172800 IN A 10.10.0.2
    ns3.xyz.com. 172800 IN A 10.10.0.3


    dig xyz.com any

    ;; QUESTION SECTION:
    ;xyz.com. IN ANY

    ;; ANSWER SECTION:
    xyz.com. 7200 IN MX 0 mail.xyz.com.
    xyz.com. 7200 IN A 10.10.0.4
    xyz.com. 7200 IN NS ns2.xyz.com.
    xyz.com. 7200 IN NS ns3.xyz.com.

    ;; ADDITIONAL SECTION:
    mail.xyz.com. 172800 IN A 10.10.0.1
    ns2.xyz.com. 172800 IN A 10.10.0.2
    ns3.xyz.com. 172800 IN A 10.10.0.3

    host `hostname`

    mail1.xyz.com has address 10.10.0.5

    Also

    host zimbra.xyz.com
    zimbra.xyz.com is an alias for mail1.xyz.com.
    mail1.xyz.com has address 10.10.0.5

    Thanks again.

  5. #15
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,484
    Rep Power
    56

    Default

    According to the results of those dig commands you have no A record for 10.10.0.5 (which is in your hosts file), that would be because you're using a CNAME record when you should be using an A record - it's not against the RFC but it can cause problems. I'd recommend against using CNAME record for your mail server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #16
    jshtimsj is offline Active Member
    Join Date
    May 2010
    Posts
    32
    Rep Power
    5

    Default

    mail1 does indeed have an A record:

    dig mail1.xyz.com

    ;; QUESTION SECTION:
    ;mail1.xyz.com. IN A

    ;; ANSWER SECTION:
    mail1.xyz.com. 172800 IN A 10.10.0.5

    as well as the zimbra.xyz.com CNAME.

  7. #17
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,484
    Rep Power
    56

    Default

    You should still not be using a CNAME, it will cause problems and I'd suggest you remove it. The 'dig any' command should also return the A record and it isn't. Are you also absolutely certain that both of those DNS servers give the same results.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #18
    jshtimsj is offline Active Member
    Join Date
    May 2010
    Posts
    32
    Rep Power
    5

    Default

    Initially I didn't have the CNAME setup and was just trying to get zimbra to accept incoming email to its hostname (mail1.xyz.com). When that didn't work I setup an alias domain - zimbra.xyz.com and created a corresponsing CNAME -> mail1.xyz.com. I can remove the CNAME, but that doesn't help matters as I still can't email the zimbra server to either its hostname (mail1.xyz.com) or IP address. Do you have instructions on how to properly setup an alias domain or setup zimbra to accept incoming email to either its hostname or IP address?

    Moreover the 'dig any' command is not going to return a line for mail1.xyz.com since its not listed as a MX for xyz.com nor is it a name server. I believe 'dig any' only shows NS, MX, SOA, and SPF records.

  9. #19
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,484
    Rep Power
    56

    Default

    I hate to disagree with you as this is your server but earlier you've posted the following:

    Code:
    dig xyz.com mx
    
    ;; QUESTION SECTION:
    ;xyz.com. IN MX
    
    ;; ANSWER SECTION:
    xyz.com. 7200 IN MX 0 mail.xyz.com.
    
    ;; AUTHORITY SECTION:
    xyz.com. 7200 IN NS ns2.xyz.com.
    xyz.com. 7200 IN NS ns3.xyz.com.
    
    ;; ADDITIONAL SECTION:
    mail.xyz.com. 172800 IN A 10.10.0.1
    ns2.xyz.com. 172800 IN A 10.10.0.2
    ns3.xyz.com. 172800 IN A 10.10.0.3
    That would appear to be an MX record for xyz.com domain and an A record pointing at (as I mentioned in an earlier reply) the wrong IP address.

    You need the A record to point to the IP address (as you have it in the hosts file - 10.10.0.5) of the Zimbra server. Perhaps I'm misunderstanding your configuration but you don't seem to have the correct records as far as I can tell.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #20
    jshtimsj is offline Active Member
    Join Date
    May 2010
    Posts
    32
    Rep Power
    5

    Default

    Please disagree, I'm hoping you find something that I'm missing, however the MX record you are seeing is for our primary mail server (runnning Qmail). Again, I'm trying to setup a secondary mail server with Zimbra to transition to, according to your wiki page here:

    Split Domain - Zimbra :: Wiki

    So the 10.10.0.1 A record for mail.xyz.com is correct. That is not the zimbra server but or existing mail server running Qmail.

    The zimbra server (mail1.xyz.com) cannot be the primary MX for the domain if its the secondary server.

    Again Zimbra is the secondary server in this split domain configuration...

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Postfix unavailable - queue down
    By pmona in forum Administrators
    Replies: 20
    Last Post: 01-21-2010, 10:03 PM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM

Posting Permissions

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