Topic: Recipient address rejected: undeliverable address: Address lookup fail
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Ubuntu 24.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Ngnix
- Manage mail accounts with iRedAdmin-Pro? Y
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have installed iRedMail at VPS hosting, to serve smtps/imaps/webmail clients. iRedMail must replace current mail hosting (running Haraka 3.0.3) because of its poor antivirus protection.
iRedMail server (as well as current mail hosting server) is located behind Kaspersky Secure Mail Gateway 2.0.1.6960 (KSMG), to use its antivirus/antifishing benefits.
Incoming mail arrives to KSMG [*.*.94.122] by MX record, and then some rule relays e-mail, addressed to one user (for testing purposes), to iRedMail [*.*.190.132].
But iRedMail fails to receive this mail:
Here is iRedMail log (mail from d*****@mail.ru, addressed to ds****@sf*******.com, being forwarded to iRedMail:
2024-11-30T18:25:41.815402+02:00 ubnt postfix/postscreen[7963]: CONNECT from [*.*.94.122]:38240 to [*.*.190.132]:25
2024-11-30T18:25:47.957990+02:00 ubnt postfix/postscreen[7963]: PASS OLD [*.*.94.122]:38240
2024-11-30T18:25:48.051005+02:00 ubnt postfix/smtpd[7966]: connect from ksmg.s********l.ee[*.*.94.122]
2024-11-30T18:25:48.069453+02:00 ubnt postfix/smtpd[7966]: discarding EHLO keywords: CHUNKING
2024-11-30T18:25:48.113299+02:00 ubnt postfix/smtpd[7966]: Anonymous TLS connection established from ksmg.s********l.ee[*.*.94.122]: TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)
2024-11-30T18:25:48.127127+02:00 ubnt postfix/smtpd[7966]: discarding EHLO keywords: CHUNKING
2024-11-30T18:25:48.239300+02:00 ubnt postfix/smtpd[7966]: NOQUEUE: reject: RCPT from ksmg.s********l.ee[*.*.94.122]: 550 5.1.0 <double-bounce@s********l.ee>: Sender address rejected: User unknown; from=<double-bounce@********.ee> to=<ds****@sf*******.com> proto=ESMTP helo=<ksmg.s*********l.ee>
2024-11-30T18:25:48.239359+02:00 ubnt postfix/smtpd[7966]: disconnect from ksmg.s********l.ee[*.*.94.122] ehlo=2 starttls=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=6/7
iRedmail serves 2 domains: s********l.ee and sf*******.com, and I have added KSMG ip [*.*.94.122] to whitelist of both domains.
How shoud I make iRedMail not to reject internal mail? Maybe, adjust some config file instead of iRedAdmin?
Thanks in advance, Dmitry.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.