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

Re: Problem receiving email from gmail or outlook

Post by idiop »

Hello Phoenix,

Thank you for your reply.
indeed, I set up an iptable firewall, and I configured a dnsmasq service and I have no problem.
But until now I can not receive external mails and I opened all ports on the firewall

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

Re: Problem receiving email from gmail or outlook

Post by phoenix »

idiop wrote:indeed, I set up an iptable firewall, and I configured a dnsmasq service and I have no problem.
Apparently you do, according to your posts in this thread.
idiop wrote:But until now I can not receive external mails and I opened all ports on the firewall
You appear to be not reading, or not understanding, what#'s being said to you. I've already given you the answer to your problem, you need to configure a Split DNS, read the wiki article and/or search the forums for further information on the subject.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Post by idiop »

phoenix wrote:
idiop wrote:indeed, I set up an iptable firewall, and I configured a dnsmasq service and I have no problem.
Apparently you do, according to your posts in this thread.
idiop wrote:But until now I can not receive external mails and I opened all ports on the firewall
You appear to be not reading, or not understanding, what#'s being said to you. I've already given you the answer to your problem, you need to configure a Split DNS, read the wiki article and/or search the forums for further information on the subject.
I understand what you said I install a split DNS (dnsmasq) here below the configuration I made:
server=60.240.152.15 (IP_DNS)
listen-address=127.0.0.1
domain=mydomain.com
mx-host=mydomain.com,mail.mydomain.com,10
address=/mail.mydomain.com/158.54.20.20 (IP_SRV_MAIL)

if there is any other solution to configure a split dns you can share it on my email (idrissadiop5@gmail.com)

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

Re: Problem receiving email from gmail or outlook

Post by phoenix »

You can confirm if the Split DNS is correctly set by running all the commands in the Verify... section of that wiki article.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Post by idiop »

phoenix wrote:You can confirm if the Split DNS is correctly set by running all the commands in the Verify... section of that wiki article.
yes I checked with the orders:

$dig mydomain.com mx

; <<>> DiG 9.10.3-P4-Ubuntu <<>> mydomain.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2122
;; 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:
mydomain.com. 0 IN MX 10 mail.mydomain.com.

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

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 12 14:31:47 WAT 2019
;; MSG SIZE rcvd: 80

$dig mydomain.com any

; <<>> DiG 9.10.3-P4-Ubuntu <<>> mydomain.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57335
;; 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 10 mail.mydomain.com.

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

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 12 14:35:15 WAT 2019
;; MSG SIZE rcvd: 80


you can analyze to see
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Problem receiving email from gmail or outlook

Post by phoenix »

I don't use dnsmasq so I can't confirm if those settings are correct nor can I tell if the DNS server at 60.240.152.15 is actually a DNS server, or not. I also can't tell from that output if you have any external DNS records nor who hosts them because you've possibly obfuscated all the information.

I'd suggest you try some of the online tests for a mail server such as the one from here: https://mxtoolbox.com/diagnostic.aspx - that will confirm if your DNS records are correct and also give you the ability to test a connection to your server, I'd suggest you try it plus there are many sites on the internet that provide this type of service.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
idiop
Posts: 17
Joined: Fri Apr 05, 2019 2:59 pm

Re: Problem receiving email from gmail or outlook

Post by idiop »

Hi all,

The problem is solved.

the problem was on the DNS as you had been told

thanks again
Leihita
Posts: 1
Joined: Mon Jan 28, 2019 1:38 pm

Re: Problem receiving email from gmail or outlook

Post by Leihita »

Hey! I cannot send emails to gmail addresses since yesterday...
I don't undertstand what is happening, and I am not a internet/computer sav so I don't know what to do!
WOuld someone help me please?
The emails return to me with the subject:
"Undelivered mail returned to sender"

Thanks in advance for your reply,

regards,

Leihita.
Post Reply