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

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
  #1 (permalink)  
Old 09-14-2011, 09:39 AM
New Member
 
Posts: 4
Default Zimbra is not working, cant send and receive mails

Hi,

I just installed Zimbra in ubuntu and is not working, I cant send emails inside nor outside.

I have been reading forums and papers about DNS and Split DNS, done a lot of changes and
can't get zimbra to work.

From outside this is what I get

The Postfix program

: connect to mx1.compania.org[190.166.100.239]: Connection timed out

Reporting-MTA: dns; hosting.myhost.com
X-Postfix-Queue-ID: 343AB184BE7
X-Postfix-Sender: rfc822; xxxxxx@yahoo.com
Arrival-Date: Sat, 10 Sep 2011 15:33:25 -0700 (PDT)

Final-Recipient: rfc822; eddy@compania.org
Action: failed
Status: 4.0.0
Diagnostic-Code: X-Postfix; connect to mx1.compania.org[190.166.100.239]:
Connection timed out


-----


root@compania:~# dig compania.org

; <<>> DiG 9.7.0-P1 <<>> compania.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 24300
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ccp.org.do. IN A

;; Query time: 0 msec
;; SERVER: 172.139.100.90#53(172.139.100.90)
;; WHEN: Wed Sep 14 08:06:29 2011
;; MSG SIZE rcvd: 28

My internal IP is 172.139.100.90

hostname and hostname -f
return myserver.compania.org


Thanks in advance for your help.
Reply With Quote
  #2 (permalink)  
Old 09-14-2011, 09:43 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by Eddy67 View Post
I just installed Zimbra in ubuntu and is not working, I cant send emails inside nor outside.

I have been reading forums and papers about DNS and Split DNS, done a lot of changes and
can't get zimbra to work.
Then if you've read about Split DNS you'll have also read that you need to provide the output of all the commands in the 'Verify....' section of the wiki article.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-14-2011, 03:58 PM
New Member
 
Posts: 4
Default

This is what I have in the /etc/bind/named file


include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

zone "compania.org" {
type master;
file "/etc/bind/db.local";
};

zone "100.139.172" {
type master;
file "/etc/bind/db.127";
};
Reply With Quote
  #4 (permalink)  
Old 09-14-2011, 11:15 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by Eddy67 View Post
This is what I have in the /etc/bind/named file
That isn't what I asked for, go to the Split DNS wiki article and post the output from all the commands in the 'Verify....' section.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 09-15-2011, 08:30 AM
New Member
 
Posts: 4
Default info required

Hi,

This is the info in from the verify section


root@myserver:~# dig compania.org mx

; <<>> DiG 9.7.0-P1 <<>> compania.org mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 11105
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;comania.org. IN MX

;; Query time: 0 msec
;; SERVER: 172.139.100.90#53(172.139.100.90)
;; WHEN: Thu Sep 15 07:22:39 2011
;; MSG SIZE rcvd: 28


root@myserver:~# dig compania.org any

; <<>> DiG 9.7.0-P1 <<>> compania.org any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17410
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;compania.org. IN ANY

;; Query time: 0 msec
;; SERVER: 172.139.100.90#53(172.139.100.90)
;; WHEN: Thu Sep 15 07:22:39 2011
;; MSG SIZE rcvd: 28


root@myserver:~# host $(hostname)
Host myserver.compania.org.compania.org not found: 2(SERVFAIL)


root@myserver:~# more /etc/resolv.conf
nameserver 172.139.100.90
search compania.org


root@myserver:~# more /etc/hosts
127.0.0.1 localhost.compania.org localhost
172.139.100.90 myserver.compania.org mail
Reply With Quote
  #6 (permalink)  
Old 09-15-2011, 09:55 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

The simple answer to your problem is you have no A or MX DNS records and your hosts file is totally incorrect. Go to the Split DNS article and read what's necessary for your DNS records and hosts file, when you've done that then you can check your settings again with the commands you've already used..
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 09-15-2011, 12:31 PM
New Member
 
Posts: 4
Default

This is my definition of the A and MX records.

I know that something have to be wrong in one of the files, but I've checked several times and see nothing wrong. I've been dealing with this matter for a full week and nothing, that's why I'm posting in the forum.

root@myserver:/etc/bind# more db.local
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA myserver.compania.org. root.compania.org. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS myserver.compania.org.
myserver IN A 172.139.100.90
mail IN MX 190.166.100.239
@ IN A 127.0.0.1
@ IN AAAA ::1


This is the content of my /etc/bind directory
bind.keys db.255 db.root named.conf.local zones.rfc1918
db.0 db.empty named.conf named.conf.options
db.127 db.local named.conf.default-zones rndc.key
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.