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 03-03-2011, 10:45 PM
Active Member
 
Posts: 35
Default @mail.domainname.com issue

This is my second attempt at installing Zimbra 7.0 RHEL on CentOS 5.5 ... I am using a new domain name I have just registered where I have better access and results with DNS management opposed to the previous domain name I have been attempting to use with Zimbra.

Everything seems to be working ok with the install. I am using the domain name: scriptschools.com and I can access the admin control panel at the URL: https://mail.scriptschools.com:7071/

However, all of my admin email account is set as: admin@mail.scriptschools.com and when I go to create a new email address I it gives me the following domain: @mail.scriptschools.com when my email address domain should be of course: @scriptschools.com

I am following the Zimbra wiki Split DNS article and I am experiencing mixed results. Any suggestions would be welcomed.

The following is the content of my named.conf (/var/named/chroot/etc/named.conf)

file:

Code:
options {
       directory "/var/named";
       dump-file "/var/named/data/cache_dump.db";
       statistics-file "/var/named/data/named_stats.txt";
forwarders { 184.107.148.154 ; };
};
include "/etc/rndc.key";
// We are the master server for mail.scriptschools.com
zone "mail.scriptschools.com" {
    type master;
    file "db.mail.scriptschools.com";
};
Ok... here are the results of the Verify section of the Wiki Split DNS Article:

dig scriptschools.com mx

Code:
 

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> scriptschools.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49290
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;scriptschools.com.             IN      MX

;; ANSWER SECTION:
scriptschools.com.      3600    IN      MX      10 mail.scriptschools.com.

;; AUTHORITY SECTION:
scriptschools.com.      3600    IN      NS      ns69.domaincontrol.com.
scriptschools.com.      3600    IN      NS      ns70.domaincontrol.com.

;; ADDITIONAL SECTION:
mail.scriptschools.com. 2592000 IN      A       184.107.148.154

;; Query time: 15 msec
;; SERVER: 184.107.148.154#53(184.107.148.154)
;; WHEN: Fri Mar  4 02:23:49 2011
;; MSG SIZE  rcvd: 124
dig scriptschools.com any
Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> scriptschools.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3358
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;scriptschools.com.             IN      ANY

;; ANSWER SECTION:
scriptschools.com.      3452    IN      MX      10 mail.scriptschools.com.
scriptschools.com.      3452    IN      NS      ns69.domaincontrol.com.
scriptschools.com.      3452    IN      NS      ns70.domaincontrol.com.

;; AUTHORITY SECTION:
scriptschools.com.      3452    IN      NS      ns70.domaincontrol.com.
scriptschools.com.      3452    IN      NS      ns69.domaincontrol.com.

;; ADDITIONAL SECTION:
mail.scriptschools.com. 2592000 IN      A       184.107.148.154

;; Query time: 0 msec
;; SERVER: 184.107.148.154#53(184.107.148.154)
;; WHEN: Fri Mar  4 02:26:17 2011
;; MSG SIZE  rcvd: 152
host $(hostname)

Code:
mail.scriptschools.com has address 184.107.148.154
mail.scriptschools.com mail is handled by 10 mail.scriptschools.com.
cat /etc/resolv.conf
Code:
search scriptschools.com
nameserver 184.107.148.154
cat /etc/hosts
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1  localhost.localdomain localhost
184.107.148.154 mail.scriptschools.com mail

Last edited by arkitektron; 03-03-2011 at 11:28 PM.. Reason: I wanted to add the content of my name.conf file
Reply With Quote
  #2 (permalink)  
Old 03-03-2011, 11:14 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by arkitektron View Post
However, all of my admin email account is set as: admin@mail.scriptschools.com and when I go to create a new email address I it gives me the following domain: @mail.scriptschools.com when my email address domain should be of course: @scriptschools.com
This question has been answered many times in the forums. Near the end of the install you were asked if you wanted to change the domain name, you should have read the message then answered 'Yes'. At that point you should have changed the domain name to "scriptschools.com" otherwise you will get the FQDN of the server as your domain name just as the message states. You can either remove the current install and do it again correctly or you can rename the domain.

Quote:
Originally Posted by arkitektron View Post
I am following the Zimbra wiki Split DNS article and I am experiencing mixed results. Any suggestions would be welcomed.
Just telling us "mixed results" doesn't actually tell us what's wrong. Go to the 'Verify...' section of the Split DNS article and post the output of all the commands in that section.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 03-03-2011, 11:30 PM
Active Member
 
Posts: 35
Default

Ok... I have edited my original post and have posted all of the commands in the 'Verify...' section of the Split DNS article above in my original post. Please let me know if I need to change anything there.
Reply With Quote
  #4 (permalink)  
