[SOGo] FreeBSD startup script

2010-12-17 Thread euan.thoms
I got SOGo 1.3.4 to compile and install on FreeBSD 8.1, wohoo!

I will write up my procedure and post it somewhere when I have the time, It was
quite easy though. However, making a startup script was a bit harder, so I
thought I'd share it. Maybe it could go in the source code bundle for other
FreeBSD users.

For reference; GNUstep is installed in /usr/local/GNUstep on FreeBSD, this
needs changing in the SOGo.conf file for apache.

  # cp /usr/local/src/SOGo/SOGo-1.3.4/Apache/SOGo.conf
/usr/local/etc/apache22/Includes/
  # nano /usr/local/etc/apache22/Includes/SOGo.conf

change /usr/GNUstep to /usr/local/GNUstep

then add 'sogod_enable=YES' to /etc/rc.conf

then add rc script for sogod:
# nano /usr/local/etc/rc.d/sogod

#!/bin/sh
 #
 #
 # PROVIDE: sogod
 # REQUIRE: memcached
 #
 # Add the following lines to /etc/rc.conf to enable sogod:
 #
 # sogod_enable (bool): Set it to YES to enable sogod.
 # Default is NO
 #
 #
 
 . /etc/rc.subr
 
 name=sogod
 rcvar=`set_rcvar`
 
 load_rc_config ${name} 

 : ${sogod_enable=NO}
 : ${sogod_user=sogo}
 : ${sogod_group=sogo}
 : ${sogod_workers=-WOWorkersCount 1}
 : ${sogod_command=/usr/local/GNUstep/Local/Tools/Admin/sogod}
 : ${sogod_logfile=/var/log/sogo/sogo.log}

 pidfile=/var/run/sogo/sogo.pid
 command=/usr/sbin/daemon
 command_args=-p ${pidfile} -u ${sogod_user} ${sogod_command} ${sogod_workers}
-WOPidFile ${pidfile} -WOLogFile ${sogod_logfile}
 
 start_precmd=sogod_prestart
 start_cmd=sogod_start
 stop_cmd=sogod_stop
 status_cmd=sogod_status

 sogod_prestart() {
   if [ ! -d `dirname ${pidfile}` ]; then
 mkdir `dirname ${pidfile}`  chown ${sogod_user}:${sogod_group} `dirname
${pidfile}`
   fi
   if [ ! -d `dirname ${sogod_logfile}` ]; then
 mkdir `dirname ${sogod_logfile}`
 touch ${sogod_logfile}  chown ${sogod_user}:${sogod_group}
${sogod_logfile}
   fi
   if [ -z ${GNUSTEP_SYSTEM_ROOT} ]; then
 . /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh
   fi
 }

 sogod_start () {
 ${command} ${command_args} 
 }

 sogod_stop () {
 kill `cat ${pidfile}`
 }

 sogod_status () {
 if [ -f ${pidfile} ]; then
   echo ${name} is running as pid `cat ${pidfile}`
 else
   echo ${name} is not running
 fi
 }
 
 run_rc_command $1


omitting the   and  of course!

then assuming a user called sogo with matching group name has been created, and
ht e'defaults' are set, it's just: 
# service start sogod


/etc/passwd for me looks like this:
#cat /etc/passwd | grep sogo
sogo:*:1002:1002:SOGo Admin:/home/sogo:/usr/local/bin/bash

Hope this helps someone.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Can't access web interface (proxy error) after clean installation

2010-12-17 Thread Advrk Aplmrkt
Hello,

I've managed to install SOGo on ClearOS 5.2 (which is basically CentOS 5.5
with MySQL, openldap, etc. preinstalled).
However, whenever I try to connect to the web interface at
https://MYDOMAINNAME/SOGo, I get the following error:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /SOGo.

Reason: Error reading from remote server

What does this mean, and how to I solve this problem?

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

[SOGo] Developer's Guide

