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

Postby idiop » Fri Apr 12, 2019 9:35 am

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: 26329
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Problem receiving email from gmail or outlook

Postby phoenix » Fri Apr 12, 2019 9:58 am

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

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 » Fri Apr 12, 2019 1:06 pm

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: 26329
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Problem receiving email from gmail or outlook

Postby phoenix » Fri Apr 12, 2019 1:15 pm

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

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 » Fri Apr 12, 2019 1:39 pm

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: 26329
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Problem receiving email from gmail or outlook

Postby phoenix » Fri Apr 12, 2019 3:55 pm

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

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 » Sat Apr 13, 2019 9:24 pm

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

Postby Leihita » Fri Jul 12, 2019 6:12 am

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.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 8 guests