Old 03-03-2011, 11:39 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by arkitektron View Post
Ok... I have edited my original post and have posted all of the commands in the 'Verify...' section of the Split DNS article above in my original post. Please let me know if I need to change anything there.
The output form them seems fine so what are these 'mixed results' that you're getting?
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 03-04-2011, 12:13 AM
Active Member
 
Posts: 35
Default

Ok, the web client seems to be working fine... I have sent and received a few emails and that looks good.

However, when I try to add an account for the domain in Zimbra Desktop I get the following error:

Cannot connect to "https://mail.scriptschools.com/service/soap/". Please check host/port and network connectivity.
Reply With Quote
  #6 (permalink)  
Old 03-04-2011, 12:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by arkitektron View Post
Ok, the web client seems to be working fine... I have sent and received a few emails and that looks good.

However, when I try to add an account for the domain in Zimbra Desktop I get the following error:

Cannot connect to "https://mail.scriptschools.com/service/soap/". Please check host/port and network connectivity.
Is this from a LAN or an external machine? The server is on a public IP address, correct? Does the server have a firewall and/or SElinux enabled? Do you actualluy have https enabled on the server?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 03-04-2011, 12:44 AM
Active Member
 
Posts: 35
Default

Quote:
Originally Posted by phoenix View Post
Is this from a LAN or an external machine? The server is on a public IP address, correct? Does the server have a firewall and/or SElinux enabled? Do you actualluy have https enabled on the server?
This is an external machine on a public IP address. Here is info on firewall and SElinux

Code:
[root@mail ~]# selinuxenabled &
[1] 3510
and iptables

Code:
[root@mail ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Reply With Quote
  #8 (permalink)  
Old 03-04-2011, 05:21 AM
Elite Member
 
Posts: 469
Default

Quote:
Originally Posted by phoenix View Post
This question has been answered many times in the forums. Near the end of the install you were asked if you wanted to change the domain name, you should have read the message then answered 'Yes'. At that point you should have changed the domain name to "scriptschools.com" otherwise you will get the FQDN of the server as your domain name just as the message states. You can either remove the current install and do it again correctly or you can rename the domain.
I am just in the process of trialing a migration to ZCS 7. I just ran the 7.0.0 install in CentOS 5.5 this morning.

At no time during the install was I asked to change the domain name. Can you please elaborate on where this selection should be made - as I too have an install that is user@zimbra7.company.ie now - instead of user@company.ie

Here is the scrollback of the end of the install process. Apologies for the big copy/paste but I think the answer would be helpful to many people. While it doesn't document the complete install, it shows all questions that were asked after which services to install - and OK to Modify system ?

Can you please point out exactly where the change needs to be made to stop zimbra using the server as the domain name.

Thanks in advance.

Code:
        +Version update source email:          admin@zimbra7.company.ie

   4) zimbra-mta:                              Enabled
   5) zimbra-snmp:                             Enabled
   6) zimbra-logger:                           Enabled
   7) zimbra-spell:                            Enabled
   8) Default Class of Service Configuration:
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

Address unconfigured (**) items  (? - help) 3


Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@zimbra7.company.ie
** 4) Admin Password                           UNSET
   5) Anti-virus quarantine user:              virus-quarantine.zgktlktk@zimbra7.company.ie
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.avebfwigyk@zimbra7.company.ie
   8) Non-spam(Ham) training user:             ham.z9ki3ncvaa@zimbra7.company.ie
   9) SMTP host:                               zimbra7.company.ie
  10) Web server HTTP port:                    80
  11) Web server HTTPS port:                   443
  12) Web server mode:                         http
  13) IMAP server port:                        143
  14) IMAP server SSL port:                    993
  15) POP server port:                         110
  16) POP server SSL port:                     995
  17) Use spell check server:                  yes
  18) Spell server URL:                        http://zimbra7.company.ie:7780/aspell.php
  19) Configure for use with mail proxy:       FALSE
  20) Configure for use with web proxy:        FALSE
  21) Enable version update checks:            TRUE
  22) Enable version update notifications:     TRUE
  23) Version update notification email:       admin@zimbra7.company.ie
  24) Version update source email:             admin@zimbra7.company.ie

Select, or 'r' for previous menu [r] 4

Password for admin@zimbra7.company.ie (min 6 characters): [HBrpM1ZN8c] password

