Help please - cannot sent and receive email from external domains...

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
nigyeljunk
Posts: 11
Joined: Tue Jun 23, 2015 10:03 pm

Help please - cannot sent and receive email from external domains...

Postby nigyeljunk » Fri May 19, 2017 12:10 pm

Hello experts,

I am having some issue with sending and receiving email from external domain. Till yesterday it was working fine and all of a sudden I am not able to send/receive emails from external domains.

I am using ZCS 8.6

I found out that that I am not able to ping external domains but I can ping 8.8.8.8 which means the issue is with my nameserver right?
Also seeing the message "dnsmasq: failed to create listening socket for port 53: Address already in use"

How do I move forward?

sample logs from zimbra:

May 19 18:08:25 mail postfix/smtpd[36613]: NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 450 4.7.1 Client host rejected: cannot find your hostname, [x.x.x.x]; from=<someemail@domain.com> to=<receive@xxx.com> proto=ESMTP helo=<IND01-BO1-obe.outbound.protection.outlook.com>


Please help me.

Thanks,
Nig.
Last edited by nigyeljunk on Sat May 20, 2017 3:06 am, edited 1 time in total.


User avatar
DualBoot
Outstanding Member
Outstanding Member
Posts: 494
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.7 Mutli servers

Re: Help please - cannot sent and receive email from external domains...

Postby DualBoot » Fri May 19, 2017 2:06 pm

This is the remote server which refused your email because your DNS record is not found for your public IP.
nigyeljunk
Posts: 11
Joined: Tue Jun 23, 2015 10:03 pm

Re: Help please - cannot sent and receive email from external domains...

Postby nigyeljunk » Fri May 19, 2017 2:13 pm

DualBoot wrote:This is the remote server which refused your email because your DNS record is not found for your public IP.


Hello,

Thank you for your reply but I am seeing all the emails in "Deferred" Administration page. The mails are not going in the users inbox...

I came to feel that the issue is with DNS.

Any suggestion how to resolve this.

Thanks alot.

Nig.
Last edited by nigyeljunk on Sat May 20, 2017 3:08 am, edited 1 time in total.
User avatar
DualBoot
Outstanding Member
Outstanding Member
Posts: 494
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.7 Mutli servers

Re: Help please - cannot sent and receive email from external domains...

Postby DualBoot » Fri May 19, 2017 2:38 pm

For input email you should give more information.
nigyeljunk
Posts: 11
Joined: Tue Jun 23, 2015 10:03 pm

Re: Help please - cannot sent and receive email from external domains...

Postby nigyeljunk » Fri May 19, 2017 5:50 pm

Hello,

I checked and found out the below error message:

* Starting DNS forwarder and DHCP server dnsmasq
dnsmasq: failed to create listening socket: Address already in use

Tried every possible solution but failed.

Also I cannot ping from my server to external domains.

Hope you can help on this.

Thanks,
Nig.
milauria
Posts: 8
Joined: Mon Aug 15, 2016 12:32 pm

Re: Help please - cannot sent and receive email from external domains...

Postby milauria » Sat May 20, 2017 1:48 am

If it is a dnsmasq error I suggest to check what is happening there.

for Centos:

Code: Select all

netstat -pnlt
to see which service is listening and where

Code: Select all

systemctl status dnsmasq
to check for error on the dnmasq service

And finally make sure you are not in the same situation I was with multiple local DNS systems complicating my life (in my case dnsmasq plus Zimbra DNScache using unbound service)

Hope it helps
nigyeljunk
Posts: 11
Joined: Tue Jun 23, 2015 10:03 pm

Re: Help please - cannot sent and receive email from external domains...

Postby nigyeljunk » Sat May 20, 2017 2:11 am

milauria wrote:If it is a dnsmasq error I suggest to check what is happening there.

for Centos:

Code: Select all

netstat -pnlt
to see which service is listening and where

Code: Select all

systemctl status dnsmasq
to check for error on the dnmasq service

And finally make sure you are not in the same situation I was with multiple local DNS systems complicating my life (in my case dnsmasq plus Zimbra DNScache using unbound service)

Hope it helps


I am seeing the below output.. Can you suggest me what to do next. Thanks.

tcp 0 0 127.0.0.1:10029 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:10030 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 50628/clamd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 49889/nginx: worker
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 49889/nginx: worker
tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:10032 0.0.0.0:* LISTEN 50017/amavisd (mast
tcp 0 0 0.0.0.0:7025 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7026 0.0.0.0:* LISTEN 50855/java
tcp 0 0 182.29.10.111:53 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7993 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7995 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8735 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7071 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8736 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7072 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:23232 0.0.0.0:* LISTEN 49920/perl
tcp 0 0 127.0.0.1:23233 0.0.0.0:* LISTEN 49922/perl
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 49889/nginx: worker
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 49889/nginx: worker
tcp 0 0 127.0.0.1:7171 0.0.0.0:* LISTEN 48718/java
tcp 0 0 0.0.0.0:7780 0.0.0.0:* LISTEN 50668/httpd
tcp 0 0 182.29.10.111:389 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:5222 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7110 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:5223 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7143 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:10663 0.0.0.0:* LISTEN 49623/zmlogger: zmr
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 50017/amavisd (mast
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 50017/amavisd (mast
tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN 49622/mysqld
tcp 0 0 127.0.0.1:10027 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN 49871/memcached
tcp 0 0 127.0.0.1:10028 0.0.0.0:* LISTEN -
tcp6 0 0 :::53 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 ::1:953 :::* LISTEN -
tcp6 0 0 :::11211 :::* LISTEN 49871/memcached
milauria
Posts: 8
Joined: Mon Aug 15, 2016 12:32 pm

Re: Help please - cannot sent and receive email from external domains...

Postby milauria » Sun May 21, 2017 4:01 am

This seems to show that dnsmasq is not running and it should list "LISTEN PID/dnsmasq"

tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN -

I might suggest to check if you need a split DNS configuration (local hostname = public domain name), if yes follow the zimbra wiki to setup dnsmasq (https://wiki.zimbra.com/wiki/Split_DNS)
An in general check if your internal/external DNS resolves properly with dnsmasq (same wiki article above)

Note I am not a pro just trying to suggest few things as I have battling with this for a while until I fixed it

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 6 guests