Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-14-2010, 02:03 AM
Intermediate Member
 
Posts: 21
Default can not open my domains emails

hello everybody!
back again,for a question...here we go....
i installed zcs 6.0.4 on an ubuntu 8.04 server,everything is fine,i can send and receive,but...
i have a main domain name registered (for example maindomain.com) and some other domain names for web pages also registered..
the problem is that even i can use my server,i can not hit mail.mydomain.com from my browser...and also every other mail.domainname.com

it gives me an 503 service unavailable error.....
what is wrong?can't understand! i need to give mail access to my clients like this
"mail.clientdomain.com" (an example is mail.palfh.gr)
i must inform you that about 1 month ago,i set up another installation of zimbra (6.0.3) and it worked fine....and also that i use two virtual machines (one for zimbra-one for web server)
and that i use bind in my web and another in zimbra as this how to says...
Ubuntu 8.04 LTS Server (Hardy Heron) Install Guide - Zimbra :: Wiki

i post my config files if you need it...

my /etc/bind/db.deltacomputers.com

;
; BIND data file for deltacomputers.com
;
$TTL 604800
@ IN SOA mail.deltacomputers.com. admin.deltacomputers.com. (
070725 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.1.20
mail IN A 192.168.1.20


my /etc/hosts
127.0.0.1 localhost
192.168.1.20 deltacomputers.com zeus


my /etc/named.conf.local
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "deltacomputers.com" {
type master;
file "/etc/bind/db.deltacomputers.com";
};


my named.conf.options
// 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 {
94.91.131.168;
};

auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };


my resolv.conf
search deltacomputers.com
nameserver 192.168.1.20
nameserver 192.168.1.1
nameserver 94.91.131.168


(some stuff MODIFIED ....and some unneeded lines removed)

hope this helps....thank you and sorry for this long post....
Reply With Quote
  #2 (permalink)  
Old 01-14-2010, 02:11 AM
Moderator
 
Posts: 7,929
Default

If those details are from your ZCS server then your /etc/hosts is wrong. It should look like
Code:
127.0.0.1 localhost.localdomain localhost
192.168.1.20 zeus.deltacomputers.com zeus
I have made the assumption that the hostname is zeus.
__________________
Reply With Quote
  #3 (permalink)  
Old 01-14-2010, 02:14 AM
Moderator
 
Posts: 7,929
Default

If you wish your clients to use their domain name within the URL for connecting to ZWC then you need to go into the Admin GUI -> Select their domain name -> Virtual Hosts and then add mail.their.domain. They will be able to connect using that FQDN as long as it is resolvable via DNS.
__________________
Reply With Quote
  #4 (permalink)  
Old 01-14-2010, 02:49 AM
Intermediate Member
 
Posts: 21
Default

oh well...except the hostname which as you indicate that is wrong,in my other installations,i did this....i set up my main domain as deltacomputers.com.
This gave my my "mail.deltacomputers.com" and it was ok....
then, i add some domains like example.com and someother.com and i had my
"mail.example.com" and "mail.someother.com" working without creating virtual host in administration...
is there any changes from 6.0.3 to 6.0.4? dont forget that i also run a web server with these domains hosted at me....

in any case,i'll try what you suggest...and i'll be back....thank you!
Reply With Quote
  #5 (permalink)  
Old 01-14-2010, 03:26 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Quote:
Originally Posted by machinakias View Post
my resolv.conf
search deltacomputers.com
nameserver 192.168.1.20
nameserver 192.168.1.1
nameserver 94.91.131.168
You also need to remove from that file the additional DNS servers that don't reside on your Zimbra server, you should only have the one DNS entry in that file.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 01-14-2010, 03:38 AM
Moderator
 
Posts: 7,929
Default

True Phoenix, though the second internal one can stay from a resiliency perspective; as long as its serving the same information
__________________
Reply With Quote
  #7 (permalink)  
Old 01-14-2010, 04:01 AM
Intermediate Member
 
Posts: 21
Default

well folks...i tried to create the virtual domains in each domain name...but still no luck...
dont forget,that i already created the virtual hosts in my web server (in the apache files they exsist these domain names...so i didnt have to create them in my zimbra...)

so,i must only have the search domainname and only my internal zimbra ip in the resolv.conf?
(like this...
search deltacomputers.com
nameserver 192.168.1.20)

i'm so tired trying to remember how i set up the first time my fully working server...
please,give me some advice to help me finish this project...i'm really tired......
thank you for being so helpful....
Reply With Quote
  #8 (permalink)  
Old 01-14-2010, 04:31 AM
Moderator
 
Posts: 7,929
Default

What do you mean about Apache; how does that come info the equation ?
__________________
Reply With Quote
  #9 (permalink)  
Old 01-14-2010, 05:11 AM
Intermediate Member
 
Posts: 21
Default

i have this setup: one virtual machine as web server,which has the virtual domains registered,and another one as mail server...
as i found out,there was no need to add in zimbra the virtual hosts,because i have them in the web server's configuration (in the apache config files.....)
but,the web server still runs,with the known configuration...the mail server crashed and i have to begin from scratch...and i dont remember some configs i made to make it work...
hope this helps..
Reply With Quote
  #10 (permalink)  
Old 01-14-2010, 05:42 AM
Moderator
 
Posts: 7,929
Default

Is the Apache server reverse proxying requests to the Zimbra server ? or do you just mean it is serving their websites using the virtual hosts directive ?
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.