SOGO unable to receive mails/wrong domain prefix

NethServer Version: NethServer release 7.3.1611
Module: sogo

Hi Guys,

I have some problem with SOGo.
I just installed NS freshly, and setup the following components:

-samba ad
-backup
-basic firewall
-file server
-ftp server
-jabber
-nextcloud
-reverse proxy
-sogo
-statistic
-webserver
-wordpress

Everything is configured and works fine, except sogo.
I noticed that after syncing an account with a phone, the contacts were synced, but the mails not.
I imported the mails via evolution using mbox and gave me no error.
I logged in to the webconsole and the mails were not there, but noticed that the email address showing in the top left shows with the AD prefix instead of the domain. (ad.domain.com instead of just domain.com)


I tried to send from an external account a mail but nothing comes through. I checked the other accounts, and they all have the same issue.
I see the following errors in the sogo log:

Line 297: May 19 23:56:58 sogod [4820]: <0x0x7fde93c13110[LDAPSource]> <NSException: 0x7fde942eaa00> NAME:LDAPException REASON:operation bind failed: Invalid credentials (0x31) INFO:{“error_code” = 49; login = “samaccountname=namehere,dc=ad,dc=domainhere,dc=xx”; }

Line 13: May 19 20:56:01 sogod [6090]: [ERROR] |SOGo| No value specified for ‘SOGoProfileURL’

Line 41: 2017-05-19 20:56:45.667 sogod[7820:7820] ERROR: could not open MySQL4 connection to database ‘sogo’: Access denied for user ‘sogo’@‘localhost’ (using password: YES)

Line 43: May 19 20:56:45 sogod [7820]: [ERROR] <0x0x7f776b56d930[GCSChannelManager]> could not open channel <MySQL4Channel[0x0x7f776b6549f0] connection=0x(null)> for mysql://localhost/sogo/sogo_user_profileMay 19 20:56:45 sogod [7821]: [ERROR] <0x0x7f776b56d930[GCSChannelManager]> could not open channel <MySQL4Channel[0x0x7f776b6549f0] connection=0x(null)> for mysql://localhost/sogo/sogo_user_profile

Line 299: 2017-05-19 23:56:59.100 sogod[4820:4820] ERROR(-[NGLdapSearchResultEnumerator nextObject]): does not support result references yet …

Line 323: May 20 00:05:31 sogod [4819]: <0x0x7fde939db770[LDAPSource]> <NSException: 0x7fde942206b0> NAME:LDAPException REASON:operation bind failed: Invalid credentials (0x31) INFO:{“error_code” = 49; login = “samaccountname=namehere,dc=ad,dc=domainhere,dc=xx”; }

Any help is appretiated.

probably something broken by the new account provider…@all do you have the same issue ?

I also have the same issue with not receving mail in SOGO. Also have the incorrect domain beginning with “AD”

@giacomo some clues on this issue ?

@all this rpm should be tested

Normally the rpm should be available in the base repository, please do a yum update. Do i’m right Giacomo

Hi @Ruaraidh ,

It seems that your AD is not properly configured (same like here: Accounts provider update).

I think you missed the FQDN format which must be as follow:

[hostname].[domain].[tld]

Plkease check this “solution”: Accounts provider update

The rpm has been released yesterday, I tested it with Sogo and it works great.
The new packages update the userPrincipalName field inside the AD.

Update your machine and check if everything is working good.

@Sean_Linder you should be able to login with user@, and ignore the “ad” part.

2 Likes

@giacomo
I can confirm, after running an update through the software center and login to a mail account in sogo, the domain suffix is now displayed properly, and also mails are displayed. Mails sent to the account the previous days are now also displayed.
Huge thank you guys :relaxed:

2 Likes