I have spent quite a few days on this problem and am stumped. I have scoured the Internet and related forums looking for cases similar to mine but haven't been able to any. Perhaps if I knew more what I need to be looking for I would have found it but being a DNS newbie clueless me would really appreciate some help on this problem!!
I am attempting to install Zimbra onto a Ubuntu 6 server existing a virtual life on a VMware virtual machine running on a Ubuntu 7 server.
The problem seems to be with DNS. I am trying to route email from a hosted Verio server in California to the above Zimbra server located behind a router/firewall in Tokyo. I have opened up ports through the firewall to the internal IP address for the following:
Quote:
* SMTP
o port 25/tcp
* HTTP
o port 80/tcp
* POP3
o port 110/tcp
* IMAP
o port 143/tcp
* LDAP
o port 389/tcp
* HTTPS
o port 443/tcp
* IMAPS
o port 993/tcp
* POP3S
o port 995/tcp
* Admin Interface
o port 7071/tcp |
The DNS settings that I have are the following:
Quote:
#>hostname
mail.ishous.net
#>hostname -f
mail.ishous.net
|
The appropriate lines in the following files are set as shown
Quote:
#>/etc/hosts60.238.72.16 mail.ishous.net mail #>/etc/hostnamemail.ishous.net #>/etc/bind/named.conf.localzone "mail.ishous.net"{ type master; file "/etc/bind/db.ishous.net"; notify yes; } #>/etc/bind/db.ishous.net$TTL 604800
@ IN SOA mail.ishous.net. admin.ishous.net (
07092405 : Serial
604800 : Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mail
IN MX 10 mail
IN A 192.168.255.197
mail IN A 192.168.255.197 |
The DNS setup on the hosted domain from whence the email is supposedly being forwarded to the router IP 60.238.72.16 appears to be correct:
Quote:
#>dig mail.ishous.net
; <<>> DiG 9.3.1 <<>> mail.ishous.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64253
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;mail.ishous.net. IN A
;; ANSWER SECTION:
mail.ishous.net. 86400 IN A 60.238.72.16
;; AUTHORITY SECTION:
ishous.net. 43771 IN NS ns1.secure.net.
ishous.net. 43771 IN NS ns2.secure.net.
;; ADDITIONAL SECTION:
ns1.secure.net. 106233 IN A 192.220.124.10
ns2.secure.net. 19530 IN A 192.220.125.10
;; Query time: 44 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Sep 25 20:30:56 2007
;; MSG SIZE rcvd: 124 |
As I was preparing this, I found a couple of mistakes that I had made with IPs and as I shutdown and restarted a number of times, the installation procedure executed by /opt/zimbra/libexec/zmsetup.pl seemed to be having troubles with the display of lines becoming erratic. I doubt that this is related to the DNS problem, but it is rather disconcerting.
I hope that the above explanation with the logs displayed below will provide whoever can help me with enough information. If more is required, please let me know.
The following is the zmsetup.log
Quote:
Getting installed packages
checking isEnabled zimbra-core
zimbra-core not in enabled cache
enabled packages
Newinstall enabling all installed packages
Enabling zimbra-core
Enabling zimbra-ldap
Enabling zimbra-store
Enabling zimbra-mta
Enabling zimbra-snmp
Enabling zimbra-logger
Enabling zimbra-apache
Enabling zimbra-spell
Setting defaults...
Setting local config zimbra_java_home to /opt/zimbra/java
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
DNS ERROR resolving MX for mail.ishous.net
It is suggested that the domain name have an MX record configured in DNS
Done
|
The config log is:
Quote:
AVUSER=admin@mail.ishous.net
CREATEADMIN=admin@mail.ishous.net
CREATEDOMAIN=mail.ishous.net
DEFAULTLICENSEFILE=/opt/zimbra/conf/ZCSLicense.xml
DOCREATEADMIN=yes
DOCREATEDOMAIN=yes
DOTRAINSA=yes
EXPANDMENU=no
HOSTNAME=mail.ishous.net
HTTPPORT=80
HTTPSPORT=443
IMAPPORT=143
IMAPPROXYPORT=143
IMAPSSLPORT=993
IMAPSSLPROXYPORT=993
JAVAHOME=/opt/zimbra/java
LDAPHOST=mail.ishous.net
LDAPPORT=389
LICENSEFILE=/opt/zimbra/conf/ZCSLicense.xml
MODE=http
MTAAUTHHOST=mail.ishous.net
MYSQLMEMORYPERCENT=30
NOTEBOOKACCOUNT=wiki@mail.ishous.net
POPPORT=110
POPPROXYPORT=110
POPSSLPORT=995
POPSSLPROXYPORT=995
REMOVE=no
RUNAV=yes
RUNSA=yes
SMTPDEST=admin@mail.ishous.net
SMTPHOST=mail.ishous.net
SMTPNOTIFY=yes
SMTPSOURCE=admin@mail.ishous.net
SNMPNOTIFY=yes
SNMPTRAPHOST=mail.ishous.net
SPELLURL=http://mail.ishous.net:7780/aspell.php
STARTSERVERS=yes
SYSTEMMEMORY=0.5
TOMCATMEMORYPERCENT=40
TRAINSAHAM=ham..qajpi0n@mail.ishous.net
TRAINSASPAM=spam.v.agy2ogtm@mail.ishous.net
UPGRADE=yes
USEIMAPPROXY=no
USESPELL=yes
tomcat_keystore_password=mmmmmmmm
tomcat_truststore_password=changeit
zimbraBackupReportEmailRecipients=admin@mail.ishou s.net
zimbraBackupReportEmailSender=admin@mail.ishous.ne t
zimbraPrefTimeZoneId=(GMT-08.00) Pacific Time (US & Canada)
INSTALL_PACKAGES="zimbra-apache zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-spell zimbra-store "
|