Results 1 to 9 of 9

Thread: [SOLVED] Use Zimbra with external pop3

  1. #1
    walkon is offline Junior Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    5

    Default [SOLVED] Use Zimbra with external pop3

    Hi.
    Scenario:
    I have a domain yyy.zz hosted by ISP. This hosting give me all service included mail with domain mail.yyy.zz
    I have installed Zimbra in local network and i wish to use my zimbra server for internal ed external mail. After reading millions of posts I'm stopped . Can you help me give a schema of configuration?
    I have ricreated my domain name on local using splitdns but if I do nslookup on domain yyy.zz nothing....

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

    Default

    You will find details in the wiki article for Split DNS that covers what you need to do. To confirm your configuration post the output of the following commands (run on the zimbra server):

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com any
    dig yourdomain.com mx
    host `hostname`  <-- use that exact command with backticks not single quotes
    BTW, which operating system are you using.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    walkon is offline Junior Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    5

    Default

    Thank for reply


    Code:
    cat /etc/hosts
    
    127.0.0.1	localhost
    192.168.0.77 	servposta.xxxx.yy	servposta
    
    # 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:
    cat /etc/resolv.conf
    
    search xxxxx.yy
    nameserver 192.168.0.77
    nameserver 151.99.125.1
    Code:
    dig xxxxxx.yy any
    
    ; <<>> DiG 9.4.2-P2 <<>> xxxxxx.yy any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62951
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 2, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;xxxxxx.yy.			IN	ANY
    
    ;; ANSWER SECTION:
    xxxxxx.yy.		1800	IN	A	68.71.33.34
    xxxxxx.yy.		1800	IN	PTR	68.71.33.34/24.xxxxxx.yy.
    xxxxxx.yy.		1800	IN	MX	10 mail.xxxxxx.yy.
    xxxxxx.yy.		86400	IN	SOA	ns1.maxsosonline.com. support.maxsos.com. 2006010110 84600 7200 604800 86400
    xxxxxx.yy.		86400	IN	NS	ns1.maxsosonline.com.
    xxxxxx.yy.		86400	IN	NS	ns2.maxsosonline.com.
    
    ;; AUTHORITY SECTION:
    xxxxxx.yy.		86400	IN	NS	ns2.maxsosonline.com.
    xxxxxx.yy.		86400	IN	NS	ns1.maxsosonline.com.
    
    ;; ADDITIONAL SECTION:
    mail.xxxxxx.yy.		1800	IN	A	68.71.33.34
    ns1.maxsosonline.com.	171181	IN	A	208.94.148.2
    ns2.maxsosonline.com.	171181	IN	A	208.80.124.2
    
    ;; Query time: 2689 msec
    ;; SERVER: 192.168.0.77#53(192.168.0.77)
    ;; WHEN: Wed Sep 16 10:41:50 2009
    ;; MSG SIZE  rcvd: 272
    Code:
    dig xxxxxx.yy mx
    
    ; <<>> DiG 9.4.2-P2 <<>> xxxxxx.yy mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8726
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;xxxxxx.yy.			IN	MX
    
    ;; ANSWER SECTION:
    xxxxxx.yy.		1763	IN	MX	10 mail.xxxxxx.yy.
    
    ;; AUTHORITY SECTION:
    xxxxxx.yy.		86363	IN	NS	ns2.maxsosonline.com.
    xxxxxx.yy.		86363	IN	NS	ns1.maxsosonline.com.
    
    ;; ADDITIONAL SECTION:
    mail.xxxxxx.yy.		1763	IN	A	68.71.33.34
    ns1.maxsosonline.com.	171144	IN	A	208.94.148.2
    ns2.maxsosonline.com.	171144	IN	A	208.80.124.2
    
    ;; Query time: 0 msec
    ;; SERVER: 192.168.0.77#53(192.168.0.77)
    ;; WHEN: Wed Sep 16 10:42:27 2009
    ;; MSG SIZE  rcvd: 148
    Code:
    host `hostname` 
    Host servposta not found: 3(NXDOMAIN)
    Code:
    named.conf
    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the 
    // structure of BIND configuration files in Debian, *BEFORE* you customize 
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local
    
    include "/etc/bind/named.conf.options";
    
    // prime the server with knowledge of the root servers
    zone "." {
    	type hint;
    	file "/etc/bind/db.root";
    };
    
    // be authoritative for the localhost forward and reverse zones, and for
    // broadcast zones as per RFC 1912
    
    zone "localhost" {
    	type master;
    	file "/etc/bind/db.local";
    };
    
    zone "127.in-addr.arpa" {
    	type master;
    	file "/etc/bind/db.127";
    };
    
    zone "0.in-addr.arpa" {
    	type master;
    	file "/etc/bind/db.0";
    };
    
    zone "255.in-addr.arpa" {
    	type master;
    	file "/etc/bind/db.255";
    };
    
    include "/etc/bind/named.conf.local";
    
    named.conf.options
    options {
    	directory "/var/cache/bind";
    
    	// If there is a firewall between you and nameservers you want
    	// to talk to, you might need to uncomment the query-source
    	// directive below.  Previous versions of BIND always asked
    	// questions using port 53, but BIND 8.1 and later use an unprivileged
    	// port by default.
    
    	// query-source address * port 53;
    
    	// If your ISP provided one or more IP addresses for stable 
    	// nameservers, you probably want to use them as forwarders.  
    	// Uncomment the following block, and insert the addresses replacing 
    	// the all-0's placeholder.
    
    forwarders {
     	151.99.125.1;
     };
    
    //	auth-nxdomain no;    # conform to RFC1035
    //	listen-on-v6 { any; };
    };
    
    include "/etc/bind/rndc.key"; 
    
    zone "servposta.xxxxxx.yy" {
         type master;
         file "db.servposta.xxxxxx.yy";
    };
    Code:
    db.servposta.xxxxxx.yy
    ;
    ;
    @             IN          SOA       servposta.xxxxxx.yy. admin.servposta.xxxxxx.yy. (
                                                  10118      ; Serial
                                                  43200      ; Refresh
                                                  3600       ; Retry
                                                  3600000    ; Expire
                                                  2592000 )  ; Minimum
    ;
                  IN          NS        192.168.0.77
                  IN          A         192.168.0.77
                  IN          MX        10 servposta.xxxxxx.yy.

    all running on Ubuntu server 8.04 lts.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    The first thing is your hosts file is incorrect, it should look like this:

    Code:
    127.0.0.1	localhost.localdomain localhost
    192.168.0.77 	servposta.xxxx.yy	servposta
    The DNS A record should point to your LAN IP address not your external IP address, fix those problems and see what happens.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    walkon is offline Junior Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    The first thing is your hosts file is incorrect, it should look like this:

    Code:
    127.0.0.1	localhost.localdomain localhost
    192.168.0.77 	servposta.xxxx.yy	servposta
    The DNS A record should point to your LAN IP address not your external IP address, fix those problems and see what happens.
    In resolv.conf file?

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

    Default

    Quote Originally Posted by walkon View Post
    In resolv.conf file?
    You do only need the one IP in your resolv and that should be your internal DNS server. I was, however, talking about the fact your dig commands did not return the correct information, they would appear to point to your public IP rather than your LAN IP.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    walkon is offline Junior Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    You do only need the one IP in your resolv and that should be your internal DNS server. I was, however, talking about the fact your dig commands did not return the correct information, they would appear to point to your public IP rather than your LAN IP.
    I have changed my hosts file and resolv.conf file as :

    127.0.0.1 localhost.localdomain localhost
    192.168.0.77 servposta.xxxxxx.yy servposta

    # 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

    -----------
    search xxxxxx.yy
    nameserver 192.168.0.77

    and the result is


    ; <<>> DiG 9.4.2-P2 <<>> xxxxxx.yy any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29754
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;xxxxxx.yy. IN ANY

    ;; ANSWER SECTION:
    xxxxxx.yy. 1533 IN A 68.71.33.34
    xxxxxx.yy 1533 IN MX 10 mail.xxxxxx.yy.

    ;; AUTHORITY SECTION:
    . 508989 IN NS F.ROOT-SERVERS.NET.
    . 508989 IN NS K.ROOT-SERVERS.NET.
    . 508989 IN NS I.ROOT-SERVERS.NET.
    . 508989 IN NS E.ROOT-SERVERS.NET.
    . 508989 IN NS G.ROOT-SERVERS.NET.
    . 508989 IN NS H.ROOT-SERVERS.NET.
    . 508989 IN NS B.ROOT-SERVERS.NET.
    . 508989 IN NS M.ROOT-SERVERS.NET.
    . 508989 IN NS D.ROOT-SERVERS.NET.
    . 508989 IN NS C.ROOT-SERVERS.NET.
    . 508989 IN NS A.ROOT-SERVERS.NET.
    . 508989 IN NS J.ROOT-SERVERS.NET.
    . 508989 IN NS L.ROOT-SERVERS.NET.

    ;; Query time: 0 msec
    ;; SERVER: 192.168.0.77#53(192.168.0.77)
    ;; WHEN: Wed Sep 16 11:45:50 2009
    ;; MSG SIZE rcvd: 275

    and this is nslookup servposta.xxxxxx.yy

    Server: 192.168.0.77
    Address: 192.168.0.77#53

    ** server can't find servposta.xxxxxx.yy: NXDOMAIN

  8. #8
    walkon is offline Junior Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    5

    Default

    Hi. Finally I have created my domain in local. The problem was the path of db.kkk.xxxxx.yy. I work in folder /etc/bind and the path was /var/cache/bind . Moving the db...... in folder /var/cache/bind it's ok.
    Now I have a question. The domain in ldap il kkkk.xxxxxx.yy and it is the name of host. When the zimbra installation generate the user it's admin@kkk.xxxxx.yy. Should not be admin@xxxxx.yy?
    Thank for reply.

  9. #9
    walkon is offline Junior Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    5

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. admin consol blank after 5.0.3 upgarde
    By maumar in forum Administrators
    Replies: 6
    Last Post: 03-21-2008, 05:16 AM
  3. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  4. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  5. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 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
  •