Phoneix in the zimbra server (192.168.0.90) if a run:
nmap 192.168.0.90 -p 389
PORT STATE SERVICE
389/tcp closed ldap
I bought a domain (name ex: domain.com) but the installation of the zimbra server was with the domain name localhost.localdomain and the HELO don't like that. With gmail,hotmail all works good but with others think that my mails are spam.
localhost has address 127.0.0.1
localhost has IPv6 address ::1
My domain "domain.com" has a mx record to a publid ip adress (to the router) then the router it's configured to forward the port 25 to my zimbra server (192.168.0.90) and the zimbra server has this /etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.0.90 mail.example mail
Note:I know the zimbra server's name "localhost.localdomain" it's wrong but when I installed zimbra every name I try had errors (DNS can't resolve it). Then I followed the steps of a how-to run BIND (posted here ) in the zimbra server. Then my bind config file look like this:
But I got the same errors. (DNS can't resolve it) Then I modified the BIND file to this:
@ IN SOA mail.okkum. root.mail.okkum. (
@ IN NS mail.okkum.
@ IN MX 10 192.168.0.90
@ IN A 192.168.0.90
mail.okkum IN A 192.168.0.90
#mail1 IN CNAME mail
#mail2 IN CNAME mail
Then I added in the zimbrawebadmin the domain I bought "domain.com" and all "worked good", but now I'm seeing that I have a BIG problem with the spam by the localhost.localdomain name.
IN NS localhost
localhost IN A 127.0.0.1
localhost IN MX 10 localhost
And the ldap service.