Results 1 to 9 of 9

Thread: [SOLVED] Upgrade and server move - Internal mail deferred

  1. #1
    m3tr0g33k is offline Junior Member
    Join Date
    Sep 2007
    Posts
    6
    Rep Power
    7

    Angry [SOLVED] Upgrade and server move - Internal mail deferred

    Dear all,

    I hope that I haven't missed this elsewhere, but googling and searching here have not helped me yet...

    I upgraded from 7.5.6 to 7.5.10 on my previous server (debian etch) and then restored a backup of that /opt/zimbra on to a new server (ubuntu 6.06).

    Presumably I have somehow mucked up the dns, hosts file or something, even though I copied them straight from the previous install:

    /etc/hosts
    127.0.0.1 localhost
    127.0.0.1 zimbra.xxx.co.uk zimbra

    resolv.conf
    nameserver my.isp's.external.dns
    nameserver my.isp's.other.xternal.dns

    hostname
    zimbra

    Now I realise that this is not the conventional setup, but it worked before, and I was following the howto for debian etch.

    Now I can send and receive external mail, but for mail within the domain I get:

    Dec 19 11:48:17 zimbra postfix/qmgr[4821]: BCA369E0059: to=, relay=none, delay=0, status=deferred (delivery temporarily suspended: connect to zimbra.scisite.co.uk[212.57.250.229]: Connection timed out)

    I have tried various instructions for etc/hosts, resolv.conf and hostname, but with no success. All suggestions gratefully received!

  2. #2
    m3tr0g33k is offline Junior Member
    Join Date
    Sep 2007
    Posts
    6
    Rep Power
    7

    Default further info

    Sorry, should have added that the server is behind NAT with ports 25,80,443 opened through the NAT device.

    the address zimbra.xxx.co.uk resolves to the external IP, not the 192.168 internal address. There is no internal DNS on the LAN.

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Quote Originally Posted by m3tr0g33k View Post
    the address zimbra.xxx.co.uk resolves to the external IP, not the 192.168 internal address. There is no internal DNS on the LAN.
    That is what's causing your problems. For any installation of Zimbra behind NAT or a firewall with a private IP address you'll need a Split DNS set-up.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Quote Originally Posted by m3tr0g33k View Post
    127.0.0.1 localhost
    127.0.0.1 zimbra.xxx.co.uk zimbra
    In addition to the Split DNS, your hosts file is incorrect. There's a Ubuntu how-to on the wiki and you'll find details of the osts file in the product documentation or mentioned a ton of times in the forums, please search for the answer.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    dspillett is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    84
    Rep Power
    8

    Default

    Quote Originally Posted by m3tr0g33k View Post
    Sorry, should have added that the server is behind NAT with ports 25,80,443 opened through the NAT device.

    the address zimbra.xxx.co.uk resolves to the external IP, not the 192.168 internal address. There is no internal DNS on the LAN.
    I'm not sure, but I think the problem you have is the same as I hit when running Zimbra behind a NAT arrangement instead of it being directly publicly addressable.

    If that is the case then you will need to setup a local copy of bind and use that as Zimbra's resolver. See Split DNS - Zimbra :: Wiki and search the forum for other notes in "split DNS" for details of the small amount of jiggery pokery required.

  6. #6
    m3tr0g33k is offline Junior Member
    Join Date
    Sep 2007
    Posts
    6
    Rep Power
    7

    Default split dns

    OK split DNS here we come.
    How did my previous system work without it - is there smthg different about either Debian Etch or v7.5.6?

    Tnks for help so far....

  7. #7
    m3tr0g33k is offline Junior Member
    Join Date
    Sep 2007
    Posts
    6
    Rep Power
    7

    Talking Fixed

    OK all, thanks, split dns up and running but:

    our zimbra box is not the domain's MX from the outside, and all outgoing mail is routed through our isp whose server is called mail.scisite.co.uk. All mail is collected via pop from this server

    Of course now we can't find mail.scisite.co.uk from the zimbra box, as it thinks it replying for the domain authoritatively.

    So, in addition, we put at the end of /etc/bind/db/mydomain.co.uk

    mail IN A external.ip.of.mail

    so it resolves correctly!

    Best regards all - Merry Festive Season!

  8. #8
    m3tr0g33k is offline Junior Member
    Join Date
    Sep 2007
    Posts
    6
    Rep Power
    7

    Default FIXED - typo

    of course I meant to add a line to

    /etc/bind/db.domain.co.uk

    not

    /etc/bind/db/domain.co.uk

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    You might also like to look at Split Domain if you have another mail server in your domain.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. Server rename and multi-server upgrade.
    By Tim Mothery in forum Administrators
    Replies: 0
    Last Post: 07-21-2007, 06:20 AM
  3. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  4. From POP3 and 100 scattered mailboxes to Zimbra
    By spiderman in forum Administrators
    Replies: 5
    Last Post: 08-11-2006, 08:00 PM
  5. Interupted 3.0 -> 3.1 upgrade
    By bin2hex in forum Installation
    Replies: 10
    Last Post: 05-03-2006, 09: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
  •