1

Topic: Unable to send out mail with new version 0.9.1

==== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Linux/BSD distribution name and version: CentOS 6.6
- Related log if you're reporting an issue:
====

Hello I just installed the new version with a virgin OS. I added a new user but cannot send out mails.

Error in /var/log/maillog:
May 17 15:19:43 knowsg postfix/smtpd[26602]: warning: connect to 127.0.0.1:7777: Connection refused
May 17 15:19:43 knowsg postfix/smtpd[26602]: warning: problem talking to server 127.0.0.1:7777: Connection refused
May 17 15:19:44 knowsg postfix/smtpd[26602]: warning: connect to 127.0.0.1:7777: Connection refused
May 17 15:19:44 knowsg postfix/smtpd[26602]: warning: problem talking to server 127.0.0.1:7777: Connection refused
May 17 15:19:44 knowsg postfix/smtpd[26602]: NOQUEUE: reject: RCPT from mail.knowsg.com[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<hongliang.wang@knowsg.com> to=<loudking@gmail.com> proto=ESMTP helo=<knowsg.com>
May 17 15:19:44 knowsg roundcube: <q6bu5qdl> SMTP Error: Failed to add recipient 'loudking@gmail.com'. 4.3.5 Server configuration problem (Code: 451) in /var/www/roundcubemail-1.1.1/program/lib/Roundcube/rcube.php on line 1714 (POST /mail/?_task=mail&_unlock=loading1431847173603&_lang=en_US&_framed=1?_task=mail&_action=send)

Then I googled a lot and found a similar issue with old version 0.7.3 which says that the error was due to MySQL does not close connections. So I followed that post and downloaded two Python scripts and installed them in directory /opt/iredapt. Then I tried to restart iredapd.

[root@knowsg iredapd]# service iredapd restart
iredapd is already stopped.
Starting iredapd ...
Traceback (most recent call last):
  File "/opt/iredapd/iredapd.py", line 15, in <module>
    import daemon
ImportError: No module named daemon

I would emphasize that iredapd does not start. But error was script too old. Then I copied and past latest source code from your online repository. and restart iredapd again.

[root@knowsg iredapd]# /etc/init.d/iredapd start
Starting iredapd ...

And I tried to send out email again but still failed.

May 17 15:45:43 knowsg postfix/smtpd[26848]: warning: connect to 127.0.0.1:10031: Connection refused
May 17 15:45:43 knowsg postfix/smtpd[26848]: warning: problem talking to server 127.0.0.1:10031: Connection refused
May 17 15:45:44 knowsg postfix/smtpd[26848]: warning: connect to 127.0.0.1:10031: Connection refused
May 17 15:45:44 knowsg postfix/smtpd[26848]: warning: problem talking to server 127.0.0.1:10031: Connection refused
May 17 15:45:44 knowsg postfix/smtpd[26848]: NOQUEUE: reject: RCPT from mail-ob0-f179.google.com[209.85.214.179]: 451 4.3.5 Server configuration problem; from=<loudking@gmail.com> to=<hongliang.wang@knowsg.com> proto=ESMTP helo=<mail-ob0-f179.google.com>
May 17 15:45:44 knowsg postfix/smtpd[26848]: disconnect from mail-ob0-f179.google.com[209.85.214.179]
May 17 15:45:53 knowsg postfix/smtpd[26848]: warning: hostname 250.subnet118-97-170.static.astinet.telkom.net.id does not resolve to address 118.97.170.250: Name or service not known

What I notice is that the port number changed from 7777 to 10031 but I cannot step further. Please advise.

----

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 out mail with new version 0.9.1

Port 7777 is our Daemon
Port 10031 is Cluebringer (PolicyD v2 / postfix-cluebringer)
Could you make sure that is started too?
Have you by chance rebooted your server since completing installation?
(The last tip in the installer says to - as it should prevent issues like this)

3

Re: Unable to send out mail with new version 0.9.1

Problem solved after reboot

7t3chguy wrote:

Port 7777 is our Daemon
Port 10031 is Cluebringer (PolicyD v2 / postfix-cluebringer)
Could you make sure that is started too?
Have you by chance rebooted your server since completing installation?
(The last tip in the installer says to - as it should prevent issues like this)

4

Re: Unable to send out mail with new version 0.9.1

I'm considering a better installer which will make the restart line more prominent xD a lot of people tend to miss it