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 03-25-2008, 03:41 AM
Intermediate Member
 
Posts: 16
Default Deferred Mail

Hi

i have set up a test server (open source)

Its all running ok but i'm having trouble sending and receiving mail - everything ends up in the deferred queue and the origin ip is 172.0.0.1

Now im pretty sure i have my hosts file correct,
it reads (this is exactly what it reads)
Quote:
172.0.0.1 localhost.localdomain localhost
192.168.0.10 mail.gorillystestdomain.co.uk mail
on my domain i have set an A record to point at my external ip of my zimbra server 90.X.X.X
then i have set an MX record.

can't see what im doing wrong!

thanks
Reply With Quote
  #2 (permalink)  
Old 03-25-2008, 03:47 AM
Moderator
 
Posts: 7,928
Default

As you are on a internal LAN have you follows this guide ? Split DNS - Zimbra :: Wiki

Also, if you are still having problems please post the following :-

Code:
cat /etc/resolv.conf
dig domain.com mx
dig domain.com ns
host `hostname` <-- note backticks

* Note: replace domain.com with your own
__________________
Reply With Quote
  #3 (permalink)  
Old 03-25-2008, 04:05 AM
Intermediate Member
 
Posts: 16
Default

i will have a try with BIND.

should zimbra really be in a DMZ then?
Reply With Quote
  #4 (permalink)  
Old 03-25-2008, 04:10 AM
Moderator
 
Posts: 7,928
Default

Quote:
Originally Posted by gorilly View Post
should zimbra really be in a DMZ then?
that really depends on your security policy
__________________
Reply With Quote
  #5 (permalink)  
Old 03-25-2008, 05:00 AM
Intermediate Member
 
Posts: 16
Default

not the best idea then!

ok so i have now installed and configured bind9 and ran dig

Quote:
root@mail:/home/cup# dig thepressurepoint.co.uk mx

; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk mx ;; global options: printcmd ;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 9967 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;thepressurepoint.co.uk. IN MX

;; Query time: 22 msec
;; SERVER: 192.168.0.20#53(192.168.0.20) ;; WHEN: Tue Mar 25 11:53:58 2008 ;; MSG SIZE rcvd: 40

root@mail:/home/cup# dig thepressurepoint.co.uk ns

; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk ns ;; global options: printcmd ;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55448 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;thepressurepoint.co.uk. IN NS

;; Query time: 1 msec
;; SERVER: 192.168.0.20#53(192.168.0.20) ;; WHEN: Tue Mar 25 11:54:15 2008 ;; MSG SIZE rcvd: 40





if i run an mx lookup externally i get the ip external ip of my router / zimbra server.

25 is fwd
Reply With Quote
  #6 (permalink)  
Old 03-25-2008, 05:02 AM
Moderator
 
Posts: 7,928
Default

dig is not returning anything. what do you have in your /etc/resolv.conf ? it looks like from the dig you are pointing at :-

Code:
;; SERVER: 192.168.0.20#53(192.168.0.20)
so if you have installed BIND on your Zimbra server you need to update resolv.conf to point at 192.168.0.10 instead. This should then resolve the NS and MX correctly.
__________________
Reply With Quote
  #7 (permalink)  
Old 03-25-2008, 05:13 AM
Intermediate Member
 
Posts: 16
Default

hi sorry server is on 20 not 10 i made a typo earlier

in resolv.conf i have

search thepressurepoint.co.uk
nameserver 192.168.0.20

Last edited by gorilly; 03-25-2008 at 05:15 AM..
Reply With Quote
  #8 (permalink)  
Old 03-25-2008, 05:32 AM
Moderator
 
Posts: 7,928
Default

something is wrong in your zone files then. what does /var/log/messages show when you start up BIND ?
__________________
Reply With Quote
  #9 (permalink)  
Old 03-25-2008, 05:40 AM
Intermediate Member
 
Posts: 16
Default

just looked (didnt know to look there)

yes its not working correctly, i will try and fix it

Quote:
Mar 25 12:37:20 mail named[9427]: starting BIND 9.3.2 -u bind
Mar 25 12:37:20 mail named[9427]: found 2 CPUs, using 2 worker threads
Mar 25 12:37:20 mail named[9427]: loading configuration from '/etc/bind/named.conf'
Mar 25 12:37:20 mail named[9427]: listening on IPv4 interface lo, 127.0.0.1#53
Mar 25 12:37:20 mail named[9427]: listening on IPv4 interface eth0, 192.168.0.20#53
Mar 25 12:37:20 mail named[9427]: command channel listening on 127.0.0.1#953
Mar 25 12:37:20 mail named[9427]: command channel listening on ::1#953
Mar 25 12:37:20 mail named[9427]: zone 0.in-addr.arpa/IN: loaded serial 1
Mar 25 12:37:20 mail named[9427]: zone 127.in-addr.arpa/IN: loaded serial 1
Mar 25 12:37:20 mail named[9427]: /etc/bind/zones/rev.0.168.192.in-addr.arpa:1: unknown RR type 'example.com'
Mar 25 12:37:20 mail named[9427]: zone 0.168.192.in-addr.arpa/IN: loading master file /etc/bind/zones/rev.0.168.192.in-addr.arpa: unknown class/type
Mar 25 12:37:20 mail named[9427]: zone 255.in-addr.arpa/IN: loaded serial 1
Mar 25 12:37:20 mail named[9427]: zone localhost/IN: loaded serial 1
Mar 25 12:37:20 mail named[9427]: zone thepressurepoint.co.uk/IN: loading master file /etc/bind/zones/example.com.db: file not found
Reply With Quote
  #10 (permalink)  
Old 03-25-2008, 06:38 AM
Intermediate Member
 
Posts: 16
Default

this is driving me nuts now

Quote:
; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65034
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;thepressurepoint.co.uk. IN MX

;; ANSWER SECTION:
thepressurepoint.co.uk. 38400 IN MX 10 mail.thepressurepoint.co.uk.

;; AUTHORITY SECTION:
thepressurepoint.co.uk. 38400 IN NS mail.thepressurepoint.co.uk.

;; Query time: 1 msec
;; SERVER: 192.168.0.20#53(192.168.0.20)
;; WHEN: Tue Mar 25 13:35:34 2008
;; MSG SIZE rcvd: 75

root@mail:/home/cup# dig thepressurepoint.co.uk ns

; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk ns
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60664
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;thepressurepoint.co.uk. IN NS

;; ANSWER SECTION:
thepressurepoint.co.uk. 38400 IN NS mail.thepressurepoint.co.uk.

;; Query time: 1 msec
;; SERVER: 192.168.0.20#53(192.168.0.20)
;; WHEN: Tue Mar 25 13:35:37 2008
;; MSG SIZE rcvd: 59
any better?
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.