1

Topic: iRedMail-1.4.0 + Microsoft AD 2019 not send mail. Help me check error

Hi guys
I have installed iRedMail 1.4.0 and connected to Windows 2019 AD by following link:
https://docs.iredmail.org/active.directory.html
I login with AD account using sogo and Roundcube webmail ok.
But can't send email

Error: 550 5.1.0 <test1@smon.com>: Sender address rejected: User unknown

Please help me to fix this error.
Thank you very much

Log content:

Jul 31 16:24:44 mail postfix/postfix-script[89566]: stopping the Postfix mail system
Jul 31 16:24:44 mail postfix/master[89517]: terminating on signal 15
Jul 31 16:24:48 mail postfix/postqueue[90452]: fatal: Queue report unavailable - mail system is down
Jul 31 16:24:49 mail postfix/postfix-script[90771]: warning: symlink leaves directory: /etc/postfix/./makedefs.out
Jul 31 16:24:49 mail postfix/postfix-script[90943]: starting the Postfix mail system
Jul 31 16:24:49 mail postfix/master[90945]: daemon started -- version 3.4.13, configuration /etc/postfix
Jul 31 16:25:20 mail postfix/submission/smtpd[91020]: connect from localhost[127.0.0.1]
Jul 31 16:25:20 mail postfix/submission/smtpd[91020]: 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 (4096 bits) server-digest SHA256
Jul 31 16:25:20 mail postfix/submission/smtpd[91020]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.0 <test1@smon.com>: Sender address rejected: User unknown; from=<test1@smon.com> to=<test2@smon.com> proto=ESMTP helo=<localhost>
Jul 31 16:25:20 mail roundcube: <n5c21kti> PHP Error: Invalid response code received from server (POST /mail/?_task=mail&_unlock=loading1627748719855&_framed=1&_lang=en&_action=send)
Jul 31 16:25:20 mail roundcube: <n5c21kti> SMTP Error: Failed to add recipient 'test2@smon.com'. 5.1.0 <test1@smon.com>: Sender address rejected: User unknown (Code: 550) in /opt/www/roundcubemail-1.4.11/program/lib/Roundcube/rcube.php on line 1702 (POST /mail/?_task=mail&_unlock=loading1627748719855&_framed=1&_lang=en&_action=send)
Jul 31 16:25:20 mail postfix/submission/smtpd[91020]: 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

----

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

2

Re: iRedMail-1.4.0 + Microsoft AD 2019 not send mail. Help me check error

Please double check the LDAP query files used by Postfix and Dovecot.

3

Re: iRedMail-1.4.0 + Microsoft AD 2019 not send mail. Help me check error

ZhangHuangbin wrote:

Please double check the LDAP query files used by Postfix and Dovecot.

Thanks for help!
i have checked the LDAP configuration and it works good.