1 (edited by LuizC 2022-05-17 01:21:12)

Topic: Error for recipient address not found

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

Dear iRedMail fellows,

I have a fully functional iRedMail server. I'm using Sendgrid to send my emails without have to ask to VPS provider to unblock port 25 (in almost all cases, it will be denied).

But I notice that I can't have the "recipient address not found" error message when I send an email to a non valid address. Using tail -f /var/log/mail.log didn't show nothing strange...

I used this instructions for my setup:
https://docs.sendgrid.com/for-developer … il/postfix

Any clues of how to fix it?

Thanks!

----

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

2

Re: Error for recipient address not found

Here's my log of tail -f /var/log/mail.log when I tryed to send and email for the invalid adress kjahsgdf@lkjsahfg.kjh.br.


May 16 16:42:22 vps23593 postfix/anvil[3611]: statistics: max connection rate 1/60s for (submission:193.56.29.237) at May 16 16:33:17
May 16 16:42:22 vps23593 postfix/anvil[3611]: statistics: max connection count 1 for (submission:193.56.29.237) at May 16 16:33:17
May 16 16:42:22 vps23593 postfix/anvil[3611]: statistics: max cache size 1 at May 16 16:33:17
May 16 16:42:27 vps23593 roundcube: <nc0ob5mp> Successful login for marketing@botboutique.com.br (ID: 2) from 177.55.160.138 in session nc0ob5mp0llvh77k
May 16 16:43:16 vps23593 postfix/submission/smtpd[3609]: warning: hostname 28.69.103-113.in-addr.arpa does not resolve to address 103.69.28.113: Name or service not known
May 16 16:43:16 vps23593 postfix/submission/smtpd[3609]: connect from unknown[103.69.28.113]
May 16 16:43:18 vps23593 postfix/submission/smtpd[3609]: disconnect from unknown[103.69.28.113] ehlo=1 auth=0/1 rset=0/1 quit=1 commands=2/4
May 16 16:43:23 vps23593 postfix/submission/smtpd[3609]: warning: hostname 28.69.103-113.in-addr.arpa does not resolve to address 103.69.28.113: Name or service not known
May 16 16:43:23 vps23593 postfix/submission/smtpd[3609]: connect from unknown[103.69.28.113]
May 16 16:43:23 vps23593 postfix/submission/smtpd[11416]: warning: hostname 28.69.103-113.in-addr.arpa does not resolve to address 103.69.28.113: Name or service not known
May 16 16:43:23 vps23593 postfix/submission/smtpd[11416]: connect from unknown[103.69.28.113]
May 16 16:43:24 vps23593 postfix/submission/smtpd[11421]: connect from localhost[127.0.0.1]
May 16 16:43:24 vps23593 postfix/submission/smtpd[11421]: Anonymous TLS connection established from localhost[127.0.0.1]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
May 16 16:43:24 vps23593 postfix/submission/smtpd[3609]: disconnect from unknown[103.69.28.113] ehlo=1 auth=0/1 rset=0/1 quit=1 commands=2/4
May 16 16:43:24 vps23593 postfix/submission/smtpd[11421]: 4L24nS6JzKz612P: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=marketing@botboutique.com.br
May 16 16:43:24 vps23593 postfix/cleanup[11436]: 4L24nS6JzKz612P: message-id=<89ad4a884815edef414a6f2ced8018d9@botboutique.com.br>
May 16 16:43:24 vps23593 postfix/qmgr[3056]: 4L24nS6JzKz612P: from=<marketing@botboutique.com.br>, size=597, nrcpt=1 (queue active)
May 16 16:43:24 vps23593 roundcube: <nc0ob5mp> User marketing@botboutique.com.br [177.55.160.138]; Message <89ad4a884815edef414a6f2ced8018d9@botboutique.com.br> for kjahsgdf@lkjsahfg.kjh.br; 250: 2.0.0 Ok: queued as 4L24nS6JzKz612P
May 16 16:43:24 vps23593 postfix/submission/smtpd[11421]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
May 16 16:43:25 vps23593 postfix/submission/smtpd[11416]: disconnect from unknown[103.69.28.113] ehlo=1 auth=0/1 rset=0/1 quit=1 commands=2/4
May 16 16:43:25 vps23593 postfix/10025/smtpd[11453]: connect from localhost[127.0.0.1]
May 16 16:43:25 vps23593 postfix/10025/smtpd[11453]: 4L24nT5SnBz612T: client=localhost[127.0.0.1]
May 16 16:43:25 vps23593 postfix/cleanup[11436]: 4L24nT5SnBz612T: message-id=<89ad4a884815edef414a6f2ced8018d9@botboutique.com.br>
May 16 16:43:25 vps23593 postfix/qmgr[3056]: 4L24nT5SnBz612T: from=<marketing@botboutique.com.br>, size=1926, nrcpt=1 (queue active)
May 16 16:43:25 vps23593 postfix/10025/smtpd[11453]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 16 16:43:25 vps23593 amavis[2772]: (02772-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:53980 ESMTP/ESMTP <marketing@botboutique.com.br> -> <kjahsgdf@lkjsahfg.kjh.br>, (), Queue-ID: 4L24nS6JzKz612P, Message-ID: <89ad4a884815edef414a6f2ced8018d9@botboutique.com.br>, mail_id: nKxHltDM5jpF, b: 58WbZIj2C, Hits: -1.01, size: 597, queued_as: 4L24nT5SnBz612T, Subject: "Testeeeeeeeeeeeeee", From: <marketing@botboutique.com.br>, User-Agent: Roundcube_Webmail, helo=localhost, Tests: [ALL_TRUSTED=-1,T_SCC_BODY_TEXT_LINE=-0.01], autolearn=ham autolearn_force=no, autolearnscore=-0.01, dkim_new=dkim:botboutique.com.br, 762 ms
May 16 16:43:25 vps23593 postfix/amavis/smtp[11441]: 4L24nS6JzKz612P: to=<kjahsgdf@lkjsahfg.kjh.br>, relay=127.0.0.1[127.0.0.1]:10026, delay=1.1, delays=0.28/0.07/0.01/0.77, 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 4L24nT5SnBz612T)
May 16 16:43:25 vps23593 postfix/qmgr[3056]: 4L24nS6JzKz612P: removed
May 16 16:43:26 vps23593 postfix/smtp[11454]: Trusted TLS connection established to smtp.sendgrid.net[167.89.115.18]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
May 16 16:43:27 vps23593 postfix/smtp[11454]: 4L24nT5SnBz612T: to=<kjahsgdf@lkjsahfg.kjh.br>, relay=smtp.sendgrid.net[167.89.115.18]:587, delay=1.8, delays=0.02/0.03/1.4/0.31, dsn=2.0.0, status=sent (250 Ok: queued as PVqi8uSMTg-8KfAVef7UAw)
May 16 16:43:27 vps23593 postfix/qmgr[3056]: 4L24nT5SnBz612T: removed
May 16 16:43:30 vps23593 postfix/submission/smtpd[3609]: connect from unknown[193.56.29.237]
May 16 16:43:32 vps23593 postfix/submission/smtpd[3609]: disconnect from unknown[193.56.29.237] ehlo=1 auth=0/1 rset=0/1 quit=1 commands=2/4

3

Re: Error for recipient address not found

LuizC wrote:

But I notice that I can't have the "recipient address not found" error message when I send an email to a non valid address.

not valid on your server or destination server?