Re: [SOGo] Is is possible to change the default /SOGo URL?

2011-02-20 Thread Corrado Fiore
 Am 18.02.2011 um 23:23 schrieb Adi Linden:
 Is it possible to change the default /SOGo URL to something different, like 
 /something?

Il giorno 19/feb/2011, alle ore 16:24, Martin Rabl ha scritto:
 Sure - it is only a proxy before the SOGo-Application-Server.


Hi,

I'm using Nginx as proxy (I'm on CentOS), with a conf file similar to this one:
http://mail.opengroupware.org/pipermail/sogo/2009-November/004351.html

My goal is to get rid of any paths after the domain.  I tried to modify the 
paths by removing the /SOGo prefix, in the Nginx conf, i.e.

server {
location / {
proxy_redirect http://127.0.0.1:2/SOGo//;
...other lines unchanged...
}
location ~ /WebServerResources/(.*){
alias /usr/GNUstep/System/Library/SOGo/WebServerResources/$1;
}
}

...but it doesn't work.  I end up with login errors (for example, the 
redirection at login becomes http://connect instead of a FQDN).
Assuming that SOGo internally needs a path after the domain, I tried to 
modify it like this:

server {
location /webmail {
proxy_redirect http://127.0.0.1:2/SOGo//webmail;
...other lines unchanged...
}
location ~ /WebServerResources/(.*){
alias /usr/GNUstep/System/Library/SOGo/WebServerResources/$1;
}
}

...but again it doesn't work.  I can login but messages in the webmail are not 
retrieved.

So, before investigating more, let me ask:  did anyone managed to remove the 
/SOGo path under Nginx?

Thanks,
Corrado Fiore

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

[SOGo] iPhone sync with Funambol or use iCal

2011-02-20 Thread Kiss Attila - Elastoffice

Hello,

A big procent of our clients are iPhone owners. At this moment we test 
SOGo to be able to provide them a solution for sync the smartphones with 
SOGO Calendar, To Do and Contacts.


Which method is more stable:
1. Funambol + Synthesis syncml application installed on iPhone?
I tested this in the past 2-3 weeks, but sometimes i get duplicate 
entries after sync in Contacts and Calendar also.


2. iPhone built in iCal/Cardav and Carddav?
After i configure this way, the calendar shows 0 items. Maybe is related 
to Fetch New Data.

SOGo supports push or fetch only?

Does anyone using iPhone/SOGo combination in production?
Any idea is welcome.

Thank You,
Attila

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


Re: [SOGo] iPhone sync with Funambol or use iCal

2011-02-20 Thread Mark Adams
Works very well natively. You have to set iCal to fetch all events, not last 2 
weeks or anything.

Regards,
Mark

On 20 Feb 2011, at 16:03, Kiss Attila - Elastoffice 
kiss.att...@elastoffice.com wrote:

 Hello,
 
 A big procent of our clients are iPhone owners. At this moment we test SOGo 
 to be able to provide them a solution for sync the smartphones with SOGO 
 Calendar, To Do and Contacts.
 
 Which method is more stable:
 1. Funambol + Synthesis syncml application installed on iPhone?
 I tested this in the past 2-3 weeks, but sometimes i get duplicate entries 
 after sync in Contacts and Calendar also.
 
 2. iPhone built in iCal/Cardav and Carddav?
 After i configure this way, the calendar shows 0 items. Maybe is related to 
 Fetch New Data.
 SOGo supports push or fetch only?
 
 Does anyone using iPhone/SOGo combination in production?
 Any idea is welcome.
 
 Thank You,
 Attila
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] iPhone sync with Funambol or use iCal

2011-02-20 Thread Kiss Attila - Elastoffice

Thank You for the fast reply.
The setting You mentioned worked very well, 1st time i see in the native 
calendar the datas!
For contact database, You would recomend the same? Or is better to sync 
that separate with some application?

-A
On 2/20/11 7:16 PM, Mark Adams wrote:

Works very well natively. You have to set iCal to fetch all events, not last 2 
weeks or anything.

Regards,
Mark

On 20 Feb 2011, at 16:03, Kiss Attila - 
Elastofficekiss.att...@elastoffice.com  wrote:


Hello,

A big procent of our clients are iPhone owners. At this moment we test SOGo to 
be able to provide them a solution for sync the smartphones with SOGO Calendar, 
To Do and Contacts.

