Obsolete Releases > SME 8.x Contribs

SME8 32 bits: problem with SOGo and siebe

<< < (2/3) > >>

Arnaud:
Hi Nicola,

the /etc/sogo/sogo.conf is as follow:

--- Code: ---*
 * ------------------------------------------------------------
 *        !!DO NOT MODIFY THIS FILE!!
 * 
 *  Manual changes will be lost when this file is regenerated.
 *
 *  Please read the developer's guide, which is available
 *  at http://www.contribs.org/development/
 *
 *  Copyright (C) 1999-2006 Mitel Networks Corporation
 * ------------------------------------------------------------
 */
{
        NGUseUTF8AsURLEncoding = YES;
        OCSFolderInfoURL = "mysql://sogo:42rqgeUy8muPJaaxVUzmnrRy1DH5ELQS5p4PnUYLR0LQDyP7rcTPfAKM6P6oXbtbPuMFMJhVIecF@localhost/sogo/sogo_folder_info";
        OCSSessionsFolderURL = "mysql://sogo:42rqgeUy8muPJaaxVUzmnrRy1DH5ELQS5p4PnUYLR0LQDyP7rcTPfAKM6P6oXbtbPuMFMJhVIecF@localhost/sogo/sogo_sessions_folder";
        SOGoACLsSendEMailNotifications = NO;
        SOGoAppointmentSendEMailNotifications = YES;
        SOGoAppointmentSendEMailReceipts = YES;
        SOGoAuthenticationMethod = LDAP;
        SOGoDraftsFolderName = Drafts;
        SOGoEnablePublicAccess = YES;
        SOGoFoldersSendEMailNotifications = NO;
        SOGoIMAPServer = localhost;
        SOGoMailDomain = guedel.eu;
        SOGoMailingMechanism = smtp;
        SOGoProfileURL = "mysql://sogo:42rqgeUy8muPJaaxVUzmnrRy1DH5ELQS5p4PnUYLR0LQDyP7rcTPfAKM6P6oXbtbPuMFMJhVIecF@localhost/sogo/sogo_user_profile";
        SOGoSMTPServer = localhost;
        SOGoSentFolderName = Sent;
        SOGoSuperUsernames = (
            admin
        );
        SOGoTimeZone = Europe/Berlin;
        SOGoTrashFolderName = Trash;
        WOWorkersCount = 3;
        SOGoMailAuxiliaryUserAccountsEnabled = YES;
SOGoMailCustomFromEnabled = YES;

        SOGoSieveServer = sieve://localhost:4190;
        SOGoSieveScriptsEnabled = YES;
        SOGoVacationEnabled = YES;
        SOGoForwardEnabled = YES;
        NGImap4ConnectionStringSeparator = ".";

        SOGoUserSources = (

            {
                CNFieldName = cn;
                IDFieldName = uid;
                UIDFieldName = uid;
                baseDN = "ou=Users,dc=guedel,dc=eu";
                canAuthenticate = YES;
                displayName = "Users";
                hostname = localhost;
                id = users;
                isAddressBook = YES;
                port = ;
                type = ldap;
            },
            { 
                CNFieldName = cn;
                IDFieldName = cn;
                UIDFieldName = cn;
                baseDN = "ou=Groups,dc=guedel,dc=eu";
                canAuthenticate = YES;
                displayName = "Groups";
                hostname = localhost;
                id = groups;
                isAddressBook = YES;
                port = ;
                type = ldap;
            }
        );
        WOMessageUseUTF8 = YES;
        WOParsersUseUTF8 = YES;
        WOPort = 127.0.0.1:20000;
        WOUseRelativeURLs = YES;
}
--- End code ---

The server has of course already some history, but nothing exotic.
I tried on the virtual machine (that is an old clone of the prod server): exactly the same reaction  :sad: The popup only says that the service is not available right now.

I'm thinking about installing sme8 64 bits on the prod server and restore datas and parameter with affa --full-restore. If it woks (= if all the parameters of the 32 bits are compatible with the 64 bits - I think they are) it could be the easier and faster solution (even if it's not the solution of this problem).

But before I'll have a look on the sogo.conf of my 64bits tests machine and compare with the 32 bits.

Regards

Arnaud

nicolatiana:

--- Quote ---WOWorkersCount = 3;
--- End quote ---
+

--- Quote ---https://lists.inverse.ca/sogo/arc/users/2013-11/msg00084.html

--- End quote ---

According to this post try to modify the above parameter, at first directly (to see if give You some benefit), then modifying a custom template.

Nicola

P.S.: maybe your 64 bit is a fresh install ?

Daniel B.:
The problem is not the number of workers, but the fact that you have:


--- Code: ---SOGoSieveServer = "sieve://localhost:4190";
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;

--- End code ---

In sogo.conf

SME doesn't run a sieve service on a default install (unless you use this: https://wikit.firewall-services.com/doku.php/smedev/dovecot, but it's not a default install anymore in this case ;-)). Those directives should be set to NO instead of YES, so SOGo won't try to reach a sieve server, and won't fail anymore when saving preferences.

If you're running the contrib from http://smeserver.nethesis.it/releases/8/i386/smeserver-sogo-1.0.1-1.el5.nh.noarch.rpm the responsible template is /etc/e-smith/templates/etc/sogo/sogod.conf/10defaults, arround line 29:


--- Code: ---    # check nethservice version for disable sieve filter   
    if ($sysconfig{'ReleaseVersion'} =~ m/^8\.[123456789]$/) {
my $SievePort= ($sogod{'SievePort'} || "4190");
        [...]

--- End code ---

Which means sieve is enabled only if you have a ReleaseVersion prop of the sysconfig entry is 8.something. This is a bug in the contrib, as this release version doesn't guarantee you'll have sieve enabled (Nethesis guys probably install a custom IMAP service with sieve enabled). You can override this 10defaults template with a custom-template to disable sieve support.

nicolatiana:

--- Quote ---SOGoSieveServer = "sieve://localhost:4190";
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;
--- End quote ---
I did not considered it, sorry; after my recent issues I've upgraded all of my Sogo servers to Dovecot 2.x so for me the above setting are usual.  :-?

More or less Nethesis do something like FWS to run Dovecot 2.x, I suppose

Not clear why in Arnaud's 64 bit is working.

Nicola

Arnaud:
Hello Daniel
and many thanks for your information: I will try this direction asap and give a (I hope positiv!) report.

For info: the sogo.conf of the 64 bit = sogo.conf of the 32 bits. The 64bits machine is a clone (via affa-restore) of the 32bits machine.

Bye.
Arnaud

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version