Results 1 to 10 of 10

Thread: [SOLVED] Problem when access webmail using ZCS on Centos 5.3

  1. #1
    cappuccino is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    5

    Default [SOLVED] Problem when access webmail using ZCS on Centos 5.3

    Hi all,
    I dont know if I leave this post on right forum, or not. If not, someone please move to right place, thanks.
    I installed ZCS successful on centos 5.3 64 bit and everything seems to be working well. Services started successful, I can access Zimbra administration page from LAN and internet, I can create account, send and receive email perfectly, but I cannot access webmail from Internet using: _http://mail.mydomain.com or _http://mydomain.com
    netstat -ntl shows httpd is listening on port 80
    I'm using vigorpro 5500 router, already open port 80 and nat to my mail server.
    In LAN, when I type _http://privateipofmailserver, I can connect to webmail, login and do everything I want, but Internet.

    is there any thing related to this problem, or someone please give me some suggestion about it?

    one more question: when I edit httpd.conf in /opt/zimbra/httpd-2-2-xx/ and restart httpd server, I can access this httpd server from internet thru port 8080 (I changed listen port to 8080), but all I get is "It works" (default httpd page). why?

    PS: activation mail from zimbra forum send to my yahoo mail went to spam folder.

  2. #2
    borngunners is offline Advanced Member
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    5

    Default

    you don't need to have to play with the httpd. As a zimbra user, type the following command "zmtlsctl http" only if you want it to use http. You can use the same command with https if you want to access is securedly. Please don't use the quote "" in the command

    Thanks,
    Al

  3. #3
    cappuccino is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    5

    Default

    hello borngunners,
    Thank for your reply, now I know I was wrong on httpd with zimbra, but, when I start http and https:
    Code:
    zmtlsctl http
    Setting tls mode to http
    Updating /opt/zimbra/mailboxd/etc/jetty.xml.in...done.
    Updating /opt/zimbra/jetty/etc/zimbra.web.xml.in...done.
    Updating /opt/zimbra/jetty/etc/zimbraAdmin.web.xml.in...done.
    Updating PROTOCOL MODE in /opt/zimbra/mailboxd/etc/zimbra.web.xml.in...done.
    Rewriting config files for webxml and mailboxd...done.
    Updating /opt/zimbra/cyrus-sasl/etc/saslauthd.conf.in...done.
    Rewriting config files for cyrus-sasl...done.
    Setting ldap config zimbraMailMode http for mail.domain.com...done.
    [zimbra@mail ~]$ zmtlsctl https
    Setting tls mode to https
    Updating /opt/zimbra/mailboxd/etc/jetty.xml.in...done.
    Updating /opt/zimbra/jetty/etc/zimbra.web.xml.in...done.
    Updating /opt/zimbra/jetty/etc/zimbraAdmin.web.xml.in...done.
    Updating PROTOCOL MODE in /opt/zimbra/mailboxd/etc/zimbra.web.xml.in...done.
    Rewriting config files for webxml and mailboxd...done.
    Updating /opt/zimbra/cyrus-sasl/etc/saslauthd.conf.in...done.
    Rewriting config files for cyrus-sasl...done.
    Setting ldap config zimbraMailMode https for mail.domain.com...done.
    I still cannot access webmail from internet, but with _http://privateipofserver, webmail worked well.

    Is this zimbra's problem or just because of my router?
    I use VigorPro 5500.

    Thank you!

  4. #4
    borngunners is offline Advanced Member
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    5

    Default

    Please show me the configurations of your hosts, resolv.conf, named.conf.local, named.conf.options, and your zone configuration via private message

  5. #5
    cappuccino is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    5

    Default

    Hi borngunners,
    I solved that problem :-D
    My router (Vigorpro 5500) is listening on default port 80 for remote management, so if I open port 80, there will be 2 servers listen on 1 port. that is my problem.

    I dont use named? is named needed?

    Thanks!

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  7. #7
    cappuccino is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    5

    Default

    Code:
    [root@mail ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1		localhost.localdomain localhost
    #::1		localhost6.localdomain6 localhost6
    192.168.1.10		mail.mydomain.com mail
    Code:
    [root@mail ~]# cat /etc/resolv.conf 
    search mydomain.com
    nameserver 192.168.1.1 #this is my router
    Code:
    [cappuccino@home ~]$ dig mydomain.com mx
    
    ; <<>> DiG 9.6.1-P1-RedHat-9.6.1-4.P1.fc11 <<>> 
    mydomain.com mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7176
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomain.com.		IN	MX
    
    ;; ANSWER SECTION:
    mydomain.com.	3600	IN	MX	10 mail.mydomain.com.
    
    ;; Query time: 1444 msec
    ;; SERVER: 192.168.0.1#53(192.168.0.1)
    ;; WHEN: Fri Jul 31 13:48:08 2009
    ;; MSG SIZE  rcvd: 58

    Code:
    dig mydomain.com any
    
    ; <<>> DiG 9.6.1-P1-RedHat-9.6.1-4.P1.fc11 <<>> mydomain.com any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61776
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomain.com.		IN	ANY
    
    ;; ANSWER SECTION:
    mydomain.com.	3474	IN	MX	10 mail.mydomain.com.
    
    ;; Query time: 304 msec
    ;; SERVER: 192.168.0.1#53(192.168.0.1)
    ;; WHEN: Fri Jul 31 13:50:15 2009
    ;; MSG SIZE  rcvd: 58
    Code:
    [root@mail ~]# host `hostname`
    mail.mydomain.com has address x.x.x.x
    ;; reply from unexpected source: 208.67.222.222#53, expected 192.168.1.1#53
    ;; reply from unexpected source: 208.67.222.222#53, expected 192.168.1.1#53
    ;; connection timed out; no servers could be reached
    ;; reply from unexpected source: 208.67.222.222#53, expected 192.168.1.1#53
    ;; reply from unexpected source: 208.67.222.222#53, expected 192.168.1.1#53
    ;; connection timed out; no servers could be reached
    192.168.1.1 is my router
    Thank for help.

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    As you are on a private IP behind a router/firewall you will need to setup a Split DNS - Zimbra :: Wiki architecture.

  9. #9
    cappuccino is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    5

    Default

    in this case, I use opendns for my gateway (router, firewall), do I need to change something or keep the original?
    Current dns in named.conf is 192.168.1.1?

    Thank uxbod!

  10. #10
    cappuccino is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    5

    Default

    Solved
    Thank you everyone

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Relay Access denied in Webmail
    By alexismedina in forum Administrators
    Replies: 5
    Last Post: 09-30-2011, 11:59 AM
  2. Problem with sending emails through the Webmail
    By mr_t in forum Administrators
    Replies: 2
    Last Post: 03-06-2009, 04:28 AM
  3. Problem Accessing ZCS Outside My Network
    By aisalen in forum Administrators
    Replies: 4
    Last Post: 01-11-2008, 06:26 AM
  4. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  5. Zimbra startup hangs after install CentOS 4.2
    By eger in forum Installation
    Replies: 4
    Last Post: 02-10-2006, 11:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •