| 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.
|  | | 
11-19-2008, 05:34 AM
| | | Mail not delivered at all hi,
I have done a basic setup on ubuntu 8.04 and am having a problem with mail not getting delivered.
It seems to be a DNS problem, because if i look in the queue it tells me that it has tried to connect to itself and has been refused the connection.
The address it is trying to connect to is the external addreess and the origin host/ip is 127.0.0.1/localhost.localdomain.
i assume i just need to tell the server that it is itself so the dns lookup succeeds.
Please can you tell me where to configure this.
thanks
paul | 
11-19-2008, 05:41 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Please read the Documentation especially the Quick Start Installation Guide then read this wiki article, Do search the forusm, you'll find plenty of information telling you how to set-up DNS and how to check if it's correctly set-up.
__________________
Regards
Bill
| 
11-19-2008, 05:49 AM
| | | hi Bill,
Thanks i did look at the quick config guide before and when i setup zimbra earlier this year i did do a load of DNS stuff but as this wasn't obvious from this guide i didn't bother.
I will redo the server sorting out DNS first, hopefully
thanks
paul | 
11-19-2008, 07:56 AM
| | | Unfortunately still not working hi Bill,
i followed the DNS guide but it is still not working any suggestions would be helpful.
I have included the commands i ran: Code: sudo vi /etc/hosts
127.0.0.1 localhost.localdomain localhost s Code: udo apt-get install bind9
sudo vi /etc/bind/named.conf.options
uncomment and change to reflect your own upstream DNS servers, i.e. remove //.
forwarders {
212.139.132.70; 212.139.132.102;
};
sudo vi /etc/resolv.conf
nameserver 192.168.0.200
sudo /etc/init.d/bind9 restart
sudo vi /etc/bind/named.local
zone "mydomain.co.uk" {
type master;
file "/etc/bind/db.mydomain.co.uk";
}; Code: sudo touch /etc/bind/db.mydomain.co.uk
sudo vi /etc/bind/db.mydomain.co.uk
;
; BIND data file for mydomain.co.uk
;
$TTL 604800
@ IN SOA mail.mydomain.co.uk. admin.mydomain.co.uk. (
191108 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.0.200
mail IN A 192.168.0.200 and then when i do a nslookup or dig i still get my public address
thanks
paul
Last edited by phoenix; 11-19-2008 at 08:05 AM..
| 
11-19-2008, 08:10 AM
| | | Please post Code: cat /etc/hosts
cat /etc/resolv.conf
dig yourdomainname mx
dig yourdomainname any
host `hostname` <- note backticks and not single quotes
__________________ | 
11-19-2008, 08:24 AM
| | | hi Uxbod,
I have attached the outputs requested, however please note that i am trying to actually host two domains here assured-networks and melvicas and so i did all the DNS stuff for both (seperate db files etc)
Would this make any difference?
/etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.200 mail.mydomain.com mail
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/resolv.conf
search mydomain.com
nameserver 192.168.0.200
paul@mail:~$ dig mydomain.com mx
; <<>> DiG 9.4.2 <<>> mydomain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57786
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;mydomain.com. IN MX
;; ANSWER SECTION:
mydomain.com. 86400 IN MX 50 mta1.iomartmail.com.
mydomain.com. 86400 IN MX 50 mta2.iomartmail.com.
mydomain.com. 86400 IN MX 50 mta3.iomartmail.com.
mydomain.com. 86400 IN MX 50 mta4.iomartmail.com.
mydomain.com. 86400 IN MX 10 smtp-in.iomartmail.com.
;; AUTHORITY SECTION:
. 516426 IN NS F.ROOT-SERVERS.NET.
. 516426 IN NS A.ROOT-SERVERS.NET.
. 516426 IN NS D.ROOT-SERVERS.NET.
. 516426 IN NS B.ROOT-SERVERS.NET.
. 516426 IN NS G.ROOT-SERVERS.NET.
. 516426 IN NS M.ROOT-SERVERS.NET.
. 516426 IN NS I.ROOT-SERVERS.NET.
. 516426 IN NS K.ROOT-SERVERS.NET.
. 516426 IN NS L.ROOT-SERVERS.NET.
. 516426 IN NS C.ROOT-SERVERS.NET.
. 516426 IN NS H.ROOT-SERVERS.NET.
. 516426 IN NS E.ROOT-SERVERS.NET.
. 516426 IN NS J.ROOT-SERVERS.NET.
;; Query time: 38 msec
;; SERVER: 192.168.0.200#53(192.168.0.200)
;; WHEN: Wed Nov 19 16:18:42 2008
;; MSG SIZE rcvd: 373
paul@mail:~$ dig mydomain.com any
; <<>> DiG 9.4.2 <<>> mydomain.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56974
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;mydomain.com. IN ANY
;; ANSWER SECTION:
mydomain.com. 86397 IN MX 10 smtp-in.iomartmail.com.
mydomain.com. 86397 IN MX 50 mta1.iomartmail.com.
mydomain.com. 86397 IN MX 50 mta2.iomartmail.com.
mydomain.com. 86397 IN MX 50 mta3.iomartmail.com.
mydomain.com. 86397 IN MX 50 mta4.iomartmail.com.
mydomain.com. 84444 IN A 84.22.184.70
;; AUTHORITY SECTION:
. 516423 IN NS J.ROOT-SERVERS.NET.
. 516423 IN NS C.ROOT-SERVERS.NET.
. 516423 IN NS I.ROOT-SERVERS.NET.
. 516423 IN NS A.ROOT-SERVERS.NET.
. 516423 IN NS E.ROOT-SERVERS.NET.
. 516423 IN NS F.ROOT-SERVERS.NET.
. 516423 IN NS L.ROOT-SERVERS.NET.
. 516423 IN NS K.ROOT-SERVERS.NET.
. 516423 IN NS G.ROOT-SERVERS.NET.
. 516423 IN NS B.ROOT-SERVERS.NET.
. 516423 IN NS H.ROOT-SERVERS.NET.
. 516423 IN NS M.ROOT-SERVERS.NET.
. 516423 IN NS D.ROOT-SERVERS.NET.
;; Query time: 0 msec
;; SERVER: 192.168.0.200#53(192.168.0.200)
;; WHEN: Wed Nov 19 16:18:45 2008
;; MSG SIZE rcvd: 389
host `hostname`
mail.mydomain.com has address 84.45.143.129
my external addres is x.x.x.x and i was hoping to use the mel.com as a test domain before moving the assured over
thanks paul
Last edited by pjmelvin; 11-21-2008 at 02:19 AM..
| 
11-19-2008, 08:56 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | This is incorrect: Code: melvicas.com. 82253 IN A 81.86.100.253 it should point to the internal IP of your server. The hosts file is also incorrect, you need to remove the following line: Code: 192.168.0.200 mail.assured-networks.co.uk mail .
When you post detail on the forums please highlight each section (or command output) of code and hit the 'code' symbol - it's the # sign above the edit box - it makes the text easier to read. Take a look at the post earlier that I've edited.
__________________
Regards
Bill
| 
11-19-2008, 09:05 AM
| | | hi Bill,
I need both domains to be registered to this ip, which i though shouldn't be a problem.
I am unsure hoever how to correctly configure the DNS to allow this, i simply added the melvicas.com line to the hosts file as i thought it would make no difference at all.
My primary domain is to be assured-networks but is hosted at another address, my secondary domain which is melvicas.com is correctly pointing to my external address except i haven't set up the email server yet
Please can you tell me if doubling up on all the config is correct, i.e. one for assured and one for melvicas, or not.
And point taken about the code - apologies
regards
paul | 
11-19-2008, 09:28 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Why do you need both names in the hosts file?
__________________
Regards
Bill
| 
11-19-2008, 09:30 AM
| | | hi Bill,
I am not sure that i do, and i will take out the melvicas.com then
thanks
paul | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |