[SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Wesley Sangster
Hi Guys

I am busy with a fresh installation of SOGo 2.0.5-1, I am struggling with
the new conf file, the old versions used GNUStep, now you can't even log
into the sogo user. I have tried adding the values manually but I get the
following error restarting the sogo service;

0x0x7f38e4572070[SOGoStartupLogger] Cannot read configuration from
'/etc/sogo/sogo.conf'. Aborting

My config is below;

{
SOGoTimeZone = Africa/Johannesburg;
SOGoMailDomain = macrobert.co.za;
SOGoLanguage = English;
SOGoAppointmentSendEMailNotifications = YES;
SOGoFoldersSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;
SOGoLoginModule = mail;
SOGoSieveScriptsEnabled = YES;
SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoVactionEnabled = YES;
SOGoMailMessageCheck = every_1_minutes;
SOGoFirstDayOfWeek = 1;
SOGoSuperUsernames = (administrator);
OCSFolderInfoURL = mysql://
sogo:password@127.0.0.1:3306/sogo/sogo_folder_info;
SOGoProfileURL = mysql://
sogo:password@127.0.0.1:3306/sogo/sogo_user_profile;
OCSSessionsFolderURL = mysql://
sogo:password@127.0.0.1:3306/sogo/sogo_sessions_folder;
SOGoUserSources = (
{
canAuthenticate = YES;
isAddressBook = YES;
type = sql;
id = users
displayName = SOGo Users;
userPasswordAlgorithm = md5;
viewURL = mysql://sogo:password@127.0.0.1:3306/sogo/sogo_users;

}
);
SOGoMailingMechanism = smtp;
SOGoSMTPServer = 127.0.0.1;
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = 127.0.0.1;
}

Is there a command for sogo-tool to insert the values into the conf file
like the defaults write used to? If so can someone provide an example with
the SOGoDraftsFolderName key.

Any help would be greatly appreciated!

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

[SOGo] After update to SOGo 2.0.5 samba4 crashing

2013-04-15 Thread Deniss Gubanov

Hello,

When i'am running Outlook, which logged in SOGo/OpenChange server, 
samba4 always at same moment crashing with error:


/usr/sbin/samba: Uncaught exception NSInvalidArgumentException, reason: 
Tried to add nil key to dictionary




Ubuntu 12.04
Postfix+Dovecot
OpenLDAP
samba44.0.1
sogo  2.0.5-1
sogo-openchange   2.0.5-1
openchange-ocsmanager 1:2.0.r3665-1~inverse1.0
openchange-rpcproxy   1:2.0.r3665-1~inverse1.0
openchangeclient  1:2.0.r3665-1~inverse1.0
openchangeproxy   1:2.0.r3665-1~inverse1.0
openchangeserver  1:2.0.r3665-1~inverse1.0

Samba4 log  http://pastebin.com/KENqMXb1

Any suggestions?

--
Deniss Gubanov
Serverock Systems OÜ  |  Mustamäe tee 24
tel: +372 684 8400  |  www.serverock.ee

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


Re: [SOGo] using Free/Busy in Thunderbird

2013-04-15 Thread Silver Salonen
Hi.

I now tried Thunderbird Integrator and in there my calendars are automatically 
provided for me and I see my colleagues' Free/Busy information too.

Some questions remain though.

On Friday 12 April 2013 17:15:14 Silver Salonen wrote:
 On Friday 12 April 2013 13:35:27 Marc Patermann wrote:
  Silver Salonen schrieb (12.04.2013 10:37 Uhr):
   1) Free / Busy URL field in the address book - I just can't find 
   it, where is it?
  Where did you find that phrase?
 
 In SOGo Mozilla Thunderbird Configuration.pdf document

I still can't find the Free/Busy URL field.

   3) Is there a way to add an address book with all existing users to 
   Thunderbird? The target is to get calendar planning working properly,
so that all the users could see other users' free/busy information. 
   Free/Busy works fine through web interface, but actually I can't find
a list with existing users from there either.
  
  On first start SOGo pulls the personal address book and copies it to an 
  SOGo remote address book by default.
 
 On first start of what? SOGo Integrator?

I've still not found an addressbook that would contain all the local users of 
SOGo server - not even in web interface. Does such an addressbook exist?

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


Re: [SOGo] sogo event invitations

2013-04-15 Thread Christian Mack
Hello ISC


Am 2013-03-22 16:31, schrieb li...@isc-konstanz.de:
 
 we have set up sogo on one of our ubuntu servers and we noticed that 
 with the new thunderbird 17.0.3 esr version the email address of the 
 organizer is set to first_name.last_name@localhost by default, which 
 means that users can no longer send invitations to the people attending 
 an event.
 
  Would you kindly refer me to any kind of relevant causes/documentation 
 on the issue? Many thanks.
 

What have you set in your defaults for SOGoMailDomain on your server?


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] After update to SOGo 2.0.5 samba4 crashing

2013-04-15 Thread Ludovic Marcotte

On 15/04/13 05:00, Deniss Gubanov wrote:
Any suggestions? 
Have a look at this: 
http://www.sogo.nu/english/nc/support/faq/article/how-do-i-debug-sogo.html


Thanks,

--
Ludovic Marcotte
+1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Jean Raby

On 13-04-15 4:42 AM, Wesley Sangster wrote:

Hi Guys

I am busy with a fresh installation of SOGo 2.0.5-1, I am struggling with the
new conf file, the old versions used GNUStep, now you can't even log into the
sogo user. I have tried adding the values manually but I get the following error
restarting the sogo service;
the sogo user is now a 'system' user, with 'nologin' as a shell, so this is 
expected.


0x0x7f38e4572070[SOGoStartupLogger] Cannot read configuration from
'/etc/sogo/sogo.conf'. Aborting

My config is below;

{
SOGoTimeZone = Africa/Johannesburg;
SOGoMailDomain = macrobert.co.za;
SOGoLanguage = English;
SOGoAppointmentSendEMailNotifications = YES;
SOGoFoldersSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;
SOGoLoginModule = mail;
SOGoSieveScriptsEnabled = YES;
SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoVactionEnabled = YES;
SOGoMailMessageCheck = every_1_minutes;
SOGoFirstDayOfWeek = 1;
SOGoSuperUsernames = (administrator);
OCSFolderInfoURL = mysql://sogo:password@127.0.0.1:3306/sogo/sogo_folder_info
http://sogo:password@127.0.0.1:3306/sogo/sogo_folder_info;
SOGoProfileURL = mysql://sogo:password@127.0.0.1:3306/sogo/sogo_user_profile
http://sogo:password@127.0.0.1:3306/sogo/sogo_user_profile;
OCSSessionsFolderURL =
mysql://sogo:password@127.0.0.1:3306/sogo/sogo_sessions_folder
http://sogo:password@127.0.0.1:3306/sogo/sogo_sessions_folder;
SOGoUserSources = (
 {
canAuthenticate = YES;
isAddressBook = YES;
type = sql;
id = users  

There's a ';' missing here.

displayName = SOGo Users;
userPasswordAlgorithm = md5;
viewURL = mysql://sogo:password@127.0.0.1:3306/sogo/sogo_users
http://sogo:password@127.0.0.1:3306/sogo/sogo_users;

 }
);
SOGoMailingMechanism = smtp;
SOGoSMTPServer = 127.0.0.1;
SOGoDraftsFolderName = Drafts;
SOGoSentFolderName = Sent;
SOGoTrashFolderName = Trash;
SOGoIMAPServer = 127.0.0.1;
}

Is there a command for sogo-tool to insert the values into the conf file like
the defaults write used to? If so can someone provide an example with the
SOGoDraftsFolderName key.
No, sogo-tool is not designed for that. If you really want to keep the old 
behavior, leave your defaults  into ~sogo/GNUstep/Defaults/.GNUstepDefaults and 
continue to use 'defaults' to mangle^Wmanage your config. It will work as it 
used to.


As for the SOGoDraftFolderName key, the syntax in the config file above is just 
fine, so it should work once you add a semi-colon at the end of the 'id' line.


Any help would be greatly appreciated!

Wesley



--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Wesley Sangster
Thanks very much Jean, added the ';' and I was good to go. Feel embarrassed.


