Re: [SOGo] How to import settings from GNUStep to sogo.conf

2013-02-12 Thread Jeroen Dekkers
Hi,

At Mon, 11 Feb 2013 19:54:33 +0100,
Sean M. Pappalardo wrote:
> Thank you for the information, but I'm having problems getting SOGo to 
> read my config file. It just replies with the not-helpful "Contents of 
> file '/etc/sogo/sogo.conf' does not contain a dictionary"
> 
> Since my config is long, how can I get it to tell me what line of the 
> config file it doesn't like? Do we need semicolons after each directive? 
> After each close parenthesis? After each close brace?

GNUstep indeed doesn't give back any useful error message. There
doesn't seem much we can do about that.

> Through trial and error, I found so far that it doesn't seem to like 
> quotes and the "?tls=YES" in a URL throws it off, but it still has 
> problems with my 95-line config. (Trial and error is an extremely 
> frustrating way to troubleshoot.)

Quotes are used to quote values. If you want to use quotes inside
values you can escape it with \", for example

key = "value \"quoted\"";

If you want to use "=" as part of a value, you also need to put that
value in quotes. As far as I understand the plist format this will
give an error:

SOGoIMAPServer = imaps://localhost:143/?tls=YES;

And this shouldn't:

SOGoIMAPServer = "imaps://localhost:143/?tls=YES";

If you still have problems, post your configuration file so we can
take a look at it.

Kind regards,

Jeroen Dekkers
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] How to import settings from GNUStep to sogo.conf

2013-02-11 Thread Sean M. Pappalardo

Hello.

Thank you for the information, but I'm having problems getting SOGo to 
read my config file. It just replies with the not-helpful "Contents of 
file '/etc/sogo/sogo.conf' does not contain a dictionary"


Since my config is long, how can I get it to tell me what line of the 
config file it doesn't like? Do we need semicolons after each directive? 
After each close parenthesis? After each close brace?


Through trial and error, I found so far that it doesn't seem to like 
quotes and the "?tls=YES" in a URL throws it off, but it still has 
problems with my 95-line config. (Trial and error is an extremely 
frustrating way to troubleshoot.)


Thanks for your time.

Sincerely,
Sean M. Pappalardo
Sr. Networks Engineer
Renegade Technologies
spappala...@renegadetech.com
Office: (630) 631-6188
http://www.renegadetech.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] How to import settings from GNUStep to sogo.conf

2012-11-11 Thread Jeroen Dekkers
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
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] How to import settings from GNUStep to sogo.conf

2012-11-07 Thread Josep L. Guallar-Esteve
 

On 2012-10-28 10:11, 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

I'd love to know
about .GNUstepDefaults > /etc/sogo/sogo.conf as well. 

Regards,
Josep
 


This transmission is intended for the use of the entity or individual to which
or whom it is addressed.  The transmission or any documents accompanying the
transmission may contain confidential information.  If you are not the intended
recipient, you are hereby notified that any disclosure, copying, distribution,
or action taken in reliance on the contents of the transmission or the
documents is strictly prohibited. If you have received this confidential
transmission in error, please destroy it and any accompanying documents and
notify the sender immediately.  Thank you.-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] How to import settings from GNUStep to sogo.conf

2012-11-07 Thread Martin Rabl

Am 07.11.2012 11:39, schrieb Mark Heisterkamp:

Am 02.11.12 11:03, schrieb mourik jan heupink:

Anybody?

I'm just as curious as you are...

Me too!

Jo, me too, too!

--
Greetings,

   Martin Rabl
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] How to import settings from GNUStep to sogo.conf

2012-11-07 Thread Mark Heisterkamp

Am 02.11.12 11:03, schrieb mourik jan heupink:


Anybody?


I'm just as curious as you are...



Me too!

--
Mark Heisterkamp  Leibniz Universität IT Services
Arbeitsplatzrechner & Sicherheit  Schlosswender Str. 5
Tel: +49 511 762-5134 D-30159 Hannover
Fax: +49 511 762-3003

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] How to import settings from GNUStep to sogo.conf

2012-11-06 Thread Martin

Am 02.11.2012 11:03, schrieb mourik jan heupink:

I'm just as curious as you are...


Maybe some developer could make a short note on that issue, please?



smime.p7s
Description: S/MIME Kryptografische Unterschrift


Re: [SOGo] How to import settings from GNUStep to sogo.conf

2012-11-02 Thread mourik jan heupink
> 
> Anybody?
> 
I'm just as curious as you are...
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] How to import settings from GNUStep to sogo.conf

2012-11-02 Thread Martin

Am 28.10.2012 15:11, schrieb Martin:

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?



Anybody?



smime.p7s
Description: S/MIME Kryptografische Unterschrift


[SOGo] How to import settings from GNUStep to sogo.conf

2012-10-28 Thread Martin

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



smime.p7s
Description: S/MIME Kryptografische Unterschrift