2010-12-17 Thread Alessio Fattorini
We need some information about develop for SOGo, we need to integrate SOGo calendar with our CRM 
vtiger. Is there any guide/tip? Can you help me?

Thanks
--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Developer's Guide

2010-12-17 Thread André Schild

Am 17.12.2010 11:26, schrieb Alessio Fattorini:
We need some information about develop for SOGo, we need to integrate 
SOGo calendar with our CRM vtiger. Is there any guide/tip? Can you 
help me?

Thanks

I think the cleanest way is to use caldav access for this.

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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
I can't believe that everybody create Sent/Trash/Drafs folders manually

В Срд, 15/12/2010 в 12:33 +0200, Покотиленко Константин пишет:
 Can somebody comment on this please, is it a common problem or it is
 only my installation affected?
 
 В Вто, 14/12/2010 в 10:34 +0200, Покотиденко Костантин пишет:
  In my case INBOX/Drafts folder isn't being created initially during
  first save. After pressing Save button, SOGo drops:
  
  =
  An error occurred during object publishing
  
  Failed to store message
  =
  
  INBOX/Sent and INBOX/Trash are being created initially during first
  send/delete operations.
  
  What's wrong?
  
  SOGo is 1.3.4, I'm using Cyrus IMAP.
  
  Those options among others are in
  config: /home/sogo/GNUstep/Defaults/.GNUstepDefaults:
  
  SOGoDraftsFolderName = INBOX/Drafts;
  SOGoSentFolderName = INBOX/Sent;
  SOGoTrashFolderName = INBOX/Trash;
  
  
  
 
 


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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Dennis Petschull
Hi,

I think this is more on the IMAP-server side. I know for example, that Dovecot 
has an autocreate plugin, which does exactly what you want...

Cheers,
Dennis

-- 
two4.IT
http://www.two4.it


On Friday 17 December 2010 12:04:00 Покотиленко Константин wrote:
 I can't believe that everybody create Sent/Trash/Drafs folders manually
 
 В Срд, 15/12/2010 в 12:33 +0200, Покотиленко Константин пишет:
  Can somebody comment on this please, is it a common problem or it is
  only my installation affected?
 
  В Вто, 14/12/2010 в 10:34 +0200, Покотиденко Костантин пишет:
   In my case INBOX/Drafts folder isn't being created initially during
   first save. After pressing Save button, SOGo drops:
  
   =
   An error occurred during object publishing
  
   Failed to store message
   =
  
   INBOX/Sent and INBOX/Trash are being created initially during first
   send/delete operations.
  
   What's wrong?
  
   SOGo is 1.3.4, I'm using Cyrus IMAP.
  
   Those options among others are in
   config: /home/sogo/GNUstep/Defaults/.GNUstepDefaults:
  
   SOGoDraftsFolderName = INBOX/Drafts;
   SOGoSentFolderName = INBOX/Sent;
   SOGoTrashFolderName = INBOX/Trash;
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Willi Brune

Am 17.12.2010 12:04, schrieb Покотиленко Константин:

I can't believe that everybody create Sent/Trash/Drafs folders manually


why don't you tell your cyrus server to create the folders on first 
connect of the user?

i have this in my imapd.conf:
autocreateinboxfolders: sent|drafts|spam|templates|Trash

--
Mit freundlichem Gruß

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

Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
There were no replies and now it's two in the same time :)

В Птн, 17/12/2010 в 12:22 +0100, Willi Brune пишет:
 Am 17.12.2010 12:04, schrieb Покотиленко Константин:
  I can't believe that everybody create Sent/Trash/Drafs folders manually
 
 why don't you tell your cyrus server to create the folders on first 
 connect of the user?
 i have this in my imapd.conf:
 autocreateinboxfolders: sent|drafts|spam|templates|Trash

This is good point, thanks. When does cyrus create those folders, during
mainbox creation or when? Thing is that we already have many mailboxes
created.

Also, the metter I asked this question was that SOGo does create Sent
and Trash folders when it needs them and there are none. So I winder why
it does do so for Drafts???

Agreed that the method with cyrus is more portable, allows use of
multiple clients with central configuration for folders.

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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
В Птн, 17/12/2010 в 12:19 +0100, Dennis Petschull пишет:
 Hi,
 
 I think this is more on the IMAP-server side. I know for example, that 
 Dovecot 
 has an autocreate plugin, which does exactly what you want...

Thanks. As I told in other mail I wonder why SOGo creates Sent and
Trash, but doesn't wants to create Drafts.

So, if SOGo have such feature it simply not working for Drafts, at least
for me.

 On Friday 17 December 2010 12:04:00 Покотиленко Константин wrote:
  I can't believe that everybody create Sent/Trash/Drafs folders manually
  
  В Срд, 15/12/2010 в 12:33 +0200, Покотиленко Константин пишет:
   Can somebody comment on this please, is it a common problem or it is
   only my installation affected?
  
   В Вто, 14/12/2010 в 10:34 +0200, Покотиденко Костантин пишет:
In my case INBOX/Drafts folder isn't being created initially during
first save. After pressing Save button, SOGo drops:
   
=
An error occurred during object publishing
   
Failed to store message
=
   
INBOX/Sent and INBOX/Trash are being created initially during first
send/delete operations.
   
What's wrong?
   
SOGo is 1.3.4, I'm using Cyrus IMAP.
   
Those options among others are in
config: /home/sogo/GNUstep/Defaults/.GNUstepDefaults:
   
SOGoDraftsFolderName = INBOX/Drafts;
SOGoSentFolderName = INBOX/Sent;
SOGoTrashFolderName = INBOX/Trash;
  
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists


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


Re[2]: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Imo Graf
maybe you can use this perl script to create a cyrus user. 


-- orginal Nachricht --
From: Покотиленко Константин cas...@meteor.dp.ua
To: users@sogo.nu
Sent: 17.12.2010 12:50:35
Subject: Re: [SOGo] INBOX/Drafts folder isn't being created initially 
during first save

There were no replies and now it's two in the same time :)

В Птн, 17/12/2010 в 12:22 +0100, Willi Brune пишет:



Am 17.12.2010 12:04, schrieb Покотиленко Константин:

I can't believe that everybody create Sent/Trash/Drafs folders manually


why don't you tell your cyrus server to create the folders on first
connect of the user?
i have this in my imapd.conf:
autocreateinboxfolders: sent|drafts|spam|templates|Trash




This is good point, thanks. When does cyrus create those folders, during
mainbox creation or when? Thing is that we already have many mailboxes
created.

Also, the metter I asked this question was that SOGo does create Sent
and Trash folders when it needs them and there are none. So I winder why
it does do so for Drafts???

Agreed that the method with cyrus is more portable, allows use of
multiple clients with central configuration for folders.

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



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

addcyrususer.pl
Description: Binary data


Re: Re[2]: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
В Птн, 17/12/2010 в 11:57 +, Imo Graf пишет:
 maybe you can use this perl script to create a cyrus user. 

Thanks, handy script.

 -- orginal Nachricht --
 From: Покотиленко Константин cas...@meteor.dp.ua
 To: users@sogo.nu
 Sent: 17.12.2010 12:50:35
 Subject: Re: [SOGo] INBOX/Drafts folder isn't being created initially 
 during first save
 There were no replies and now it's two in the same time :)
 
 В Птн, 17/12/2010 в 12:22 +0100, Willi Brune пишет:
 
 
 Am 17.12.2010 12:04, schrieb Покотиленко Константин:
  I can't believe that everybody create Sent/Trash/Drafs folders manually
 
 why don't you tell your cyrus server to create the folders on first
 connect of the user?
 i have this in my imapd.conf:
 autocreateinboxfolders: sent|drafts|spam|templates|Trash
 
 
 
 This is good point, thanks. When does cyrus create those folders, during
 mainbox creation or when? Thing is that we already have many mailboxes
 created.
 
 Also, the metter I asked this question was that SOGo does create Sent
 and Trash folders when it needs them and there are none. So I winder why
 it does do so for Drafts???
 
 Agreed that the method with cyrus is more portable, allows use of
 multiple clients with central configuration for folders.
 
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists


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


