Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 11-29-2008, 11:22 AM
Trained Alumni
 
Posts: 19
Default Still Having Problems

I created the Split DNS: But as you will see later in the logs that I am still getting the mail in and then it goes right back out to the other mail relay??

Files on zimbra mail server:[root@zimbramail log]#
Code:
cat /etc/resolv.conf
search kccjs.org
nameserver 127.0.0.1

Code:
/etc/named.conf
options
{
        // Those options should be used carefully because they disable port
        // randomization
        // query-source    port 53;     
        // query-source-v6 port 53;
        
        // Put files that named is allowed to write in the data/ directory:
        directory "/var/named"; // the default
        dump-file               "data/cache_dump.db";
        statistics-file         "data/named_stats.txt";
        memstatistics-file      "data/named_mem_stats.txt";
forwarders { 172.30.3.4; 172.30.3.10; };
};
include "/etc/rndc.key";
// We are the master server for zimbramail.kccjs.org
        zone "zimbramail.kccjs.org" { 
                type master;
                file "zimbramail.kccjs.org";
        };
Code:
[root@zimbramail log]# cat /var/named/chroot/var/named/zimbramail.kccjs.org
$TTL    86400
@       IN      SOA     zimbramail.kccjs.org. hostmaster.zimbramail.kccjs.org. (
                                      20080062 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.
              IN      A       127.0.0.1
              IN      MX      10  zimbramail.kccjs.org.
A Dig from the zimbra mail server:

Code:
; <<>> DiG 9.3.4-P1 <<>> mx zimbramail.kccjs.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18909
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 3

;; QUESTION SECTION:
;zimbramail.kccjs.org.          IN      MX

;; ANSWER SECTION:
zimbramail.kccjs.org.   86400   IN      MX      10 zimbramail.kccjs.org.

;; AUTHORITY SECTION:
zimbramail.kccjs.org.   86400   IN      NS      localhost.

;; ADDITIONAL SECTION:
zimbramail.kccjs.org.   86400   IN      A       127.0.0.1
localhost.              86266   IN      A       127.0.0.1
localhost.              86266   IN      AAAA    ::1

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Nov 29 11:57:26 2008

Code:
 nslookup zimbramail.kccjs.org
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   zimbramail.kccjs.org
Address: 127.0.0.1

Setup Zimbra as Secondary System with a split domain, but yet the email gets bounced between ? Following the Split DNS, and Split Domain Wiki's.

Here is some of the log of the zimbra mail server.
Nov 29 12:07:23 zimbramail postfix/qmgr[10956]: F0EEF9940B1: from=<tkerkman@kenosha.org>, size=2900, nrcpt=1 (queue active)
Nov 29 12:07:24 zimbramail postfix/smtpd[20769]: disconnect from mailgate.kccjs.org[172.30.3.201]
Nov 29 12:07:24 zimbramail amavis[10349]: (10349-01) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20081129T120724-10349: <tkerkman@kenosha.org> -> <zmtig@zimbramail.kccjs.org> SIZE=2900 Received: from zimbramail.kccjs.org ([127.0.0.1]) by localhost (zimbramail.kccjs.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <zmtig@zimbramail.kccjs.org>; Sat, 29 Nov 2008 12:07:24 -0600 (CST)
Nov 29 12:07:24 zimbramail amavis[10349]: (10349-01) Checking: 6JGUFlW21aOb [172.30.3.201] <tkerkman@kenosha.org> -> <zmtig@zimbramail.kccjs.org>
Nov 29 12:07:24 zimbramail clamd[10496]: SelfCheck: Database status OK.
Nov 29 12:07:26 zimbramail postfix/smtpd[20828]: connect from localhost.localdomain[127.0.0.1]
Nov 29 12:07:26 zimbramail postfix/smtpd[20828]: 4562E9940B9: client=localhost.localdomain[127.0.0.1]
v 29 12:07:26 zimbramail postfix/cleanup[20772]: 4562E9940B9: message-id=<1227982041.7681.6.camel@mbapp1.kenosha.org>
Nov 29 12:07:26 zimbramail postfix/qmgr[10956]: 4562E9940B9: from=<tkerkman@kenosha.org>, size=3552, nrcpt=1 (queue active)
Nov 29 12:07:26 zimbramail postfix/smtpd[20828]: disconnect from localhost.localdomain[127.0.0.1]
Nov 29 12:07:26 zimbramail amavis[10349]: (10349-01) FWD via SMTP: <tkerkman@kenosha.org> -> <zmtig@zimbramail.kccjs.org>,BODY=7BIT 250 2.6.0 Ok, id=10349-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4562E9940B9
Nov 29 12:07:26 zimbramail amavis[10349]: (10349-01) Passed CLEAN, LOCAL [172.30.3.201] [24.123.82.60] <tkerkman@kenosha.org> -> <zmtig@zimbramail.kccjs.org>, Message-ID: <1227982041.7681.6.camel@mbapp1.kenosha.org>, mail_id: 6JGUFlW21aOb, Hits: -2.172, size: 2899, queued_as: 4562E9940B9, 2294 ms
Nov 29 12:07:26 zimbramail postfix/smtp[20773]: F0EEF9940B1: to=<zmtig@zimbramail.kccjs.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.3, delays=0.02/0.01/0.01/2.3, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4562E9940B9)
Nov 29 12:07:26 zimbramail amavis[10349]: (10349-01) extra modules loaded: /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
Nov 29 12:07:26 zimbramail postfix/qmgr[10956]: F0EEF9940B1: removed
29 12:07:26 zimbramail postfix/smtp[20829]: 4562E9940B9: to=<zmtig@zimbramail.kccjs.org>, relay=smtpgate.kccjs.org[172.30.3.201]:25, delay=0.09, delays=0.01/0.02/0.01/0.04, dsn=2.0.0, status=sent (250 2.0.0 mATI7Q01027107 Message accepted for delivery)
Nov 29 12:07:26 zimbramail postfix/qmgr[10956]: 4562E9940B9: removed
Nov 29 12:07:26 zimbramail postfix/smtpd[20769]: connect from smtpgate.kccjs.org[172.30.3.201]
Nov 29 12:07:26 zimbramail postfix/smtpd[20769]: setting up TLS connection from smtpgate.kccjs.org[172.30.3.201]
Nov 29 12:07:26 zimbramail postfix/smtpd[20769]: TLS connection established from smtpgate.kccjs.org[172.30.3.201]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Nov 29 12:07:26 zimbramail postfix/smtpd[20769]: 720669940B1: client=smtpgate.kccjs.org[172.30.3.201]
Nov 29 12:07:26 zimbramail postfix/cleanup[20772]: 720669940B1: message-id=<1227982041.7681.6.camel@mbapp1.kenosha.org>
Nov 29 12:07:26 zimbramail postfix/qmgr[10956]: 720669940B1: from=<tkerkman@kenosha.org>, size=3934, nrcpt=1 (queue active)
Nov 29 12:07:26 zimbramail postfix/smtpd[20769]: disconnect from smtpgate.kccjs.org[172.30.3.201]

Last edited by phoenix; 11-29-2008 at 11:28 AM..
Reply With Quote
  #12 (permalink)  
Old 11-29-2008, 11:26 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

The Zimbra server has to be on a 'real' IP not on localhost.
__________________
Regards


Bill
Reply With Quote
  #13 (permalink)  
Old 11-29-2008, 11:30 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

When you post the output of commands and files could you please enclose each section in 'code' (that's the # symbol above the edit window), it makes it much easier to read.
__________________
Regards


Bill
Reply With Quote
  #14 (permalink)  
Old 11-29-2008, 07:39 PM
Trained Alumni
 
Posts: 19
Default Real IP / Still No Success

First, thanks for responding... Sorry about not having it formatted to be more easily readable.

I have changed the DNS entry to resolve to the Real IP, out from DNS on the zimbra server, with no success. The DNS output and logs follow:

Code:
host zimbramail
zimbramail.kccjs.org has address 172.30.10.177
zimbramail.kccjs.org mail is handled by 10 zimbramail.kccjs.org.

Zimbra Mail Log:

[CODE]
Nov 29 20:18:36 zimbramail postfix/smtpd[15492]: BA8169940B1: client=localhost.localdomain[127.0.0.1]
Nov 29 20:18:36 zimbramail postfix/cleanup[15488]: BA8169940B1: message-id=<1228011512.7681.20.camel@mbapp1.kenosha.org>
Nov 29 20:18:36 zimbramail postfix/qmgr[1904]: BA8169940B1: from=<tkerkman@kenosha.org>, size=6539, nrcpt=1 (queue active)
Nov 29 20:18:36 zimbramail postfix/smtpd[15492]: disconnect from localhost.localdomain[127.0.0.1]
Nov 29 20:18:36 zimbramail amavis[1323]: (01323-03) FWD via SMTP: <tkerkman@kenosha.org> -> <zmtig@zimbramail.kccjs.org>,BODY=7BIT 250 2.6.0 Ok, id=01323-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BA8169940B1
Nov 29 20:18:36 zimbramail amavis[1323]: (01323-03) Passed CLEAN, LOCAL [172.30.3.201] [24.123.82.60] <tkerkman@kenosha.org> -> <zmtig@zimbramail.kccjs.org>, Message-ID: <1228011512.7681.20.camel@mbapp1.kenosha.org>, mail_id: apzUBsZS6OtV, Hits: -2.307, size: 6076, queued_as: BA8169940B1, 99 ms
Nov 29 20:18:36 zimbramail postfix/smtp[15489]: 95338994035: to=<zmtig@zimbramail.kccjs.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.17, delays=0.07/0/0/0.1, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as BA8169940B1)
Nov 29 20:18:36 zimbramail postfix/qmgr[1904]: 95338994035: removed
Nov 29 20:18:36 zimbramail postfix/smtp[15493]: BA8169940B1: to=<zmtig@zimbramaill.kccjs.org>, relay=smtpgate.kccjs.org[172.30.3.201]:25, delay=0.06, delays=0/0/0.01/0.04, dsn=2.0.0, status=sent (250 2.0.0 mAU2Iax1028891 Message accepted for delivery)
Nov 29 20:18:36 zimbramail postfix/qmgr[1904]: BA8169940B1: removed
Nov 29 20:18:36 zimbramail postfix/smtpd[15485]: connect from smtpgate.kccjs.org[172.30.3.201]
Nov 29 20:18:36 zimbramail postfix/smtpd[15485]: setting up TLS connection from smtpgate.kccjs.org[172.30.3.201]
Reply With Quote
  #15 (permalink)  
Old 11-29-2008, 07:49 PM
Trained Alumni
 
Posts: 19
Default Confused??

I am re-reading the Split Domain Wiki, and it tells you to turn DNS off for Secondary System? But I just configured the server to do Split DNS, and Split Domain?

From Wiki Page 5

"2. We also highly recommend that, in a secondary Zimbra system, you turn off DNS lookups and internet wide message routing from the secondary host and route all mail through the primary. You can accomplish this by: ... "
Reply With Quote
  #16 (permalink)  
Old 12-02-2008, 01:31 PM
Trained Alumni
 
Posts: 19
Default Try Try Again... Suggestions?

I am giving up... and starting from scratch again. Any insight to offer? My plan is:

I have to leave the sendmail server as the primary mail gateway for the kccjs.org domain between the Internet and the network. Leaving the local DNS MX entry to point to the local internal address of the network ( mailgate.kccjs.org).

Reload Zimbra from scratch on the zimbramail.kccjs.org

Configure the zimbra load to be the kccjs.org domain.

Follow the Instrcutions of the Wiki for Split domain's, making sure to turn off DNS lookups.

Setup a local user on the zimbra mail server through the web interfaces.

Reboot, and try sending mail again. Hopefully it will not get bounced.

Cross my fingers.....
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.