Which method is more stable:
1. Funambol + Synthesis syncml application installed on iPhone?
I tested this in the past 2-3 weeks, but sometimes i get duplicate entries 
after sync in Contacts and Calendar also.

2. iPhone built in iCal/Cardav and Carddav?
After i configure this way, the calendar shows 0 items. Maybe is related to Fetch 
New Data.
SOGo supports push or fetch only?

Does anyone using iPhone/SOGo combination in production?
Any idea is welcome.

Thank You,
Attila

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


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


Re: [SOGo] iPhone sync with Funambol or use iCal

2011-02-20 Thread Mark Adams
Yes cardav syncing works well natively also. There is no setting such as last 
2 weeks for this as it syncs your whole contact collection.

Regards,
Mark

On 20 Feb 2011, at 18:20, Kiss Attila - Elastoffice 
kiss.att...@elastoffice.com wrote:

 Thank You for the fast reply.
 The setting You mentioned worked very well, 1st time i see in the native 
 calendar the datas!
 For contact database, You would recomend the same? Or is better to sync that 
 separate with some application?
 -A
 On 2/20/11 7:16 PM, Mark Adams wrote:
 Works very well natively. You have to set iCal to fetch all events, not 
 last 2 weeks or anything.
 
 Regards,
 Mark
 
 On 20 Feb 2011, at 16:03, Kiss Attila - 
 Elastofficekiss.att...@elastoffice.com  wrote:
 
 Hello,
 
 A big procent of our clients are iPhone owners. At this moment we test SOGo 
 to be able to provide them a solution for sync the smartphones with SOGO 
 Calendar, To Do and Contacts.
 
 Which method is more stable:
 1. Funambol + Synthesis syncml application installed on iPhone?
 I tested this in the past 2-3 weeks, but sometimes i get duplicate entries 
 after sync in Contacts and Calendar also.
 
 2. iPhone built in iCal/Cardav and Carddav?
 After i configure this way, the calendar shows 0 items. Maybe is related to 
 Fetch New Data.
 SOGo supports push or fetch only?
 
 Does anyone using iPhone/SOGo combination in production?
 Any idea is welcome.
 
 Thank You,
 Attila
 
 -- 
 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] Multiple domains, single MySQL userSource

2011-02-20 Thread Corrado Fiore
Dear All,

I'm trying to deploy SOGo on top of my existing IMAP infrastructure, which is 
powered by PostFix with a MySQL backend to support virtual users and domains.  
All my email users belong to a single MySQL DB and through views it's been easy 
to make SOGo recognize the existing tables.

My problem:  seems like it's impossible to separate users per email domain (see 
for example 
http://mail.opengroupware.org/pipermail/sogo/2010-April/006105.html).

In SOGo, as far as I've seen, which sogo-domain will match, say, user 
j...@domain.com depends on which userSource j...@domain.com belongs to.  
Quoting Matto Marjanovic 
(http://mail.opengroupware.org/pipermail/sogo/2010-March/005843.html):

 A sogo-domain is basically a set of UserSources.  If a UID ('c_uid') is
 found in a UserSource, then the sogo-domain of the UID is considered to be
 whatever sogo-domain the UserSource belongs to.  One implication of this is
 that each UserSource must be used by a single sogo-domain.

Correct me if I'm wrong, but that means I cannot segregate users per domain 
because all of them belong to a single UserSource.  This would be quite a 
showstopper:  imagine users of ABC Company being able to browse usernames of 
their competitor XYZ Company in the sharing calendar or subscribe 
addressbook panel...

POSSIBLE SOLUTIONS

1)  I know I could use a couple of MySQL views to accomplish segregation, i.e. 
set one view per each domain, but it would be VERY inefficient (and would also 
uselessly pollute the database structure).  Imagine having 100 domains:  each 
login would produce 100 queries just to discover which one the user belongs to. 
 Weird.

2)  A slightly better way of handling this would be to declare a filter in the 
UserSource -- something like (domain = `mydomain.com`), but as far as I can 
tell filters work only with LDAP sources.

3)  The best solution would be to switch the sogo-domain according to the 
hostname or another http header.  I've tried for a couple of hours but couldn't 
make it happen (let me say SOGo documentation is not that clear about which key 
is used when switching the domain).  Am I missing something, or is it something 
not yet implemented in SOGo?

