Problem receiving email from gmail or outlook

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Problem receiving email from gmail or outlook

Postby idiop » Fri Apr 05, 2019 3:16 pm

Hello everyone,

I am new to the forum and I would like you to help me because I have a problem on receiving emails from other mail.

I explain:

I installed zimbra 8.8.11 Open Source and if I send mails from:

xxx@zimbra.com to yyy@zimbra.com it works fine.

of:

xxx@zimbra.com to sss@gmail.com it works but if sss@gmail.com responds to xxx@zimbra.com the message does not come?

Can you help me if possible


User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 656
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Problem receiving email from gmail or outlook

Postby pup_seba » Sat Apr 06, 2019 5:49 pm

Hi,

Most likely a probem with your public dns records or your nat configuration.

Did you configure them?

Can you telnet your public domain name from outside your network to the port 25 and get a response from your zimbra server?
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Postby idiop » Mon Apr 08, 2019 1:52 pm

Hi Pup,

thanks for the response,

but the dns configuration is OK i have not problem

the telnet public on the 25 port is OK.


I do not know the problem it is or

help
phoenix
Ambassador
Ambassador
Posts: 26162
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Problem receiving email from gmail or outlook

Postby phoenix » Mon Apr 08, 2019 5:51 pm

Post the output from all the commands in this section of the Split DNS wiki article: https://wiki.zimbra.com/wiki/Split_DNS#Verify_that_everything_is_working
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Postby idiop » Tue Apr 09, 2019 9:10 am

Hi Phoenix,

Thanks for the response.

attached the screenshots on the tests I did
Image 32.jpg
Image 32.jpg (87.03 KiB) Viewed 1216 times

Image 33.jpg
Image 33.jpg (102.31 KiB) Viewed 1216 times


Thanks
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Postby idiop » Tue Apr 09, 2019 9:15 am

with the command dig mydomain.com
Image 33.jpg
Image 33.jpg (105.69 KiB) Viewed 1215 times
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 656
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Problem receiving email from gmail or outlook

Postby pup_seba » Tue Apr 09, 2019 2:51 pm

Hi,

I can't see the images. Could you use imgur or similar?
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Postby idiop » Tue Apr 09, 2019 3:37 pm

Hi pup,

the result of the command for test dns:

dig mx mydomain.com


$ dig mx mydomain.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> mx mydomain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30126
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;mydomain.com. IN MX

;; ANSWER SECTION:
mydomai.com. 0 IN MX 0 mail.mydomain.com.

;; ADDITIONAL SECTION:
mail.mydomain.com. 0 IN A 152.47.26.50

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Apr 09 11:29:52 EDT 2019
;; MSG SIZE rcvd: 80



and

dig mydomain.com any

$ dig mydomain.com any

; <<>> DiG 9.10.3-P4-Ubuntu <<>> cnss.cd any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64596
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;mydomain.com. IN ANY

;; ANSWER SECTION:
mydomain.com. 0 IN MX 0 mail.mydomain.com.

;; ADDITIONAL SECTION:
mail.mydomain.com. 0 IN A 152.47.26.50

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Apr 09 11:33:06 EDT 2019
;; MSG SIZE rcvd: 80


Also my dns is good, but the problem receive mail is not work

Help guys

Thanks
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 656
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Problem receiving email from gmail or outlook

Postby pup_seba » Tue Apr 09, 2019 7:09 pm

Hi,

But you are using a private dns in your query (127.0.0.1). The problem is from the outside to your site. I am not really sure this test proves anything.

From outside your network or by forcing to use an external dns like 8.8.8.8, repeat the dig only for your mx record and for your domain (not your hostname). Something like:
$ dig domain.name mx @8.8.4.4

Then, again from outside your network, try to reach your port 25 and then, verify that the one answering is your zimbra (the banner if configured as defatult, should say the myhostname and the agent which is postfix).

If this test succeeds, then we should move to see what logs are telling under /var/log/zimbra.log in your mta.
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Postby idiop » Wed Apr 10, 2019 10:01 am

Hi Pup,

Thanks for your response.

But I tested out of my network the dns and it works
you will find below my configuration of my dnsmasq
Telnet on the port.

server_out_network$ dig mydomain mx 8.8.8.8
result:

; <<>> DiG 9.10.3-P4-Ubuntu <<>> mydomain mx 8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20867
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;mydomain. IN MX

;; ANSWER SECTION:
mydomain. 14380 IN MX 0 mydomain.

;; Query time: 286 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Apr 10 10:45:31 WAT 2019
;; MSG SIZE rcvd: 52

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55211
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;8.8.8.8. IN A

;; ANSWER SECTION:
8.8.8.8. 0 IN A 8.8.8.8

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Apr 10 10:45:31 WAT 2019
;; MSG SIZE rcvd: 52

and

server_out_network$ telnet mail.mydomain 25

Trying 152.47.26.50...
Connected to mail.mydomain.
Escape character is '^]'.
220-mail.mydomain ESMTP Postfix
220 mail.mydomain ESMTP Postfix


my dnsmasq config:

server=8.8.8.8
server=65.145.115.182
domain=mydomain
mx-host=mydomain,mail.mydomain,5
listen-address=127.0.0.1


my resolv.conf (/etc/resolv.conf)

nameserver 127.0.0.1
search mydomain


Thanks

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 24 guests