1 (edited by karanx 2017-01-21 01:52:11)

Topic: SOGo webmail and exchange login problem

======== Required information ====
- iRedMail version 0.9.5-1:
- Ubuntu 16.04 LTS
- MySQL
- Apache
- Manage mail accounts with iRedAdmin Free
====

Hi

SoGo does not accept passwords in the web interface.
No problem for RoundCube.
Also; Exchange mail does not accept password.
No problem for pop3.
I'm just having trouble with SOGo too.



Log for Sogo

Jan 20 16:05:03 sogod [1456]: version 3.2.5 (build @shiva.inverse 201701190806) -- starting
Jan 20 16:05:03 sogod [1456]: vmem size check enabled: shutting down app when vmem > 384 MB. Currently at 225 MB
Jan 20 16:05:03 sogod [1456]: <0x0x5633749b4570[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo':
Jan 20 16:05:03 sogod [1456]: <0x0x5633749b4570[SOGoProductLoader]>   Appointments.SOGo, AdministrationUI.SOGo, CommonUI.SOGo, MailPartViewers.SOGo, SchedulerUI.SOGo, MainUI.SOGo, Mailer.SOGo, PreferencesUI.SOGo, ActiveSync.SOGo, ContactsUI.SOGo, Contacts.SOGo, MailerUI.SOGo
Jan 20 16:05:05 sogod [1456]: All products loaded - current memory usage at 279 MB
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> listening on 127.0.0.1:20000
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> watchdog process pid: 1456
Jan 20 16:05:05 sogod [1456]: <0x0x7f6d5d5b20e0[WOWatchDogChild]> watchdog request timeout set to 10 minutes
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> preparing 10 children
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1650
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1654
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1655
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1666
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1667
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1670
Jan 20 16:05:05 sogod [1655]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1655]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1654]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1654]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1650]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1650]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1672
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1673
Jan 20 16:05:05 sogod [1666]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1666]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1667]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1667]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1670]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1670]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1672]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1672]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1673]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1673]: <0x0x563374a2ffd0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1674
Jan 20 16:05:05 sogod [1456]: <0x0x563374b82460[WOWatchDog]> child spawned with pid 1675
Jan 20 16:05:05 sogod [1674]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1674]: <0x0x563374a2fff0[WOHttpAdaptor]> notified the watchdog that we are ready
Jan 20 16:05:05 sogod [1675]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'
Jan 20 16:05:05 sogod [1675]: <0x0x563374a2fff0[WOHttpAdaptor]> notified the watchdog that we are ready

----

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

2

Re: SOGo webmail and exchange login problem

karanx wrote:

Jan 20 16:05:05 sogod [1655]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'

Why parameter "SOGoProfileURL" is empty in /etc/sogo/sogo.conf? This is required by SOGo.

3

Re: SOGo webmail and exchange login problem

ZhangHuangbin wrote:
karanx wrote:

Jan 20 16:05:05 sogod [1655]: [ERROR] |SOGo| No value specified for 'SOGoProfileURL'

Why parameter "SOGoProfileURL" is empty in /etc/sogo/sogo.conf? This is required by SOGo.

Hello ZhangHuangbin

Sogo is updating every day.
It was again after an update. He did not work later.

I do not know why this is happening.
I was trying to keep the server updated.
I'm having trouble setting up the server. But now, everything outside of SoGo is okay

Below is the file /etc/sogo/sogo.conf.


