1 (edited by yorgi 2012-10-26 15:37:22)

Topic: Cannot login or receive email

==== Required information ====
- iRedMail version: 0.7.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Centos 5
- Related log if you're reporting an issue:
====

Our server went down after power failure and is giving the following messages when clients try to login. Also email is not coming in:

warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=domain,dc=co,dc=za: 49 (Invalid credentials)
Oct 26 08:35:09 mail last message repeated 2 times
Oct 26 08:35:09 mail postfix/trivial-rewrite[4057]: fatal: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Oct 26 08:35:09 mail postfix/proxymap[3567]: warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=amcrushers,dc=co,dc=za: 49 (Invalid credentials)
Oct 26 08:35:09 mail last message repeated 2 times
Oct 26 08:35:09 mail postfix/trivial-rewrite[4058]: fatal: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Oct 26 08:35:10 mail postfix/master[3549]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4054 exit status 1
Oct 26 08:35:10 mail postfix/master[3549]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Oct 26 08:35:10 mail postfix/qmgr[3565]: warning: problem talking to service rewrite: Success
Oct 26 08:35:10 mail postfix/master[3549]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4055 exit status 1
Oct 26 08:35:10 mail postfix/smtpd[3999]: warning: problem talking to service rewrite: Success
Oct 26 08:35:10 mail postfix/smtpd[4006]: warning: problem talking to service rewrite: Success
Oct 26 08:35:10 mail postfix/master[3549]: warning: process /usr/libexec/postfix/trivial-rewrite pid 4056 exit status 1
Oct 26 08:35:10 mail postfix/smtpd[3700]: warning: problem talking to service rewrite: Connection reset by peer

Is there anyway for me to fix this or repair the installation or something?

2

Re: Cannot login or receive email

yorgi wrote:

warning: dict_ldap_connect: Unable to bind to server ldap://127.0.0.1:389 as cn=vmail,dc=domain,dc=co,dc=za: 49 (Invalid credentials)

Looks like your LDAP server is not running. Please try fixing it first.

If a simple service restart doesn't work for you, please try below:

1) Update value of parameter 'debuglevel' in /etc/openldap/slapd.conf to 256.
2) Restart OpenLDAP service.
3) Check related log in /var/log/openldap.log. If you don't understand what the error explains, please paste them here.