| 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-24-2008, 09:01 PM
| | | Open Zimbra & Ubuntu 8.04LTS - can't receive external emails I am testing an installation for personal use and i just don't know what else to do. I have setup bind9 dns on the same server. The server is connected directly to the net (no router firewall). I have my hosting company forwarding to my local computer's ip for dns. I install zimbra fine (no errors) and i can send and receive local emails. I can also send external emails through my isp's smtp. However, i cannot receive any external emails.
Installation on ubuntu 8.04lts running Bind9 dns
local hostname: mail.hansenx6.com
dig a hansenx6.com Quote:
; <<>> DiG 9.4.2-P2 <<>> a hansenx6.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42739
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;hansenx6.com. IN A
;; ANSWER SECTION:
hansenx6.com. 38400 IN A 154.20.107.200
;; AUTHORITY SECTION:
hansenx6.com. 17398 IN NS mail.hansenx6.com.
;; ADDITIONAL SECTION:
mail.hansenx6.com. 17398 IN A 154.20.107.200
;; Query time: 23 msec
;; SERVER: 75.154.133.68#53(75.154.133.68)
;; WHEN: Mon Nov 24 19:52:41 2008
;; MSG SIZE rcvd: 81
| dig mx hansenx6.com Quote:
; <<>> DiG 9.4.2-P2 <<>> mx hansenx6.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47265
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;hansenx6.com. IN MX
;; ANSWER SECTION:
hansenx6.com. 10751 IN MX 10 mail.hansenx6.com.
;; AUTHORITY SECTION:
hansenx6.com. 16615 IN NS mail.hansenx6.com.
;; ADDITIONAL SECTION:
mail.hansenx6.com. 16615 IN A 154.20.107.200
;; Query time: 24 msec
;; SERVER: 75.154.133.68#53(75.154.133.68)
;; WHEN: Mon Nov 24 19:53:30 2008
;; MSG SIZE rcvd: 81
| nslookup hansenx6.com Quote:
> hansenx6.com
Server: 75.154.133.68
Address: 75.154.133.68#53
Non-authoritative answer:
Name: hansenx6.com
Address: 154.20.107.200
| cate /etc/hosts Quote:
127.0.0.1 localhost
154.20.107.200 mail.hansenx6.com
# 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
| cat /etc/resolv.conf Quote:
search hansenx6.com
nameserver 75.154.133.68
nameserver 75.154.133.100
| Unless my local dns is misconfigured (i am a noob) I can't think what else must be wrong. Any help is appreciated.
Thanks
Mike | 
11-25-2008, 03:33 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,641
| | Your hosts file is incorrect, please check the format in the Quick Start Installation Guideand correct it. When you've done that, what does the following command show when run on the Zimbra server: Code: host `hostname` <-- use backticks not single quotes Are you behind a firewall or do you have SElinux installed? Is the firewall set to allow the correct ports through?
__________________
Regards
Bill
| 
11-25-2008, 10:00 AM
| | | i had a friend do some looking into my problem. He responded as follows: Quote:
I looked at it and see that it's something to do with the postfix config. Here is the actual error
ehlo caseyservices.com
250-mail.hansenx6.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:doug@caseyservices.com
250 2.1.0 Ok
rcpt to:michael@hansenx6.com
250 2.1.5 Ok
data:
221 2.7.0 Error: I can break rules, too. Goodbye.
Connection closed by foreign host.
You can see a normal smtp chat until 221 2.7.0 Error: I can break rules, too. Goodbye.
I googled it but most of the suggestions had been done like checking the main.cf file, it's right
| I played around with the dns last night so i have just reverted back to it. I changed the host name as follows: Quote:
cat /etc/hosts
127.0.0.1 localhost.hansenx6.com localhost
154.20.107.200 mail.hansenx6.com
# 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
| No firewall installed nor selinux as far as i'm aware. Quote:
host `hostname`
Host mail.hansenx6.com not found: 3(NXDOMAIN)
| | 
11-25-2008, 10:09 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,641
| | You hosts file is still incorrect, type it exactly as you see it in the Quick Start guide and do NOT add your hostname on the 127.0.0.1 line.
__________________
Regards
Bill
| 
11-25-2008, 10:12 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,641
| | Quote:
Originally Posted by mbossmanh No firewall installed nor selinux as far as i'm aware. | Can you check and see if iptables is enabled on your system.
__________________
Regards
Bill
| 
11-25-2008, 10:19 AM
| | Special Member | |
Posts: 115
| | ? for Phoenix I've spent all morning reading about Ubuntu 8.04 and strange "localhost" DNS errors caused by MDNS -
See: ATTN: Ubuntu 8.04 Users
This may be why some 8.04 users are having to modify their hosts file in funky ways to get proper resolution. can someone at Zimbra check this possible solution and let us know 
__________________ Work 7.0.1 UBUNTU8_64 UBUNTU8_64 NETWORK Home 7.0.1 UBUNTU8_64 UBUNTU8_64 FOSS | 
11-25-2008, 11:37 AM
| | | I changed the host file Quote:
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
154.20.107.200 mail.hansenx6.com
# 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
| I then ran the host `hostname` Quote:
michael@mail:/etc$ host `hostname`
mail.hansenx6.com has address 154.20.107.200
| I rebooted and tested - still no email. | 
11-25-2008, 11:47 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,641
| | One thing you can try is a modification to the nsswitch.conf file. Check this post from dwill and see what the format of the 'hosts' line is in that file. See if it looks like this: Code: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 if it does then modify it to the following: Code: hosts: files dns mdns and see if that helps. You'll also be doing a test for dwill by doing that.
If that isn't the answer or doesn't work the please do the following on the Zimbra server: Code: host `hostname` <-- backticks not single quotes
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com mx
dig yourdomain.com any and post the output here.
__________________
Regards
Bill
| 
11-25-2008, 12:01 PM
| | Zimbra Consultant & Moderator | |
Posts: 19,641
| | I forgot to mention in my last post that your hosts file is still incorrect, you need to modify the following line: Code: 154.20.107.200 mail.hansenx6.com to this Code: 154.20.107.200 mail.hansenx6.com mail as per the documentation.
__________________
Regards
Bill
| 
11-25-2008, 12:29 PM
| | | I'm stupid ... i changed the host as per your reply. Quote:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: dns files
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
~
~
~
~
| Quote:
michael@mail:~$ host `hostname`
mail.hansenx6.com has address 154.20.107.200
| Quote:
michael@mail:~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
154.20.107.200 mail.hansenx6.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
| Quote:
michael@mail:~$ cat /etc/resolv.conf
search hansenx6.com
nameserver 75.154.133.68
nameserver 75.154.133.100
| Quote:
michael@mail:~$ dig hansenx6.com mx
; <<>> DiG 9.4.2-P2 <<>> hansenx6.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 452
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;hansenx6.com. IN MX
;; ANSWER SECTION:
hansenx6.com. 29882 IN MX 10 mail.hansenx6.com.
;; AUTHORITY SECTION:
hansenx6.com. 31092 IN NS mail.hansenx6.com.
;; ADDITIONAL SECTION:
mail.hansenx6.com. 31092 IN A 154.20.107.200
;; Query time: 9 msec
;; SERVER: 75.154.133.68#53(75.154.133.68)
;; WHEN: Tue Nov 25 11:27:25 2008
;; MSG SIZE rcvd: 81
| Quote:
michael@mail:~$ dig hansenx6.com any
; <<>> DiG 9.4.2-P2 <<>> hansenx6.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9686
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;hansenx6.com. IN ANY
;; ANSWER SECTION:
hansenx6.com. 28538 IN MX 10 mail.hansenx6.com.
hansenx6.com. 34726 IN NS mail.hansenx6.com.
;; AUTHORITY SECTION:
hansenx6.com. 34726 IN NS mail.hansenx6.com.
;; ADDITIONAL SECTION:
mail.hansenx6.com. 34726 IN A 154.20.107.200
;; Query time: 8 msec
;; SERVER: 75.154.133.68#53(75.154.133.68)
;; WHEN: Tue Nov 25 11:27:59 2008
;; MSG SIZE rcvd: 95
| Thanks
Mike | | 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.  |