{
  /* *********************  Main SOGo configuration file  **********************
   *                                                                           *
   * Since the content of this file is a dictionary in OpenStep plist format,  *
   * the curly braces enclosing the body of the configuration are mandatory.   *
   * See the Installation Guide for details on the format.                     *
   *                                                                           *
   * C and C++ style comments are supported.                                   *
   *                                                                           *
   * This example configuration contains only a subset of all available        *
   * configuration parameters. Please see the installation guide more details. *
   *                                                                           *
   * ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over this file,    *
   * make sure to move it away to avoid unwanted parameter overrides.          *
   *                                                                           *
   * **************************************************************************/

  /* Database configuration (mysql:// or postgresql://) */
  //SOGoProfileURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile";
  //OCSFolderInfoURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info";
  //OCSSessionsFolderURL = "postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder";

  /* Mail */
  //SOGoDraftsFolderName = Drafts;
  //SOGoSentFolderName = Sent;
  //SOGoTrashFolderName = Trash;
  //SOGoIMAPServer = localhost;
  //SOGoSieveServer = sieve://127.0.0.1:4190;
  //SOGoSMTPServer = 127.0.0.1;
  //SOGoMailDomain = acme.com;
  //SOGoMailingMechanism = smtp;
  //SOGoForceExternalLoginWithEmail = NO;
  //SOGoMailSpoolPath = /var/spool/sogo;
  //NGImap4ConnectionStringSeparator = "/";

  /* Notifications */
  //SOGoAppointmentSendEMailNotifications = NO;
  //SOGoACLsSendEMailNotifications = NO;
  //SOGoFoldersSendEMailNotifications = NO;

  /* Authentication */
  //SOGoPasswordChangeEnabled = YES;

  /* LDAP authentication example */
  //SOGoUserSources = (
  //  {
  //    type = ldap;
  //    CNFieldName = cn;
  //    UIDFieldName = uid;
  //    IDFieldName = uid; // first field of the DN for direct binds
  //    bindFields = (uid, mail); // array of fields to use for indirect binds
  //    baseDN = "ou=users,dc=acme,dc=com";
  //    bindDN = "uid=sogo,ou=users,dc=acme,dc=com";
  //    bindPassword = qwerty;
  //    canAuthenticate = YES;
  //    displayName = "Shared Addresses";
  //    hostname = ldap://127.0.0.1:389;
  //    id = public;
  //    isAddressBook = YES;
  //  }
  //);

  /* LDAP AD/Samba4 example */
  //SOGoUserSources = (
  //  {
  //    type = ldap;
  //    CNFieldName = cn;
  //    UIDFieldName = sAMAccountName;
  //    baseDN = "CN=users,dc=domain,dc=tld";
  //    bindDN = "CN=sogo,CN=users,DC=domain,DC=tld";
  //    bindFields = (sAMAccountName, mail);
  //    bindPassword = password;
  //    canAuthenticate = YES;
  //    displayName = "Public";
  //    hostname = ldap://127.0.0.1:389;
  //    filter = "mail = '*'";
  //    id = directory;
  //    isAddressBook = YES;
  //  }
  //);


  /* SQL authentication example */
  /*  These database columns MUST be present in the view/table:
   *    c_uid - will be used for authentication -  it's the username or username@domain.tld)
   *    c_name - which can be identical to c_uid -  will be used to uniquely identify entries
   *    c_password - password of the user, plain-text, md5 or sha encoded for now
   *    c_cn - the user's common name - such as "John Doe"
   *    mail - the user's mail address
   *  See the installation guide for more details
   */
  //SOGoUserSources =
  //  (
  //    {
  //      type = sql;
  //      id = directory;
  //      viewURL = "postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_view";
  //      canAuthenticate = YES;
  //      isAddressBook = YES;
  //      userPasswordAlgorithm = md5;
  //    }
  //  );

  /* Web Interface */
  //SOGoPageTitle = SOGo;
  //SOGoVacationEnabled = YES;
  //SOGoForwardEnabled = YES;
  //SOGoSieveScriptsEnabled = YES;
  //SOGoMailAuxiliaryUserAccountsEnabled = YES;
  //SOGoTrustProxyAuthentication = NO;
  //SOGoXSRFValidationEnabled = YES;

  /* General - SOGoTimeZone *MUST* be defined */
  //SOGoLanguage = English;
  //SOGoTimeZone = America/Montreal;
  //SOGoCalendarDefaultRoles = (
  //  PublicDAndTViewer,
  //  ConfidentialDAndTViewer
  //);
  //SOGoSuperUsernames = (sogo1, sogo2); // This is an array - keep the parens!
  //SxVMemLimit = 384;
  //WOPidFile = "/var/run/sogo/sogo.pid";
  //SOGoMemcachedHost = "/var/run/memcached.sock";
  
  /* Debug */
  //SOGoDebugRequests = YES;
  //SoDebugBaseURL = YES;
  //ImapDebugEnabled = YES;
  //LDAPDebugEnabled = YES;
  //PGDebugEnabled = YES;
  //MySQL4DebugEnabled = YES;
  //SOGoUIxDebugEnabled = YES;
  //WODontZipResponse = YES;
  //WOLogFile = /var/log/sogo/sogo.log;
}

4

Re: SOGo webmail and exchange login problem

It's obvious that your sogo.conf is not configured at all. Try to get the backup file under /etc/sogo/ (maybe backed up during package update).

Another way to get a working sogo.conf is setting up a virtual machine and install iRedMail. Copy sogo.conf to your server, replace the mysql username/password, then restart sogo service.

5

Re: SOGo webmail and exchange login problem

ZhangHuangbin wrote:

It's obvious that your sogo.conf is not configured at all. Try to get the backup file under /etc/sogo/ (maybe backed up during package update).

Another way to get a working sogo.conf is setting up a virtual machine and install iRedMail. Copy sogo.conf to your server, replace the mysql username/password, then restart sogo service.

Yes the backup is taken. Now work.

There was a problem ahead.
I had to set up the server again.

Sogo is updating every day. I did not know this good or bad.
thank you.
That's how we did it.

I am sorry for my English

6

Re: SOGo webmail and exchange login problem

karanx wrote:

Sogo is updating every day. I did not know this good or bad.

That doesn't mean you must upgrade sogo everyday.

If it's working fine, you can wait for its next release, then upgrade (from nightly build repo).