Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Internal Mail Delivery

  1. #1
    Daskin is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    6

    Default Internal Mail Delivery

    Hi all,

    I have what is most likely a simple problem but cannot find any solutions via the search.

    I have installed Zimbra and had it working internally on a network once but have tried to install it again on a different server and am running into the same problem repeatedly.

    When trying to email an account e.g. admin@localhost it tells me the the email address cannot be found, so i try to send it to admin@localhost...uk. This appears to work but the email never appears in an inbox or in the queuing system on the admin panel on Zimbra.

    Any help appreciated.
    Thanks.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Please update your forum profile with the output of the following command (please don't post it in the thread):

    Code:
    zmcontrol -v
    You most likely have a DNS or hosts file problem, post the output of the following commands (run on the Zimbra server):

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com mx
    dig yourdomain.com any
    host `hostname` <-- use that exact command with backticks not single quotes
    What errors do you see in the log files?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Daskin is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    6

    Default

    Thanks for the reply. Hopefully this is the stuff you asked for.

    Code:
    root@Zimbra:/usr/src/zcs# cat /etc/hosts
    127.0.0.1       localhost
    127.0.1.1       Zimbra.valley.notts.sch.uk
    
    # 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
    root@Zimbra:/usr/src/zcs# cat /etc/resolv.conf
    nameserver 10.60.100.11
    nameserver 10.60.100.12
    root@Zimbra:/usr/src/zcs# dig valley.notts.sch.uk mx
    
    ; <<>> DiG 9.4.2-P2 <<>> valley.notts.sch.uk mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3333
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;valley.notts.sch.uk.           IN      MX
    
    ;; ANSWER SECTION:
    valley.notts.sch.uk.    3600    IN      MX      100 mx2.embc.org.uk.
    valley.notts.sch.uk.    3600    IN      MX      10 mx1.embc.org.uk.
    
    ;; Query time: 29 msec
    ;; SERVER: 10.60.100.11#53(10.60.100.11)
    ;; WHEN: Wed Jul 15 14:25:20 2009
    ;; MSG SIZE  rcvd: 86
    
    root@Zimbra:/usr/src/zcs# dig valley.notts.sch.uk any
    
    ; <<>> DiG 9.4.2-P2 <<>> valley.notts.sch.uk any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54497
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;valley.notts.sch.uk.           IN      ANY
    
    ;; ANSWER SECTION:
    valley.notts.sch.uk.    600     IN      A       10.60.100.11
    valley.notts.sch.uk.    600     IN      A       10.60.100.12
    valley.notts.sch.uk.    3600    IN      NS      valleydc02.valley.notts.sch.uk.
    valley.notts.sch.uk.    3600    IN      NS      vcdc01.valley.notts.sch.uk.
    valley.notts.sch.uk.    3600    IN      NS      valleydc01.valley.notts.sch.uk.
    valley.notts.sch.uk.    3600    IN      SOA     valleydc01.valley.notts.sch.uk. hostmaster. 84428 900 600 86400 3600
    valley.notts.sch.uk.    3600    IN      MX      10 mx1.embc.org.uk.
    valley.notts.sch.uk.    3600    IN      MX      100 mx2.embc.org.uk.
    
    ;; ADDITIONAL SECTION:
    valleydc02.valley.notts.sch.uk. 3600 IN A       10.60.100.12
    valleydc01.valley.notts.sch.uk. 3600 IN A       10.60.100.11
    
    ;; Query time: 0 msec
    ;; SERVER: 10.60.100.11#53(10.60.100.11)
    ;; WHEN: Wed Jul 15 14:25:29 2009
    ;; MSG SIZE  rcvd: 267
    
    root@Zimbra:/usr/src/zcs# host `hostname`
    Zimbra.valley.notts.sch.uk has address 10.60.100.241

    I'm not sure which logs to be looking in as the ones I have done do not seem to show anything out of the normal.

  4. #4
    veronica is offline Outstanding Member
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    >admin@localhost it tells me the the email address cannot be found

    Why do you send to localhost ? You must be having domain you created during installation ? zmprov gad ?

  5. #5
    Daskin is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    6

    Default

    Any accounts that i send mail to, if it is @locahost or @test that i create i still have the same results, the mail never appears in an inbox.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Your hosts file is incorrect, it should look like this:

    Code:
    127.0.0.1       localhost.localdomain localhost
    10.x.x.x       zimbra.valley.notts.sch.uk zimbra
    You should use a valid LAN IP in the second line not localhost.

    Your resolv.conf should only contain one DNS server unless they both contain exactly the same DNS records for the mail server (but one would be sufficient).

    You have no A record pointing to the maiil server, it should be like this:

    Code:
    zimbra.valley.notts.sch.uk. 3600 IN A       10.x.x.x
    Obviously with a valid LAN IP.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    Default

    I may be asking the blindingly obvious here, but what are you doing trying to send messages to admin@localhost, and from where?

    localhost, as you undoubtedly know, points to 127.0.0.1 (the loopback address) on any properly configured machine. So unless you're trying to send mail to an account FROM the Zimbra box itself, localhost would be a different place for every machine. . .

    Perhaps it would help us help you if we know what you're actually trying to accomplish. . .
    Cheers,

    Dan

  8. #8
    Daskin is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    6

    Default

    Sorry ill try to explain again.
    I am trying to set zimbra up to work internally on a network only. I have done this once but when trying to install it again on a different server I keep getting the same problem.

    I was using @localhost as an example. If i create a new domain in the admin panel called '@example' and i try to send mail to this account I can only do it by sending the mail to '@emaple.zimbra.valley.notts.sch.uk', the web client confirms that the message has been sent but will never appear in an inbox.

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

    Default

    You need to make the changes I've given you in the earlier post for Zimbra to work correctly, you must have a valid hosts file and DNS A & MX records.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Quote Originally Posted by Daskin View Post
    I was using @localhost as an example. If i create a new domain in the admin panel called '@example' and i try to send mail to this account I can only do it by sending the mail to '@emaple.zimbra.valley.notts.sch.uk', the web client confirms that the message has been sent but will never appear in an inbox.
    That's because you didn't change the domain name when you were asked during the initial install, if you don't set the correct domain name the it defaults to the FQDN of your server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. smtp auth failing 'auth_zimbra: not initialized'
    By kkg039 in forum Administrators
    Replies: 7
    Last Post: 09-05-2013, 11:10 AM
  2. DMZ relay to Zimbra internal host
    By swordfish in forum Installation
    Replies: 12
    Last Post: 02-04-2009, 11:30 AM
  3. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  4. Replies: 2
    Last Post: 02-12-2008, 11:55 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
  •