1

Topic: New release not working with clean Debian - please help

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Debian.MP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? NO
- Related log if you're reporting an issue:
====

Error at senders side : 451 4.3.5 Server configuration problem


MY IREDMAIL MTA:

sudo tail /var/log/iredapd/iredapd.log
2016-02-04 13:08:59 INFO Loading plugin: amavisd_wblist
2016-02-04 13:10:02 INFO * Query SQL server to get mail domain names.
2016-02-04 13:19:52 ERROR LDAP bind failed: {'desc': "Can't contact LDAP server"}.
2016-02-04 13:20:01 INFO * Query SQL server to get mail domain names.
2016-02-04 13:23:19 INFO Starting iRedAPD (version: 1.8.0, backend: ldap), listening on 127.0.0.1:7777.
2016-02-04 13:23:19 INFO Log rotate type: time, interval: W6, backup copies: 12.
2016-02-04 13:23:19 INFO Loading plugin: reject_null_sender
2016-02-04 13:23:19 INFO Loading plugin: ldap_maillist_access_policy

Feb  4 13:24:32 mta1 postfix/smtpd[1389]: warning: connect to 127.0.0.1:7777: Connection refused
Feb  4 13:24:32 mta1 postfix/smtpd[1389]: warning: problem talking to server 127.0.0.1:7777: Connection refused


Ive tried restarting iredapd, this allows me to telnet localhost 7777, but as soon as i finish sending a mail it stops again.

Any ideas?

/Steve
2016-02-04 13:23:19 INFO Loading plugin: amavisd_wblist
2016-02-04 13:24:31 ERROR LDAP bind failed: {'desc': "Can't contact LDAP server"}.

----

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

2

Re: New release not working with clean Debian - please help

ukshark wrote:

2016-02-04 13:19:52 ERROR LDAP bind failed: {'desc': "Can't contact LDAP server"}.

Is OpenLDAP service running?

3

Re: New release not working with clean Debian - please help

i set it up to use mysql, should i still have openldap running?
(i dont see ldap in /etc/init.d/)

4

Re: New release not working with clean Debian - please help

/etc/init.d/slapd start
bash: /etc/init.d/slapd: No such file or directory

5

Re: New release not working with clean Debian - please help

Try this:

cd /opt/iredapd
find . -name '*pyc' | xargs rm -f {}
service iredapd restart

6

Re: New release not working with clean Debian - please help

I cant fully test till tomorrow, but the errors have stopped so that might have done the trick
Any idea why this fautl happened, was it something i did at install?
Ill do a full test tomorrow, and ill throw you a coffee smile

Thanks

7

Re: New release not working with clean Debian - please help

ukshark wrote:

Any idea why this fautl happened, was it something i did at install?

might be caused due to incorrect compiled python binary file (*.pyc).

ukshark wrote:

Ill do a full test tomorrow, and ill throw you a coffee

thank you. smile