Topic: Some problem iRedAPD.
Following in the footsteps of the guide
# cd /opt/iredapd/etc/
# cp iredapd.ini iredapd-rr.ini
# chown iredapd:iredapd iredapd-rr.ini
# chmod 0600 iredapd-rr.ini
Then change the parameters that I indicated.
/opt/iredapd/etc/iredpad-rr.ini:
listen_port = 7778
pid_file = /var/run/iredapd-rr.pid
log_file = /var/log/iredapd-rr.log
plugins = ldap_recipient_restrictions
and restart both services
mail:/opt/iredapd/etc# /etc/init.d/iredapd-rr restart
Stopping iredapd ...
Starting iredapd ...
mail:/opt/iredapd/etc# /etc/init.d/iredapd restart
Stopping iredapd ...
Starting iredapd ...
But when I change the following line /etc/postfix/main.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
and leave as follows
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated, check_policy_service inet:127.0.0.1:7778
When trying to send a message, I get the following error:
An error occurred while sending mail. The mail server responded: 4.3.5 Server configuration problem. Please check the message recipient ekalienes@ppm.domain.com.cn and try again.
then I looked at the log and says:
set 'log_level = debug' in /opt/iredapd/etc/iredapd.ini
mail:/etc/postfix# /etc/init.d/iredapd restart
Stopping iredapd ...
Starting iredapd ...
mail:/etc/postfix# tail -f /var/log/iredapd.log
2011-02-07 15:27:23 INFO juancarlos@example3.com.cn -> pedrof@domain.com.cn, DUNNO
2011-02-07 15:27:44 INFO fernando.fernandez@example2.com.cn -> marcos@domain.com.cn, DUNNO
2011-02-07 15:27:45 INFO fernando.fernandez@example2.com.cn -> miguel@domain.com.cn, DUNNO
2011-02-07 15:29:09 INFO yuniorbch@lsp.domain.com.cn -> yuniorbch@lsp.domain.com.cn, DUNNO
2011-02-07 15:30:32 INFO subtecnica@example.com.cn -> cheo@domain.com.cn, DUNNO
2011-02-07 15:30:33 INFO subtecnica@example.com.cn -> damaris@domain.com.cn, DUNNO
2011-02-07 15:31:34 INFO fraykel@example6.com.cn -> ragras@cab.domain.com.cn, DUNNO
2011-02-07 15:32:05 INFO luis@fmto.domain.com.cn -> olema@example4.com.cn, DUNNO
2011-02-07 15:34:08 INFO maria@domain.com.cn -> maria@domain.com.cn, DUNNO
2011-02-07 15:34:34 INFO Starting iredapd (v1.4.0, pid: 3547), listening on 127.0.0.1:7777.
2011-02-07 15:35:05 ERROR LDAP bind failed: incorrect bind dn or password.
2011-02-07 15:35:06 ERROR LDAP bind failed: incorrect bind dn or password.
2011-02-07 15:35:13 ERROR LDAP bind failed: incorrect bind dn or password.
2011-02-07 15:35:14 ERROR LDAP bind failed: incorrect bind dn or password.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.