Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: [SOLVED] no incoming or outgoing mail

  1. #1
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default [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

  2. #2
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    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?

  3. #3
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    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...

  4. #4
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    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?

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    - 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

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    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?

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Quote Originally Posted by anuvatec View Post
    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.
    Last edited by phoenix; 11-18-2009 at 01:44 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    anuvatec is offline Intermediate Member
    Join Date
    Nov 2009
    Posts
    15
    Rep Power
    5

    Default

    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)

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Large volume of spam messages; see the log
    By snake_eyes in forum Administrators
    Replies: 1
    Last Post: 12-31-2008, 06:54 AM
  2. [SOLVED] Zimbra don't work - zmmailboxd
    By dmalherbe in forum Administrators
    Replies: 10
    Last Post: 11-20-2008, 10:05 AM
  3. [SOLVED] mailbox and apache not running
    By rtwick in forum Administrators
    Replies: 4
    Last Post: 11-15-2008, 08:21 AM
  4. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •