1

Topic: Connexion failed on sogo

==== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.7
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): openldap
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi Zhang, Hi all,
I have a server mail  connect to a remote ldap server (both servers are on iredmail ).
I can connect over my Roundcubemail  correctly but i have problem to connect over sogo.
Here is the error related in /var/log/sogo/sogo.log
SOGoRootPage Login from  for user 'user@domaine.tld' might not have worked - password policy: 65535  grace: -1  expire: -1  bound: 0
I have configured the sogo.conf under /etc/sogo for remote ldap:

// Authentication using LDAP

    SOGoUserSources = (
        {
            // Used for user authentication
            type = ldap;
            id = users;
            canAuthenticate = YES;
            isAddressBook = NO;
            displayName = "LDAP Authentication";

            hostname = "ldap://ip-remote-ldap:389";
            baseDN = "o=domains,dc=xxx,dc=tld";
            bindDN = "cn=vmail,dc=xxx,dc=tld";
            bindPassword = "password";
            filter = "objectClass=mailUser AND accountStatus=active AND enabledService=mail AND enabledService=sogo";
            scope = SUB;

Thank's for help

----

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

2

Re: Connexion failed on sogo

Reset user password and try again.

3

Re: Connexion failed on sogo

Hi zhang,
I reset user password  via iredadmin panel....still the same error. Can't connect...
Any idea?
Thank's for help

ZhangHuangbin wrote:

Reset user password and try again.

4

Re: Connexion failed on sogo

- Same error in SOGo log file? Any other error?
- Can SOGo successfully connect to remote LDAP server?

5

Re: Connexion failed on sogo

ZhangHuangbin wrote:

- Same error in SOGo log file? Any other error?

Hi Zahang
How to conenct with sogo to ldap? Can u show me the camand line please?

- Can SOGo successfully connect to remote LDAP server?

Thank's a lot