Topic: Able to send mail but fail to receive mails
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx):Nginx
Logs:
Sep 11 03:30:25 mail postfix/10025/smtpd[4781]: connect from mail.mydomain.com.sg[127.0.0.1]
Sep 11 03:30:25 mail postfix/10025/smtpd[4781]: 207B73F2B7: client=mail.mydomain.com.sg[127.0.0.1]
Sep 11 03:30:25 mail postfix/cleanup[4771]: 207B73F2B7: message-id=<20170911033002.4D6153F2B0@mail.mydomain.com.sg>
Sep 11 03:30:25 mail postfix/10025/smtpd[4781]: disconnect from mail.mydomain.com.sg[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 11 03:30:25 mail postfix/qmgr[4660]: 207B73F2B7: from=<root@mail.mydomain.com.sg>, size=1719, nrcpt=1 (queue active)
Sep 11 03:30:25 mail postfix/cleanup[4771]: 292CD3F2B9: message-id=<20170911033002.4D6153F2B0@mail.mydomain.com.sg>
Sep 11 03:30:25 mail amavis[4469]: (04469-01) Passed CLEAN {RelayedInbound}, [127.0.0.1] <root@mail.mydomain.com.sg> -> <root@mail.mydomain.com.sg>, Message-ID: <20170911033002.4D6153F2B0@mail.mydomain.com.sg>, mail_id: 9K-GZOQrIFRi, Hits: 0.001, size: 1221, queued_as: 207B73F2B7, 22778 ms, Tests: [NO_RELAYS=-0.001,TVD_SPACE_RATIO=0.001,URIBL_BLOCKED=0.001]
Sep 11 03:30:25 mail postfix/qmgr[4660]: 292CD3F2B9: from=<root@mail.mydomain.com.sg>, size=1858, nrcpt=1 (queue active)
Sep 11 03:30:25 mail postfix/local[4784]: 207B73F2B7: to=<root@mail.mydomain.com.sg>, relay=local, delay=0.05, delays=0.02/0.02/0/0.01, dsn=2.0.0, status=sent (forwarded as 292CD3F2B9)
Sep 11 03:30:25 mail postfix/qmgr[4660]: 207B73F2B7: removed
Sep 11 03:30:25 mail postfix/amavis/smtp[4776]: 4D6153F2B0: to=<root@mail.mydomain.com.sg>, relay=127.0.0.1[127.0.0.1]:10024, delay=23, delays=0.09/0.03/0.01/23, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 207B73F2B7)
Sep 11 03:30:25 mail postfix/qmgr[4660]: 4D6153F2B0: removed
Sep 11 03:30:25 mail postfix/pipe[4788]: 292CD3F2B9: to=<postmaster@mydomain.com.sg>, relay=dovecot, delay=0.14, delays=0.01/0.02/0/0.11, dsn=2.0.0, status=sent (delivered via dovecot service)
Sep 11 03:30:25 mail postfix/qmgr[4660]: 292CD3F2B9: removed
There is no sign of any logs in terms of receiving.
The following are my summary for ip-tables:
Chain INPUT (policy DROP 16 packets, 640 bytes)
pkts bytes target prot opt in out source destination
31221 4048K f2b-roundcube tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443,25,587,110,995,143,993,4190
31221 4048K f2b-postfix tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443,25,587,110,995,143,993,4190
31221 4048K f2b-dovecot tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443,25,587,110,995,143,993,4190
31221 4048K f2b-postfix tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443,25,587,110,995,143,993,4190
31221 4048K f2b-nginx tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443,25,587,110,995,143,993,4190
3362 256K f2b-sshd-ddos tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 22
3362 256K f2b-sshd tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 22
150K 177M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
965 57900 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
6 314 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
63 3376 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
7 324 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
2780 178K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
265 12720 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:587
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:995
3 120 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:143
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:993
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 1095 packets, 393K bytes)
pkts bytes target prot opt in out source destination
Chain f2b-dovecot (1 references)
pkts bytes target prot opt in out source destination
31221 4048K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
Chain f2b-nginx (1 references)
pkts bytes target prot opt in out source destination
31221 4048K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
Chain f2b-postfix (2 references)
pkts bytes target prot opt in out source destination
62442 8096K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
Chain f2b-roundcube (1 references)
pkts bytes target prot opt in out source destination
31221 4048K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
Chain f2b-sshd (1 references)
pkts bytes target prot opt in out source destination
19 1696 REJECT all -- * * 218.87.109.150 0.0.0.0/0 reject-with icmp-port-unreachable
3305 252K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
Chain f2b-sshd-ddos (1 references)
pkts bytes target prot opt in out source destination
3362 256K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
Not sure if I did miss out any port issues or something.
Please help. Thank you so much
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.