Hello,

I installed the sogo packages provided by Inverse under Debian Squeeze.
Then I tried to to the configuration of /home/sogo/GNUstep/Defaults/.GNUstepDefaults
with the following content:

{
    NSGlobalDomain = {
    };

   sogod = {
                SOGoProfileURL = 
"mysql://sogo:password@localhost:3306/sogo/sogo_user_profile";
                OCSFolderInfoURL 
"mysql://sogo:password@localhost:3306/sogo/sogo_folder_info";
                SOGoAppointmentSendEMailNotifications = YES;
                SOGoCalendarDefaultRoles = (
                        PublicViewer,
                        CofidentialDAndTViewer
                );
                SOGoLanguage = German;
                SOGoMailDomain = domain.de;
                SOGoDraftsFolderName = Drafts;
                SOGoIMAPServer = imap.domain.de;
                SOGoUserSources = (
                      {
                        type = ldap;
                        CNFieldName = cn;
                        IDFieldName = uid;
                        UIDFieldName = uid;
                        baseDN = "ou=user,dc=domain,dc=de";
                        bindDN = "cn=sogo,ou=user,dc=domain,dc=de";
                        bindPassword = password;
                        canAuthenticate = YES;
                        displayName = "SOGo Server"
                        hostname = localhost;
                        id = public;
                        isAdressBook = YES;
                        port = 389;
                      }
                );
                SOGoMailingMechanism = smtp;
                SOGoSMTPServer = smtp.domain.de;
                SOGoSentFolderName = Sent;
                SOGoTimeZone = Europe/Berlin;
                SOGoTrashFolderName = Trash;
             };
}

When I tried to start sogo I got the error:

Starting SOGo: sogo2011-03-17 14:57:55.257 sogod[8097] File NSDictionary.m: 
625. In -[NSDictionary initWithContentsOfFile:] Contents of file 
'/home/sogo/GNUstep/Defaults/.GNUstepDefaults' does not contain a dictionary
<0x0x1561600[SOGoStartupLogger]> No configuration found. SOGo will not work 
properly.

I googled for that error and found that e.g. a "defaults write sogod SOGoLanguage = German" should convert that file into the
XML Version of that file. But that doesn't work for me. I get:

defaults write sogod SOGoLanguage = German
2011-03-17 14:56:25.593 defaults[7940] File NSDictionary.m: 625. In 
-[NSDictionary initWithContentsOfFile:] Contents of file 
'/home/sogo/GNUstep/Defaults/.GNUstepDefaults' does not contain a dictionary
2011-03-17 14:56:25.597 defaults[7940] File NSDictionary.m: 625. In 
-[NSDictionary initWithContentsOfFile:] Contents of file 
'/home/sogo/GNUstep/Defaults/.GNUstepDefaults' does not contain a dictionary

And I get a .GNUstepDefaults:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" 
"http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
        <key>SOGoLanguage</key>
        <string>=</string>
    </dict>
</dict>
</plist>


So there's no conversion of the file.

Can someone give me a hint, what to do to get .GNUstepDefaults into XML Format?

Thanks!
Thomas
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to