| 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-13-2009, 02:33 PM
| | Intermediate Member | |
Posts: 15
| | [SOLVED] no incoming or outgoing mail I got Zimbra installed (6.0.2 build 1912 network edition, Ubuntu 8.04.3), added some users, able to log into web client as users, able to sync a user's account with their phone, etc. - everything is working well except no incoming or outgoing mail is going through at all. Contacts and calendar syncs with the phone, but no mail. Sending emails between internal users doesn't work either (using full addresses, e.g., anuvatec@example.com). Internal users don't get email/notifications when another internal user adds them to a calendar item.
Telnet'd into mail server (telnet mail.example.com 25) to send a test email but got the following error: Code: rcpt to:apersonalaccount@gmail.com
554 5.7.1 apersonalaccount@gmail.com: Relay access denied Any ideas how to get mail flowing?
TIA | 
11-13-2009, 03:47 PM
| | Intermediate Member | |
Posts: 15
| | So further troubleshooting uncovers that the relay error occurs when I'm telneting from a remote machine, basically indicating remote networks are not allowed to send mail via my server (which is good). I can send mail successfully when I'm telneting from on the mail server and the mail is received on the other end.
So I can send mail from that box but it appears Zimbra is just not handling the incoming and outgoing mail. How can I verify and make Zimbra get on the ball? | 
11-13-2009, 03:59 PM
| | | So you are saying that internal users can't send mail to each other?!?
Try looking in /var/log/zimbra.log for some errors related to this is all I can suggest... | 
11-14-2009, 01:30 PM
| | Intermediate Member | |
Posts: 15
| | so even further troubleshooting reveals that mail is going out to external users/mailboxes just fine (they are going to their spam/junk folder unfortunately). still nothing is coming in to internal users/mailboxes. so this is what I found in /var/log/mail.log (mail from internal users to internal users): Code: Nov 14 11:44:21 mail postfix/lmtp[25482]: connect to mail.example.com[1.2.3.4]:7025: Connection timed out
Nov 14 11:44:21 mail postfix/lmtp[25482]: F374D21407E: to=jamie@example.com, relay=none, delay=81359, delays=81170/0.15/189/0, dsn=4.4.1, status=deferred (connect to mail.example.com[1.2.3.4]:7025: Connection timed out)
Nov 14 11:44:21 mail postfix/lmtp[25482]: F374D21407E: to=marcus@example.com, relay=none, delay=81359, delays=81170/0.15/189/0, dsn=4.4.1, status=deferred (connect to mail.example.com[1.2.3.4]:7025: Connection timed out) and this is what I found in /var/log/mail.log (incoming mail from external users): Code: Nov 14 10:41:12 mail postfix/qmgr[12877]: A4F4E214078: from=apersonalmailbox@gmail.com, size=3096, nrcpt=1 (queue active) any ideas? | 
11-14-2009, 01:56 PM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | Is this a new installation or an upgrade? Has this problem just started happening? Is the server on a LAN IP address & you have an internal DNS server that has valid A & MX records for your Zimbra server? Do you have any firewall or AppArmor active? If you do and you're on a LAN then disable them both. What happens if you shutdown Zimbra & then restart it, what do you see in the log files?
__________________
Regards
Bill
| 
11-14-2009, 09:35 PM
| | Intermediate Member | |
Posts: 15
| | - new installation, hasn't happen before as its my first time with this whole thing
- yes it has a LAN IP, but I don't have an internal DNS server (do I need one if my DNS server for this domain is external?)
- router has firewall, I don't know what AppArmor is
- all services boot up just fine upon startup | 
11-15-2009, 12:41 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | Yes, you need a Split DNS if you're behind a NAT router (or firewall) and on a LAN IP, check this guide for setting up a DNS server on Ubuntu. You will also need a valid hosts file, you should also check the details in the article in the link above. AppArmor is a security framework on Ubuntu, you should disable as per these instructions: https://help.ubuntu.com/community/Ap...or%20framework
__________________
Regards
Bill
| 
11-17-2009, 05:09 PM
| | Intermediate Member | |
Posts: 15
| | So I started from scratch and followed the guide you provided and got the following error when issuing nslookup example.com: Code: Server: 192.168.0.10
Address: 192.168.0.10#53
** server can't find example.com: SERVFAIL Any ideas? | 
11-18-2009, 12:21 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | Quote:
Originally Posted by anuvatec So I started from scratch and followed the guide you provided and got the following error when issuing nslookup example.com: Code: Server: 192.168.0.10
Address: 192.168.0.10#53
** server can't find example.com: SERVFAIL Any ideas? | That would imply that you've not created the correct records and/or domain. Post the output of the following command (run on the Zimbra server): Code: cat /etc/hosts
cat /etc/resolv
dig yourdomain.com mx
dig yourdomain.com any
host `hostname` <-- type that exact command with backticks not single quotes You should also search the forums for further information on this problem, and try some of the solutions, as this question has been answered many times Let me know what you've tried next time you post.answered many times.
__________________
Regards
Bill
Last edited by phoenix; 11-18-2009 at 01:44 AM..
| 
11-18-2009, 01:35 AM
| | Intermediate Member | |
Posts: 15
| | Code: anuvatec@mail:~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.10 mail.example.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 Code: anuvatec@mail:~$ cat /etc/resolv.conf
nameserver 192.168.0.10 Code: anuvatec@mail:~$ dig example.com mx
; <<>> DiG 9.4.2-P2 <<>> example.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 28694
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;example.com. IN MX
;; Query time: 2 msec
;; SERVER: 192.168.0.10#53(192.168.0.10)
;; WHEN: Wed Nov 18 00:31:32 2009
;; MSG SIZE rcvd: 35 Code: anuvatec@mail:~$ dig example.com any
; <<>> DiG 9.4.2-P2 <<>> example.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 56298
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;example.com. IN ANY
;; Query time: 19 msec
;; SERVER: 192.168.0.10#53(192.168.0.10)
;; WHEN: Wed Nov 18 00:33:01 2009
;; MSG SIZE rcvd: 35 Code: anuvatec@mail:~$ host `hostname`
Host mail not found: 3(NXDOMAIN) | | 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.  |