On Mon, Apr 15, 2013 at 2:56 PM, Jean Raby jr...@inverse.ca wrote:

 On 13-04-15 4:42 AM, Wesley Sangster wrote:

 Hi Guys

 I am busy with a fresh installation of SOGo 2.0.5-1, I am struggling with
 the
 new conf file, the old versions used GNUStep, now you can't even log into
 the
 sogo user. I have tried adding the values manually but I get the
 following error
 restarting the sogo service;

 the sogo user is now a 'system' user, with 'nologin' as a shell, so this
 is expected.


 0x0x7f38e4572070[**SOGoStartupLogger] Cannot read configuration from
 '/etc/sogo/sogo.conf'. Aborting

 My config is below;

 {
 SOGoTimeZone = Africa/Johannesburg;
 SOGoMailDomain = macrobert.co.za;
 SOGoLanguage = English;
 SOGoAppointmentSendEMailNotifi**cations = YES;
 SOGoFoldersSendEMailNotificati**ons = YES;
 SOGoACLsSendEMailNotifications = YES;
 SOGoLoginModule = mail;
 SOGoSieveScriptsEnabled = YES;
 SOGoSieveServer = sieve://127.0.0.1:4190;
 SOGoVactionEnabled = YES;
 SOGoMailMessageCheck = every_1_minutes;
 SOGoFirstDayOfWeek = 1;
 SOGoSuperUsernames = (administrator);
 OCSFolderInfoURL = mysql://sogo:password@127.0.**
 0.1:3306/sogo/sogo_folder_infohttp://sogo:password@127.0.0.1:3306/sogo/sogo_folder_info
 http://sogo:password@127.0.0.**1:3306/sogo/sogo_folder_infohttp://sogo:password@127.0.0.1:3306/sogo/sogo_folder_info
 **;

 SOGoProfileURL = mysql://sogo:password@127.0.**0.1:3306/sogo/sogo_user_*
 *profile http://sogo:password@127.0.0.1:3306/sogo/sogo_user_profile
 http://sogo:password@127.0.0.**1:3306/sogo/sogo_user_profilehttp://sogo:password@127.0.0.1:3306/sogo/sogo_user_profile
 **;

 OCSSessionsFolderURL =
 mysql://sogo:password@127.0.**0.1:3306/sogo/sogo_sessions_**folderhttp://sogo:password@127.0.0.1:3306/sogo/sogo_sessions_folder
 http://sogo:password@127.0.0.**1:3306/sogo/sogo_sessions_**folderhttp://sogo:password@127.0.0.1:3306/sogo/sogo_sessions_folder
 ;

 SOGoUserSources = (
  {
 canAuthenticate = YES;
 isAddressBook = YES;
 type = sql;
 id = users

 There's a ';' missing here.

 displayName = SOGo Users;
 userPasswordAlgorithm = md5;
 viewURL = 
 mysql://sogo:password@127.0.**0.1:3306/sogo/sogo_usershttp://sogo:password@127.0.0.1:3306/sogo/sogo_users
 http://sogo:password@127.0.0.**1:3306/sogo/sogo_usershttp://sogo:password@127.0.0.1:3306/sogo/sogo_users
 ;


  }
 );
 SOGoMailingMechanism = smtp;
 SOGoSMTPServer = 127.0.0.1;
 SOGoDraftsFolderName = Drafts;
 SOGoSentFolderName = Sent;
 SOGoTrashFolderName = Trash;
 SOGoIMAPServer = 127.0.0.1;
 }

 Is there a command for sogo-tool to insert the values into the conf file
 like
 the defaults write used to? If so can someone provide an example with the
 SOGoDraftsFolderName key.

 No, sogo-tool is not designed for that. If you really want to keep the old
 behavior, leave your defaults  into ~sogo/GNUstep/Defaults/.**GNUstepDefaults
 and continue to use 'defaults' to mangle^Wmanage your config. It will work
 as it used to.

 As for the SOGoDraftFolderName key, the syntax in the config file above is
 just fine, so it should work once you add a semi-colon at the end of the
 'id' line.


 Any help would be greatly appreciated!

 Wesley



 --
 Jean Raby
 jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
 www.packetfence.org)
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists




-- 
Wesley Sangster
Cell: +2783 412 2248
Email: big.mac.wes...@gmail.com
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Marcio Merlone

Em 15-04-2013 09:56, Jean Raby escreveu:

On 13-04-15 4:42 AM, Wesley Sangster wrote:

Hi Guys

I am busy with a fresh installation of SOGo 2.0.5-1, I am struggling 
with the
new conf file, the old versions used GNUStep, now you can't even log 
into the
sogo user. I have tried adding the values manually but I get the 
following error

