Zimbra problems with GCloud VM Instance

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
manojo
Posts: 1
Joined: Tue Jan 15, 2019 3:48 pm

Zimbra problems with GCloud VM Instance

Post by manojo »

Hello everyone

Im having big trouble trying to install zimbra in a Google Cloud VM Instance and I like to know if that is possible.

I have 3 problems:
1 - DNS Error when installing because a external IP interface is not defined (Dont know how to do this or if it is possible in a Gcloud VM Instance)
2 - Bypassing the DNS Error problem using local IP then I cant send emails to others outside my server.
3 - When I install SSL Certificate I get LDAP Unable to create a successful TLS connection to the ldap masters

Here is my Configurations. Please help!
Create domain: [pj-mailserver-1.c.atgestion1.internal] cespi.com.pe
MX: mail.cespi.com.pe (35.35.35.35)

Interface: 10.142.0.8
Interface: 127.0.0.1
Interface: ::1


DNS ERROR - none of the MX records for cespi.com.pe
And here is my configuration:

cat /etc/hosts
127.0.0.1 localhost
35.35.35.35 mail.cespi.com.pe mail

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
169.254.169.254 metadata.google.internal metadata
10.142.0.8 pj-mailserver-1.c.atgestion1.internal pj-mailserver-1 # Added by Google
169.254.169.254 metadata.google.internal # Added by Google
cat /etc/hostname
mail.cespi.com.pe

cat /etc/dnsmasq.conf
server=8.8.8.8
server=35.35.35.35
listen-address=127.0.0.1
domain=cespi.com.pe
mx-host=cespi.com.pe,mail.cespi.com.pe,0
address=/cespi.com.pe/35.35.35.35
cat /etc/resolv.conf (cant change it manually)
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search c.atgestion1.internal google.internal
DNS Configuration
DNS Name Type TTL Data
cespi.com.pe. A 300 35.35.35.35
cespi.com.pe. MX 300 0 mail.cespi.com.pe. 10 mail.cespi.com.pe.
cespi.com.pe. NS 21600 ns-cloud-b1.googledomains.com. ns-cloud-b2.googledomains.com. ns-cloud-b3.googledomains.com. ns-cloud-b4.googledomains.com.
cespi.com.pe. SOA 21600 ns-cloud-b1.googledomains.com. cloud-dns-hostmaster.google.com. 1 21600 3600 259200 300
cespi.com.pe. TXT 300 "google-site-verification=FiLIGDzNrllkAZdOMOfu3zLx_3X51r9dhG6uHa3SKNM"
All ports are open and firewall rules are disabled (Testing server so I open all to make it work no matter what)

Subnet Details
VPC Network default
Region us-east1
IP address range 10.142.0.0/20
Gateway 10.142.0.1
Private Google access On
Flow logs Off
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Zimbra problems with GCloud VM Instance

Post by L. Mark Stone »

I'm guessing you are not aware that Google Cloud does not allow you to send out email on port 25; you must route such outbound email through one of their approved service providers. (Or use SMTP-Auth on ports 587/465).

https://cloud.google.com/compute/docs/t ... ding-mail/

Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Post Reply