Tried this but could not get it to work.
Followed your guide as much as I could bjorgvin, but when I try to log on to https://example.com/iredmail with email@example.com and the password mentioned in iRedMail-0.8.5/iRedMail.tips it gives me the following error:
Error: Password of cn=vmailadmin is incorrect.
I use a DD-WRT router in front of the Raspberry Pi, so mailserver.example.com and example.com leads to the same server. (SSL certificate is mailserver.example.com)
/var/log/openldap.log (logging level 256) says:
Aug 27 21:20:18 erpi slapd: conn=1004 fd=16 ACCEPT from IP=127.0.0.1:57213 (IP=0.0.0.0:389)
Aug 27 21:20:18 erpi slapd: conn=1004 op=0 BIND dn="cn=vmailadmin,dc=example,dc=com" method=128
Aug 27 21:20:18 erpi slapd: conn=1004 op=0 RESULT tag=97 err=49 text=
Aug 27 21:20:18 erpi slapd: conn=1004 op=1 UNBIND
Aug 27 21:20:18 erpi slapd: conn=1004 fd=16 closed
During install I found this, but no other errors whatsoever:
ldap_bind: Invalid credentials (49)
Searching for manager results in this:
/etc/ldap$ ldapsearch -x -W -D 'cn=Manager,dn=example,dn=com' -b "" -s base -H ldap://localhost
Enter LDAP Password:
ldap_bind: Invalid DN syntax (34)
additional info: invalid DN
/etc/hosts look like this:
127.0.0.1 mailserver.example.com mailserver localhost localhost.localdomain
/etc/resolv.conf like this:
Naturally example.com is something else.
Cannot login to any phpldapadmin, mail, webmail or any other web interface.
A few questions:
Could DNS records have something to do with it?
What about router (ports are open according to http://www.iredmail.org/forum/topic209- … ports.html ) ?
I followed this before installing iRedMail, http://scruss.com/blog/2013/06/07/well- … generator/ , could that lead to generated keys the OpenLDAP cannot handle?
Thanks in advance!