Hi all,
Sorry for the late reply. I wrote the patch for /etc/sogo/sogo.conf
that has recently been merged, but I'm very busy so wasn't really
paying attention to the mailing list.
The file is a plist file just like the .GNUstepDefaults is. The file
won't be rewritten by GNUstep, so you can use the plist format and
GNUstep won't convert it to xml. You can also use the xml format if
you prefer that.
The only difference is in the format is that in .GNUstepDefault you
must specify the "sogod" domain, but you must not do that for
sogo.conf. So if you have for example the following .GNUstepDefaults:
{
"sogod" = {
SOGoLanguage = Dutch;
SOGoAppointmentSendEMailNotifications = YES;
SOGoMailingMechanism = smtp;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoDraftsFolderName = Drafts;
...
};
}
Then for sogo.conf that would be:
{
SOGoLanguage = Dutch;
SOGoAppointmentSendEMailNotifications = YES;
SOGoMailingMechanism = smtp;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoDraftsFolderName = Drafts;
...
}
That's all. The sogo.conf file should be readable by the user that's
running sogo/executes the sogo-tool command. It doesn't have to be
writable.
If both GNUstepDefaults and sogo.conf exists, then both are used. What
happens on startup is that first the sogod domain from GNUstepDefault
is loaded. After that sogo.conf is injected in the sogod domain. So if
a configuration parameter is specified in both the one from sogo.conf
will be used.
Kind regards,
Jeroen Dekkers
At Sun, 28 Oct 2012 15:11:39 +0100,
Martin wrote:
>
> Hi everyone,
>
> so far I have not discovered any hints on how to move the settings from
> .GNUstepDefaults to the new sogo.conf in /etc/sogo/sogo.conf
>
> What I need to know:
>
> - what happens to the old configuration settings in GNUstepDefaults? Are
> they simply omitted?
> - what is the normal format of a key-value-pair? Is it - e.g. -
> SOGoMailingMechanism smtp or SOGoMailingMechanism=smtp?
> - how do you have to handle array-values, like SOGoUserSources? Comma
> separed values surrounded by parenthesis?
> - what are the correct user/group-permissions for both the folder and
> the contained file /etc/sogo/sogo.conf? The same as the former
> .GNUstepDefaults?
>
> Thank you for your help in advance and keep up the good work!
>
> Kind regards,
> Martin
--
[email protected]
https://inverse.ca/sogo/lists