1

Topic: can't receive emails from yahoo.com

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 MYSQL edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 18.04.2 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I have no problem sending to yahoo.com, gmail and other domains, my only problem is that i can't seem to receive mails from yahoo.com. I don't see any logs in /var/log/maillog. In addition, mails from gmail, yahoo.com.hk and other domains were successfully received by our mail server.

Would appreciate any help to fix this.

In yahoo, the bounced email only says the following:

Sorry, we were unable to deliver your message to the following address.

<mpangan@datablitz.com.ph>:
Unable to deliver message after multiple retries, giving up.

--- Below this line is a copy of the message.

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1560517866; bh=0gVtpGegQ7eSnw3eTyv0Gjh46UkMhzzc6dgab1b0SCE=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=epL5RUraxzqIMgTrDE38Xo91amnL5NTYXhFxJkwSXTCtx9F4twAHWZyMIpiSMK89jLOA8hVsr30qeOxzmrHznZpwzhFpetTknKw2Qtbwyk2RcoRQmxHuzOKoeVcfoRQejtWst/HKktYsIaxQeyMWvBkFjw8pfSbQ4H22dzgFi6T2M9Idjsrzb8XnaN0LEaRvS3f1PJzcW/5L4QMtwZ1/OpBfHHLXFA3U5zufrxMwQHZch45iSgvYM7+pJ8FQmSc94r+hC87jaggVKIFaVx/DCx90JT8n/Mm9DFcdXExxIYdlmz0nDhFiPE4Umawu/aPKpIdoI5Z7Nw56Pi7xVRfVIA==
X-YMail-OSG: 3dO1i3sVM1kDNMDbwwkutpX4vtpmGuKAcBQr_a5UH39Bc0uCycs5Dl.0nAOV5Sr
r.NtnKWgsUajhSU7DgXZl7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R63J1YQAcYOT1rWmtM3GOB.Zx94gD1J81lKwmoNj_.b_anJXYHU6F4.5DQR
jAjH8aAVpaNFFHnXhkHOFXhclQv63drST7qFhr_DttDmMzPJZWyz591hkeBhP2KmJEdBqNFWadek
9njL7F21Lf6zw_WyrH0Ivn541CwT1Ea.Ye7t6bmyOzaRZ_g--
Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Fri, 14 Jun 2019 13:11:06 +0000

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Neutro 2019-06-15 17:37:04)

Re: can't receive emails from yahoo.com

The content of the message is irrelevant. You need to check the mail server log to see the reason for it beeing bounced.

The logs are located in /var/log

I hope i get a free game from datablitz for the help big_smile

3

Re: can't receive emails from yahoo.com

Thanks Neutro but when i checked /var/log/maillog, i can't see any log related to yahoo.com domain. It is like the mail did not reach my server. Is there other log file that i need to check?



Neutro wrote:

The content of the message is irrelevant. You need to check the mail server log to see the reason for it beeing bounced.

The logs are located in /var/log

I hope i get a free game from datablitz for the help big_smile

4

Re: can't receive emails from yahoo.com

Do you have A, MX DNS records for your mail domain?

5

Re: can't receive emails from yahoo.com

Thanks for the reply ZhangHuangbin and yes we have A and MX records for our mail domain.

ZhangHuangbin wrote:

Do you have A, MX DNS records for your mail domain?

6

Re: can't receive emails from yahoo.com

I have no idea then. Maybe check network firewall (not the "iptables" firewall on your server).

7

Re: can't receive emails from yahoo.com

Thanks ZhangHuangbin. I did a tcpdump when i sent a test mail from my yahoo account and this is what i got. If my analysis is correct, yahoo server has no problem reaching my server but somehow it can't establish connection because i can see the series of S flags in the logs below. Am i correct?

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
14:47:20.565533 IP sonic308-10.consmr.mail.ne1.yahoo.com.35196 > mail.smtp: Flags [S], seq 4013262640, win 14600, options [mss 1452,sackOK,TS val 3222006096 ecr 0,nop,wscale 7], length 0
14:47:20.565565 IP mail.smtp > sonic308-10.consmr.mail.ne1.yahoo.com.35196: Flags [S.], seq 4019437931, ack 4013262641, win 28960, options [mss 1460,sackOK,TS val 2013827367 ecr 3222006096,nop,wscale 7], length 0
14:47:21.563726 IP sonic308-10.consmr.mail.ne1.yahoo.com.35196 > mail.smtp: Flags [S], seq 4013262640, win 14600, options [mss 1452,sackOK,TS val 3222007096 ecr 0,nop,wscale 7], length 0
14:47:21.563761 IP mail.smtp > sonic308-10.consmr.mail.ne1.yahoo.com.35196: Flags [S.], seq 4019437931, ack 4013262641, win 28960, options [mss 1460,sackOK,TS val 2013828365 ecr 3222006096,nop,wscale 7], length 0
14:47:22.585491 IP mail.smtp > sonic308-10.consmr.mail.ne1.yahoo.com.35196: Flags [S.], seq 4019437931, ack 4013262641, win 28960, options [mss 1460,sackOK,TS val 2013829387 ecr 3222006096,nop,wscale 7], length 0
14:47:23.564087 IP sonic308-10.consmr.mail.ne1.yahoo.com.35196 > mail.smtp: Flags [S], seq 4013262640, win 14600, options [mss 1452,sackOK,TS val 3222009096 ecr 0,nop,wscale 7], length 0
14:47:23.564120 IP mail.smtp > sonic308-10.consmr.mail.ne1.yahoo.com.35196: Flags [S.], seq 4019437931, ack 4013262641, win 28960, options [mss 1460,sackOK,TS val 2013830365 ecr 3222006096,nop,wscale 7], length 0
14:47:25.593541 IP mail.smtp > sonic308-10.consmr.mail.ne1.yahoo.com.35196: Flags [S.], seq 4019437931, ack 4013262641, win 28960, options [mss 1460,sackOK,TS val 2013832395 ecr 3222006096,nop,wscale 7], length 0
14:47:27.563764 IP sonic308-10.consmr.mail.ne1.yahoo.com.35196 > mail.smtp: Flags [S], seq 4013262640, win 14600, options [mss 1452,sackOK,TS val 3222013096 ecr 0,nop,wscale 7], length 0
14:47:27.563789 IP mail.smtp > sonic308-10.consmr.mail.ne1.yahoo.com.35196: Flags [S.], seq 4019437931, ack 4013262641, win 28960, options [mss 1460,sackOK,TS val 2013834365 ecr 3222006096,nop,wscale 7], length 0
14:47:30.606829 IP sonic331-12.consmr.mail.ne1.yahoo.com.43645 > mail.smtp: Flags [S], seq 3772978301, win 14600, options [mss 1452,sackOK,TS val 3222015136 ecr 0,nop,wscale 7], length 0

ZhangHuangbin wrote:

I have no idea then. Maybe check network firewall (not the "iptables" firewall on your server).

8

Re: can't receive emails from yahoo.com

Did you see any log of this IP address in Postfix log file?

9

Re: can't receive emails from yahoo.com

No ZhangHuangbin, i didn't see any log in postfix. Btw, over the weekend, i had a problem with our primary isp so i had to switch traffic to secondary isp. I tried sending test mail from yahoo again and the server received it successfully. I will escalate this issue to our isp provider but knowing the kind of service our isp provides, i'm not sure if they will take time to look into this.

ZhangHuangbin wrote:

Did you see any log of this IP address in Postfix log file?

10

Re: can't receive emails from yahoo.com

It's more like an ISP issue, not the mail server itself.