Results 1 to 8 of 8

Thread: Cant send mail

  1. #1
    Join Date
    Oct 2005
    Posts
    17
    Rep Power
    10

    Default Cant send mail

    I installed zimbra on a ubuntu 8.04 machine no issues everything went well. After installation I could send mail with no issues. I also when into global settings>Mta and I unchecked Protocols and DNS Check (Below).

    Hostname in greeting violates RFC
    Client must greet with a fully qualified hostname
    Sender address must be fully qualified

    Client's IP address
    Hostname in greeting
    Sender's domain

    Also in severs>Mta enable DNS lookups. I did that from reading a forums it helped someone. That obviously did not help me. So I set them all back, and not I can receive mail. Can someone explain what these are and how to get to the bottom of sending and receiving?

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Ok. So a few basics first
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomainname mx
    dig yourserverfqdn
    host `hostname` <- note backticks and not double quotes
    any error messages in /var/log/zimbra.log ?

  3. #3
    Join Date
    Oct 2005
    Posts
    17
    Rep Power
    10

    Default

    Here is the answer to your questions. The zimbra.log there are no errors that jump out. Seems like its just logging every action.

    ***
    127.0.0.1 localhost.localdomain localhost
    192.168.30.50 mail.berkeleypride.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
    *****
    domain berkeleypride.com
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    *****
    ;; QUESTION SECTION:
    ;berkeleypride.com. IN MX

    ;; ANSWER SECTION:
    berkeleypride.com. 3600 IN MX 0 mail.berkeleypride.com.

    ;; Query time: 84 msec
    ;; SERVER: 208.67.222.222#53(208.67.222.222)
    ;; WHEN: Tue Oct 28 17:27:44 2008
    ;; MSG SIZE rcvd: 56
    ************
    ;; QUESTION SECTION:
    ;mail.berkeleypride.com. IN A

    ;; ANSWER SECTION:
    mail.berkeleypride.com. 3482 IN A 70.62.247.195

    ;; Query time: 25 msec
    ;; SERVER: 208.67.222.222#53(208.67.222.222)
    ;; WHEN: Tue Oct 28 17:29:42 2008
    ;; MSG SIZE rcvd: 56
    *****************
    mail.berkeleypride.com has address 70.62.247.195
    *****************

    Quote Originally Posted by uxbod View Post
    Ok. So a few basics first
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomainname mx
    dig yourserverfqdn
    host `hostname` <- note backticks and not double quotes
    any error messages in /var/log/zimbra.log ?
    Last edited by kwelipatton; 10-28-2008 at 03:35 PM.

  4. #4
    Join Date
    Oct 2005
    Posts
    17
    Rep Power
    10

    Default

    Anyone? I cant figure it out?

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

    Default

    Quote Originally Posted by kwelipatton View Post
    Anyone? I cant figure it out?
    According to the information you've posted your IP is resolving to your external IP when it should be the LAN IP of your server, you'll need to set-up a Split DNS. As you're using Ubuntu these instructions might be of more help.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Oct 2005
    Posts
    17
    Rep Power
    10

    Default

    Thank you i kinda figured that out. What puzzles me and why wouldnt most installs be setup this way. Also should dns lookup be on or off?

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

    Default

    Quote Originally Posted by kwelipatton View Post
    Thank you i kinda figured that out. What puzzles me and why wouldnt most installs be setup this way.
    Zimbra (postfix) uses DNS to deliver mail, if you are behind a router then your DNS (DNS server behind the router) should point to the LAN IP of the server so we know where it is. If you have a internet visible server on a public IP then the DNS should resolve to that. When you're behind NAT and do a DNS lookup you'll get the public IP, postfix can't deliver to that as it doesn't know where your server is - unless the router has a feature called 'loopback' (most don't have that feature).

    Quote Originally Posted by kwelipatton View Post
    Also should dns lookup be on or off?
    They should be on if you want to deliver external mail.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Join Date
    Nov 2008
    Posts
    1
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    According to the information you've posted your IP is resolving to your external IP when it should be the LAN IP of your server, you'll need to set-up a Split DNS. As you're using Ubuntu these instructions might be of more help.
    Is there any reason that you recommend a setup as complicated as an entire DNS server over a /etc/hosts file record that points the mail.domain.tld to 127.0.0.1 or the local IP?

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. zmamavisdctl stopped and won't restart
    By alto in forum Installation
    Replies: 2
    Last Post: 04-18-2008, 01:41 AM
  3. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  4. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 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
  •