restarting the sogo service;
the sogo user is now a 'system' user, with 'nologin' as a shell, so 
this is expected.


But you can still login as that user issuing 'sudo - sogo -s /bin/bash'.

[ ]'s.

--
*Marcio Merlone*
TI - Administrador de redes

*A1 Engenharia - Unidade Corporativa*
Fone:   +55 41 3616-3797
Cel:+55 41 9689-0036

http://www.a1.ind.br/ http://www.a1.ind.br
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] using Free/Busy in Thunderbird

2013-04-15 Thread Christian Mack
Am 2013-04-15 11:44, schrieb Silver Salonen:
 Hi.
 
 I now tried Thunderbird Integrator and in there my calendars are 
 automatically provided for me and I see my colleagues' Free/Busy information 
 too.
 
 Some questions remain though.
 
 On Friday 12 April 2013 17:15:14 Silver Salonen wrote:
 On Friday 12 April 2013 13:35:27 Marc Patermann wrote:
 Silver Salonen schrieb (12.04.2013 10:37 Uhr):
 1) Free / Busy URL field in the address book - I just can't find 
 it, where is it?
 Where did you find that phrase?

 In SOGo Mozilla Thunderbird Configuration.pdf document
 
 I still can't find the Free/Busy URL field.
 
 3) Is there a way to add an address book with all existing users to 
 Thunderbird? The target is to get calendar planning working properly,
  so that all the users could see other users' free/busy information. 
 Free/Busy works fine through web interface, but actually I can't find
  a list with existing users from there either.

 On first start SOGo pulls the personal address book and copies it to an 
 SOGo remote address book by default.

 On first start of what? SOGo Integrator?
 
 I've still not found an addressbook that would contain all the local users of 
 SOGo server - not even in web interface. Does such an addressbook exist?
 

That depends on your server configuration.
If you use LDAP as user source, and have it set as isAddressBook = YES;
then you will see a global address book.
It seems to be empty, but you can search in it.
Just use the search field on the right side of the webinterface.

That is also true for Thunderbird.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Wesley Sangster
Thanks, Marcio, I will try that tomorrow and give you feedback, great bunch
of guys here

Wesley Sangster
Email: big.mac.wes...@gmail.com
Mobile: +2783 412 2248
On 15 Apr 2013 4:54 PM, Marcio Merlone marcio.merl...@a1.ind.br wrote:

  Em 15-04-2013 09:56, Jean Raby escreveu:

 On 13-04-15 4:42 AM, Wesley Sangster wrote:

 Hi Guys

 I am busy with a fresh installation of SOGo 2.0.5-1, I am struggling with
 the
 new conf file, the old versions used GNUStep, now you can't even log into
 the
 sogo user. I have tried adding the values manually but I get the following
 error
 restarting the sogo service;

 the sogo user is now a 'system' user, with 'nologin' as a shell, so this
 is expected.


 But you can still login as that user issuing 'sudo - sogo -s /bin/bash'.

 [ ]'s.

 --
  *Marcio Merlone*
 TI - Administrador de redes

 *A1 Engenharia - Unidade Corporativa*
   Fone: +55 41 3616-3797  Cel: +55 41 9689-0036  http://www.a1.ind.br/

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

[SOGo] How to copy an adressbook from Google to SOGo?

2013-04-15 Thread Michael Vogel
Hi!

Since I'm switching from Google Apps to my personal server with SOGo I
want to switch my data as well.

Question is: How can I copy my adressbook?

I'm using MacOS and Linux as a client.

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


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Szládovics Péter
2013-04-15 10:42 keltezéssel, Wesley Sangster írta:
 Is there a command for sogo-tool to insert the values into the conf
 file like the defaults write used to?

I'm not sure it's working as well, but try free this bash script to
convert GNUstep defaults (created by defaults write sogod) to
/etc/sogo/sogo.conf format.

This script only reads the XML file and displays the .conf format to the
screen (can be redirect to file).

# sogoconvert.sh -
#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

OLD=`nl -w 1 ~sogo/GNUstep/Defaults/.GNUstepDefaults | sed
s/^\([0-9]\+\)\t\s*/\1|/`
MAX=$(echo $OLD | tail -1 | cut -d'|' -f1)
HOOK=1
unset HC
unset inarray

