X
X
Xerkz2016-02-04 13:15:47
linux
Xerkz, 2016-02-04 13:15:47

How to set up sending emails to iRedMail?

Installed CentOS 7 and iRedMail in a virtual machine. If sent from the server with echo 'test123' | mail -s 'test' '[email protected]' then everything comes up fine. When sending emails from other computers, the error "SMTP error (451): Cannot add recipient '[email protected]' (4.3.5 Server configuration problem)" occurs.
The following happens in /var/log/maillog at this point:
Feb 4 15:48:47 mail postfix/submission/smtpd[4196]: connect from mail.mymailserver.local[127.0.0.1]
Feb 4 15:48:47 mail postfix/submission/smtpd[4196]: warning: connect to 127.0.0.1:7777: Connection refused
Feb 4 15:48:47 mail postfix/submission/smtpd[4196]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Feb 4 15:48:48 mail postfix/submission/smtpd[4196]: warning: connect to 127.0.0.1:7777: Connection refused
Feb 4 15:48:48 mail postfix/submission/smtpd[4196]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Feb 4 15:48:48 mail postfix/submission/smtpd[4196]: NOQUEUE: reject: RCPT from mail.mymailserver.local[127.0.0.1]: 451 4.3.5 Server configuration problem; from= to= proto=ESMTP helo=<192.168.1.102>
Feb 4 15:48:48 mail roundcube: ERROR: Invalid response code received from server (451)
Feb 4 15:48:48 mail roundcube: <9jdvrtqd> SMTP Error: Failed to add recipient '[email protected]'. 4.3.5 Server configuration problem (Code: 451) in /var/www/roundcubemail-1.1.4/program/lib/Roundcube/rcube.php on line 1712 (POST /mail/?_task=mail&_unlock=loading1454576928229&_lang=ru&_framed=1 ?_task=mail&_action=send)
Feb 4 15:48:48 mail postfix/submission/smtpd[4196]: disconnect from mail.mymailserver.local[127.0.0.1]
Found out that the iredapd service stops when sending.
When an email is sent to "/var/log/iredapd/iredapd.log" the error is "ERROR LDAP bind failed: incorrect bind dn or password."

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question