1

Topic: Unable to send and receive emails after updating ssl certificate

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- 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.
====
The SSL certificate was updated successfully, but I cannot send or receive emails. When sending emails, it prompts an SMTP error (550). I followed the SSL certificate installation tutorial to reset the certificate environment, but I still get the same error. How can I fix this error?

----

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

2

Re: Unable to send and receive emails after updating ssl certificate

Needs more informations, and logfiles

3

Re: Unable to send and receive emails after updating ssl certificate

logfile:
root@mail:~# tail /var/log/maillog
Apr 18 06:40:10 mail roundcube: <j3k4g4i7> SMTP Error: Failed to add recipient 'hhyyqq5800@163.com': 5.1.1 <hhyyqq5800@163.com>: Recipient address rejected: 163.com (Code: 550) in /opt/www/roundcubemail-1.6.5/program/lib/Roundcube/rcube.php on line 1794 (POST /mail/?_task=mail&_unlock=loading1713415211423&_framed=1&_action=send)
Apr 18 06:40:10 mail postfix/submission/smtpd[139986]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=7/8
Apr 18 06:41:43 mail postfix/submission/smtpd[139986]: connect from localhost[127.0.0.1]
Apr 18 06:41:43 mail postfix/submission/smtpd[139986]: discarding EHLO keywords: CHUNKING
Apr 18 06:41:43 mail postfix/submission/smtpd[139986]: 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
Apr 18 06:41:43 mail postfix/submission/smtpd[139986]: discarding EHLO keywords: CHUNKING
Apr 18 06:41:43 mail postfix/submission/smtpd[139986]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <hhyyqq5800@163.com>: Recipient address rejected: 163.com; from=<hyq@hyqhyq.com> to=<hhyyqq5800@163.com> proto=ESMTP helo=<localhost>
Apr 18 06:41:43 mail roundcube: <j3k4g4i7> PHP Error: Invalid response code received from server (POST /mail/?_task=mail&_unlock=loading1713415304186&_framed=1&_action=send)
Apr 18 06:41:43 mail roundcube: <j3k4g4i7> SMTP Error: Failed to add recipient 'hhyyqq5800@163.com': 5.1.1 <hhyyqq5800@163.com>: Recipient address rejected: 163.com (Code: 550) in /opt/www/roundcubemail-1.6.5/program/lib/Roundcube/rcube.php on line 1794 (POST /mail/?_task=mail&_unlock=loading1713415304186&_framed=1&_action=send)
Apr 18 06:41:43 mail postfix/submission/smtpd[139986]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=7/8

4

Re: Unable to send and receive emails after updating ssl certificate

It was caused due to these 2 parameters in main.cf:

default_transport = error
relay_transport = error

Sigh...