Store configuration

   1) Status:                                  Enabled
   2) Create Admin User:                       yes
   3) Admin user to create:                    admin@zimbra7.company.ie
   4) Admin Password                           set
   5) Anti-virus quarantine user:              virus-quarantine.zgktlktk@zimbra7.company.ie
   6) Enable automated spam training:          yes
   7) Spam training user:                      spam.avebfwigyk@zimbra7.company.ie
   8) Non-spam(Ham) training user:             ham.z9ki3ncvaa@zimbra7.company.ie
   9) SMTP host:                               zimbra7.company.ie
  10) Web server HTTP port:                    80
  11) Web server HTTPS port:                   443
  12) Web server mode:                         http
  13) IMAP server port:                        143
  14) IMAP server SSL port:                    993
  15) POP server port:                         110
  16) POP server SSL port:                     995
  17) Use spell check server:                  yes
  18) Spell server URL:                        http://zimbra7.company.ie:7780/aspell.php
  19) Configure for use with mail proxy:       FALSE
  20) Configure for use with web proxy:        FALSE
  21) Enable version update checks:            TRUE
  22) Enable version update notifications:     TRUE
  23) Version update notification email:       admin@zimbra7.company.ie
  24) Version update source email:             admin@zimbra7.company.ie

Select, or 'r' for previous menu [r] r

Main menu

   1) Common Configuration:
   2) zimbra-ldap:                             Enabled
   3) zimbra-store:                            Enabled
   4) zimbra-mta:                              Enabled
   5) zimbra-snmp:                             Enabled
   6) zimbra-logger:                           Enabled
   7) zimbra-spell:                            Enabled
   8) Default Class of Service Configuration:
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.32478]
Saving config in /opt/zimbra/config.32478...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.03042011-115952.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing mailboxd SSL certificates...done.
Initializing ldap...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for zimbra7.company.ie...done.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting spell check URL...done.
Setting service ports on zimbra7.company.ie...done.
Adding zimbra7.company.ie to zimbraMailHostPool in default COS...done.
Installing webclient skins...
        beach...done.
        tree...done.
        carbon...done.
        steel...done.
        waves...done.
        lemongrass...done.
        lake...done.
        smoke...done.
        oasis...done.
        lavender...done.
        sky...done.
        sand...done.
        bare...done.
        bones...done.
        twilight...done.
        pebble...done.
        hotrod...done.
Finished installing webclient skins.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=TRUE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
Initializing mta config...done.
Setting services on zimbra7.company.ie...done.
Creating domain zimbra7.company.ie...done.
Setting default domain name...done.
Creating domain zimbra7.company.ie...already exists.
Creating admin account admin@zimbra7.company.ie...done.
Creating root alias...done.
Creating postmaster alias...done.
Creating user spam.avebfwigyk@zimbra7.company.ie...done.
Creating user ham.z9ki3ncvaa@zimbra7.company.ie...done.
Creating user virus-quarantine.zgktlktk@zimbra7.company.ie...done.
Setting spam training and Anti-virus quarantine accounts...done.
Initializing store sql database...done.
Setting zimbraSmtpHostname for zimbra7.company.ie...done.
Configuring SNMP...done.
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
Setting up syslog.conf...done.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
        The VERSION of zcs installed (7.0.0_GA_3077_CentOS5)
        The ADMIN EMAIL ADDRESS created (admin@zimbra7.company.ie)

Notify Zimbra of your installation? [Yes] n
Notification skipped
Starting servers...done.
Installing common zimlets...
        com_zimbra_email...done.
        com_zimbra_cert_manager...done.
        com_zimbra_phone...done.
        com_zimbra_webex...done.
        com_zimbra_dnd...done.
        com_zimbra_url...done.
        com_zimbra_srchhighlighter...done.
        com_zimbra_adminversioncheck...done.
        com_zimbra_linkedin...done.
        com_zimbra_bulkprovision...done.
        com_zimbra_date...done.
        com_zimbra_attachmail...done.
        com_zimbra_attachcontacts...done.
        com_zimbra_social...done.
Finished installing common zimlets.
Restarting mailboxd...done.
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.03042011-115952.log to /opt/zimbra/log


Configuration complete - press return to exit


[root@zimbra7 zcs-7.0.0_GA_3077.RHEL5.20110127201734]#
Reply With Quote
  #9 (permalink)  
Old 03-04-2011, 06:05 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by arkitektron View Post
This is an external machine on a public IP address. Here is info on firewall and SElinux

Code:
[root@mail ~]# selinuxenabled &
[1] 3510
and iptables

Code:
[root@mail ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
The important question in my previous post was, have you enabled https on your server? My guess is that you haven't and that's why you're getting an error message from ZD.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 03-04-2011, 06:14 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by liverpoolfcfan View Post
At no time during the install was I asked to change the domain name. Can you please elaborate on where this selection should be made - as I too have an install that is user@zimbra7.company.ie now - instead of user@company.ie
That question is always asked the first time you do a clean install of Zimbra (never on an upgrade or reinstall) and it's asked earlier in the installation process. See the Quick Start Installation Guide P16 or this: http://www.zimbra.com/docs/os/latest...0Software.html.

I assume that your DNS records do have "company.ie" as the domain name with valid A & MX records pointing to "zimbra7.company.ie"?
__________________
Regards


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