Thanks,
Corrado Fiore-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] ldap source

2011-02-20 Thread daniele.nuzzo
I'm trying to put up a CENTOS 5.5 with Sogo, but I find it difficult to
configure LDAP ... Let me explain ...
I'm following the PDF layout, and about the configuration of the ldap server is
not enough to make it functional, is there anything I should know that such a
document for granted? ldap unfortunately do not know him and also trying to use
PostgreSQL authentication as I do not know how to create the initial users,
since there is no example for this ...
can you give me an explanation? there would be grateful
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ldap source

2011-02-20 Thread Mark Adams
Hi,

It sounds like you should be using the ZEG version of sogo. This contains 
everything you need preconfigured.

Regards,
Mark

On 20 Feb 2011, at 23:29, daniele.nu...@email.it wrote:

 I'm trying to put up a CENTOS 5.5 with Sogo, but I find it difficult to
 configure LDAP ... Let me explain ...
 I'm following the PDF layout, and about the configuration of the ldap server 
 is
 not enough to make it functional, is there anything I should know that such a
 document for granted? ldap unfortunately do not know him and also trying to 
 use
 PostgreSQL authentication as I do not know how to create the initial users,
 since there is no example for this ...
 can you give me an explanation? there would be grateful
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] BTS activities for Sunday, February 20 2011

2011-02-20 Thread SOGo reporter
Title: BTS activities for Sunday, February 20 2011





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Sunday, February 20 2011

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
966
	2011-02-20 20:25:17
	new (open)
	GUI
	Contact pictures synchronisation problem
	
	  
	
1142
	2011-02-20 16:46:02
	new (open)
	Web Mail
	Opening message with attachment causes crash
	
	  
	
  
  




Re: [SOGo] Script

2011-02-20 Thread Jan-Frode Myklebust
On Fri, Feb 18, 2011 at 02:02:50PM -0500, Wolfgang Sourdeau wrote:
 
 Overal, I think the idea of a structured file-format is a good one.
 Perhaps the missing step to UNIX-compliance  would be to enable
 the use of a conf file in the /etc/ hierarchy. This would be quite
 easy to do and you just need to ask ;)
 

Woha, yes, could we please have that! :-)

Also, would it be possible to separate out the templating from $HOME (to
f.ex. /var/www) and make the sogo-user a non-interaktive account. 


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


Re: [SOGo] userPasswordAlgorithm problem

2011-02-20 Thread Szasz Tamas

Hi,

I have generated a plain text MD5. For me is a strange thing that I can 
login with the md5 string. For example in the settings are /md5/ for 
userPasswordAlgorithm, in the database for tes.user the password is 
1f3870be274f6c49b3e31a0c6728957f, I can login with this string but with 
the value (apple) I can't.


Can you explain where can I find the query log in sogo? I didn't find 
that. My version of sogo is *1.3.4*


Regards, Tamás

On 02/18/2011 07:04 PM, Corrado Fiore wrote:

Hi,

could you give us more details on your system, like which version of SOGo 
you're running, the kind of MD5 (plain or crypt-MD5)... ?

Can you see the queries SOGo is issuing to the SQL server, for example in a 
query log?

Without these details, it's difficult to give you any hints.

Regards,
Corrado


Il giorno 17/feb/2011, alle ore 10:00, Szasz Tamas ha scritto:


Hi list!

I have a problem configuring the sogo to use md5 for user passwords.
Before I have made the change of userPasswordAlgorithm to md5 the user could 
log in to the system.
After the change from none to md5 the user couldn't login with the value of md5 
string.
This is a part from my config:

[...]
keydomain.com/key
 dict
 keySOGoMailDomain/key
 stringdomain.com/string
 keySOGoUserSources/key
 array
 dict
 keycanAuthenticate/key
 stringYES/string
 keyid/key
 stringdirectory/string
 keyisAddressBook/key
 stringYES/string
 keytype/key
 stringsql/string
 keyuserPasswordAlgorithm/key
 stringmd5/string
 keyviewURL/key
 
stringpostgresql://sogo:sogo@localhost:5432/sogo/sogo_view/string
 /dict
 /array
 /dict
[...]

Thanks for any help,

Szász Tamás


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