for LN in $(seq 1 $MAX); do
  LINE=$(echo $OLD | egrep ^$LN\| | cut -d'|' -f2-)
  TAG=`echo $LINE | sed s/^\([^]\+\).*/\1/ | tr A-Z a-z`
  VAL=`echo $LINE | sed s/^.*\([^]\+\).*/\1/`
  case $TAG in
dict)
echo $HC{
HOOK=$(expr $HOOK + 2)
HC=$(echo  | colrm $HOOK)
unset inarray
;;
/dict)
echo $HC}
HOOK=$(expr $HOOK \- 2)
HC=$(echo  | colrm $HOOK)
;;
key)
echo -n $HC$VAL = 
;;
array)
echo -e (
inarray=1
;;
/array)
[ $inarray ]  echo
echo $HC);
unset inarray
;;
string)
if [ -z $inarray ]; then
  echo $VAL;
elif [ $inarray -eq 1 ]; then
  echo -n $HC  $VAL
  inarray=2
else
  echo -ne ,\n$HC  $VAL
fi
;;
esac
done
echo }

# End of script

Maybe some lines can be remove from the output. Could someone try it?
Thanks,

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


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Jean Raby

On 13-04-15 3:23 PM, Szládovics Péter wrote:

I'm not sure it's working as well, but try free this bash script to
convert GNUstep defaults (created by defaults write sogod) to
/etc/sogo/sogo.conf format.

This script only reads the XML file and displays the .conf format to the
screen (can be redirect to file).

wait wait wait

do this:
  sudo -u sogo sogo-tool dump-defaults


--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


Re: [SOGo] not sure how to add values to /etc/sogo/sogo.conf

2013-04-15 Thread Szládovics Péter
2013-04-15 21:32 keltezéssel, Jean Raby írta:
 On 13-04-15 3:23 PM, Szládovics Péter wrote:
 I'm not sure it's working as well, but try free this bash script to
 convert GNUstep defaults (created by defaults write sogod) to
 /etc/sogo/sogo.conf format.

 This script only reads the XML file and displays the .conf format to the
 screen (can be redirect to file).
 wait wait wait

 do this:
   sudo -u sogo sogo-tool dump-defaults

I should read docs sometimes instead of writing scripts :)
Thx
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] BTS activities for Monday, April 15 2013

2013-04-15 Thread SOGo reporter
Title: BTS activities for Monday, April 15 2013





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Monday, April 15 2013

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2180
	2013-04-15 07:09:04
	updated (open)
	Web Calendar
	Unable to export shared calendar
	
	  
	
2284
	2013-04-15 10:32:42
	updated (open)
	Web Calendar
	Can't import events (ics) to foreign calendar
	
	  
	
2289
	2013-04-15 06:58:43
	new (open)
	Web Mail
	Convert typed link to URL
	
	  
	
  
  




[SOGo] New installation; appliance

2013-04-15 Thread inverse
HI guys,

Doing my due-diligence in looking for a solution  SOGo is a pretty decent fit
(other alternatives being weighed up being Zimbra  Zarafa)

I've followed the guide @ LJ (http://www.linuxjournal.com/article/10894) 
looking over some other docs/guides (including the numerous ones delving into
iRedMail). 
Set up a new install on a Debian stable VM with MySQL (SAML2) authentication -
want to keep thing simple initially before adding LDAP  other integration.

The results are limited, but allows me to get a basic idea.

Ideally I would like to set up a ZEG appliance-type setup as available @
http://www.sogo.nu/english/downloads/zeg.html for VMWare (VMDK)  VirtualBox
(OVA), but my own infrastructure differs slightly, in that my HV is oVirt on
KVM/libvirt  It'll likely run on a Debian VM (LXC'd) - rather than Ubuntu.
Presently referencing instructions provided @
http://tracker.openchange.org/projects/1/wiki/HowTo_build_your_own_OpenChangeSOGo_appliance

If I'm reading ^this^ correctly, hard-coded values  all, I believe I'll end up
with a standalone system more than an appliance as per the OVA/VMDK images
provided.
Correct?

Is there a script that I can reference/modify that would enable me to
roll/deploy a SOGo instance  just fill in or generate the blanks unique to a
particular environment, as I would expect to be the case with an appliance
release?

I'll next reference both the appliance  documentation mentioned before, but
would like to get some more input.

Thanks in advance
Kind regards

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