[SOGo] Fine-tuning email

2010-12-17 Thread Peter Lohmann
Hi!

Is it possible to configure SOGo to use different
mail addresses for different users?
My imap account is actually different from the mailadress
I'm sending and receiving with and I have a few virtual domains
that have different adresses that map to my imap account.
Also... is it possible to tell SOGo a default path for mail boxes?
Mine is ˜/Mail/.

Thanks and best regards,

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


Re: [SOGo] SOGo and Openchange

2010-12-17 Thread Ludovic Marcotte

On 10-12-17 3:00 PM, Donny Brooks wrote:
Quick question: When the Openchange portion is integrated into SOGo 
will it be done in such a way that we will be able to have 
email/calendar/contacts on mobile devices that can use exchange 
servers? Like on android and apple devices mainly. I ask because we 
are only able to open port 80 and 443 to our internal network so even 
email would have to be done through this. I know that exchange can 
work this way so I am wondering if once implemented the 
sogo/openchange combination will do the same.
No - because that is by using ActiveSync - which OpenChange does not 
bring. Nonetheless, Bo Simonsen (http://geekworld.dk/sogosync/) provided 
ActiveSync support through a Z-Push connector. You could try it.


OpenChange will eventually provide (some bits and bytes are already 
there) secure RPC over HTTP (Outlook Anywhere) so you'll be able to 
use Outlook w/o a VPN connection.


Regards,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +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] SOGo and Openchange

2010-12-17 Thread Donny Brooks

On 12/17/2010 2:04 PM, Ludovic Marcotte wrote:

On 10-12-17 3:00 PM, Donny Brooks wrote:
Quick question: When the Openchange portion is integrated into SOGo 
will it be done in such a way that we will be able to have 
email/calendar/contacts on mobile devices that can use exchange 
servers? Like on android and apple devices mainly. I ask because we 
are only able to open port 80 and 443 to our internal network so even 
email would have to be done through this. I know that exchange can 
work this way so I am wondering if once implemented the 
sogo/openchange combination will do the same.
No - because that is by using ActiveSync - which OpenChange does not 
bring. Nonetheless, Bo Simonsen (http://geekworld.dk/sogosync/) 
provided ActiveSync support through a Z-Push connector. You could try it.


OpenChange will eventually provide (some bits and bytes are already 
there) secure RPC over HTTP (Outlook Anywhere) so you'll be able to 
use Outlook w/o a VPN connection.


Regards,

Thanks for that Ludovic. With that sogosync, will I need to open any 
other ports than just 80 and 443 though? I am digging through documents 
now but thought you may have a quick yea or nea.

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


Re: [SOGo] SOGo and Openchange

2010-12-17 Thread Ludovic Marcotte

On 10-12-17 3:09 PM, Donny Brooks wrote:
Thanks for that Ludovic. With that sogosync, will I need to open any 
other ports than just 80 and 443 though? I am digging through 
documents now but thought you may have a quick yea or nea.

I haven't tested this but I don't think so.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +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


[SOGo] BTS activities for Friday, December 17 2010

2010-12-17 Thread SOGo reporter
Title: BTS activities for Friday, December 17 2010





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Friday, December 17 2010

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
1020
	2010-12-17 03:24:06
	new (open)
	Backend Calendar
	Email Alarms not working
	
	  
	
1058
	2010-12-17 11:44:39
	new (open)
	Web Calendar
	sogo searching LDAP when sharing calendar, even with isAddressBook = NO