Zimbra picks up wrong internal domain name but still uses external domain and works?
Hello everyone, I've just been messing around with installing Zimbra 7 on a Ubuntu machine and I came across something I have not seen before.
These are my system files before I installed zimbra -
root@zimbra7:~# cat /etc/hostname
root@zimbra7:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost zimbra7
192.168.200.254 mail.wuboz.com mail zimbra7
root@zimbra7:~# cat /etc/resolv.conf
Zimbra when installing detected the domain wuboz.com just fine, however when it was going through the install it latched on to the localhost.localdomain as something that I don't know how to refer to.
All of my email address have the wuboz.com domain on them and I can send and receive emails fine through the internet. However in the Admin GUI and in the source emails it shows the localhost.localdomain -
Here is the splash screen of the Zimbra admin console, it will show the localhost.localdomain
However right here it shows the wuboz.com domain
But under server statistics it shows the localhost.localdomain
I have never seen it pick up the localhost domain, during the install I specifically stated wuboz.com and it took it just fine.
Here is the dig of wuboz.com -
If I do hostname -f I get localhost.localdomain
dig wuboz.com any
; <<>> DiG 9.7.0-P1 <<>> wuboz.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10886
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;wuboz.com. IN ANY
;; ANSWER SECTION:
wuboz.com. 0 IN MX 5 mail.wuboz.com.
;; ADDITIONAL SECTION:
mail.wuboz.com. 0 IN A 192.168.200.254
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Dec 31 22:19:40 2012
;; MSG SIZE rcvd: 73
In this scenario all of the SSL certificates are setup for localhostl.localdomain instead of wuboz.com.
Can someone explain what happened?
Is it because the zimbra7 hostname was behind 127.0.0.1?