Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
Strange thing - SOMETIMES when I try to connect to
https://mega.local:8843via FireFox I got the following message:

An error occurred during a connection to mega.local:8843.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

Restart apache and the error message is gone - I see the blank screen.

Regards,
Sergei.
***

2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Hi Mark,
 Yeap, I've added 8843 to ports.conf and netstat is showing apache is
 listening on 8843.

 Sergei.
 ***


 2011/7/27 Mark Adams m...@campbell-lange.net

 Did you do what I said?

 On 26 Jul 2011, at 13:55, Sergei Bazhin sbaz...@gmail.com wrote:

 Reading the thread on iPhone AB connect I came up with the following
 virtual host config that seem to work for all but not for me
 In the end I'm having a warning from apache
 [warn] worker http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ already used by another worker
 that seems to be OK
 and
 a message from iPhone Cannot connect using SSL and not able to verify
 the account...
 Any ideas?

 VirtualHost mega.local:8843
 Servername mega.local:8843
 CustomLog /var/log/apache2/access.log combined
 SSLEngine on
 SSLCertificateFile /etc/apache2/ssl/webdav.pem
 SSLCertificateKeyFile /etc/apache2/ssl/webdav.key
 ProxyRequests Off
 SetEnv proxy-nokeepalive 1
 ProxyPreserveHost On
 ProxyPassInterpolateEnv On
 ProxyPass /SOGo/dav/ http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass / http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo/davhttp://127.0.0.1:2/SOGo/dav
   RequestHeader set x-webobjects-server-port 8843
   RequestHeader set x-webobjects-server-name mega.local:8843
   RequestHeader set x-webobjects-server-url  https://mega.local:8843
 https://mega.local:8843;
   RequestHeader set x-webobjects-server-protocol HTTP/1.0
   RequestHeader set x-webobjects-remote-host 127.0.0.1

   AddDefaultCharset UTF-8

   Order allow,deny
   Allow from all
 /Proxy
 /VirtualHost


 Regards,
 Sergei.
 ***

 2011/7/26 Bruno Leon  bruno.l...@nividic.orgbruno.l...@nividic.org

 **
 On 11-07-26 02:06 AM, Sergei Bazhin wrote:

 I'm getting the following warning message after adding new virtual host
 (I've created a site in sites-available and enabled it with a2ensite):
 [warn] worker http://127.0.0.1:2/SOGo/dav/
 http://127.0.0.1:2/SOGo/dav/ already used by another worker
 and netstat does not show me apache2 is listening on 8843 port...

 The warning is normal and does not prevent things to work.

 --
 Bruno


 Maybe there's smth wrong with original SOGo configuration
 Below is my /etc/apache2/conf.d/SOGo.conf file - that's the only one
 change to apache2 config I've made (apache2 is running an SSL site):

 Alias /SOGo.woa/WebServerResources/ \
   /usr/lib/GNUstep/SOGo/WebServerResources/
 Alias /SOGo/WebServerResources/ \
   /usr/lib/GNUstep/SOGo/WebServerResources/
 AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
/usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

 Directory /usr/lib/GNUstep/SOGo/
 AllowOverride None
 Order deny,allow
 Allow from all
 /Directory

 LocationMatch
 ^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)
   SetHandler default-handler
 /LocationMatch

 ProxyRequests Off
 SetEnv proxy-nokeepalive 1
 ProxyPreserveHost On

 ProxyPass /SOGo 
 http://127.0.0.1:2/SOGohttp://127.0.0.1:2/SOGoretry=0

 Proxy  http://127.0.0.1:2/SOGohttp://127.0.0.1:2/SOGo;
   RequestHeader set x-webobjects-server-port 443
   RequestHeader set x-webobjects-server-name megaprom03.local
   RequestHeader set x-webobjects-server-url https://megaprom03.local
 https://megaprom03.local;
   RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

   RequestHeader set x-webobjects-server-protocol HTTP/1.0
   RequestHeader set x-webobjects-remote-host 127.0.0.1

   AddDefaultCharset UTF-8

   Order allow,deny
   Allow from all
 /Proxy



 Regards,
 Sergei.
 ***

 2011/7/25 Jeff Folk  jf...@qzoneinc.comjf...@qzoneinc.com

 On Jul 25, 2011, at 11:32 AM,  sbaz...@gmail.comsbaz...@gmail.com
 wrote:
 
  Hi All,
  Have just installed SOGo 1.3.8 under UBUNTU and having problems
 connecting to
  address book from iPhone.
  Can someone share a SOGo.conf file for Apache2 where address book
 works with
  iPhone over SSL? (I have set up sogo over SSL).
  From reading the web I got a feeling that there are some problems with
 Address
  Book sync and it's not working???
 
  Thank you,
  Sergei.
  ***


  Here's mine... Works with both iPhones and desktop Macs using Address
 Book. Notice that CardDAV is over port 8843:

 VirtualHost 0.0.0.0:8843
  ServerName http://sme.qzoneinc.comsme.qzoneinc.com
  SSLEngine On
  ProxyRequests Off
  SetEnv proxy-nokeepalive 1
  ProxyPreserveHost On
  ProxyPassInterpolateEnv On
  ProxyPass 

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 25.07.2011 18:32, sbaz...@gmail.com wrote:

Hi All,
Have just installed SOGo 1.3.8 under UBUNTU and having problems connecting to
address book from iPhone.
Can someone share a SOGo.conf file for Apache2 where address book works with
iPhone over SSL? (I have set up sogo over SSL).
 From reading the web I got a feeling that there are some problems with Address
Book sync and it's not working???

Thank you,
Sergei.
***

ehlo.a.

Last time I've posted part of my apache config for iPhone/iPad:

Maybe this will be helpful for you :

[cut]

RewriteEngine On
RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
ProxyPassInterpolateEnv On
ProxyPreserveHost On
ProxyPass /proxyhttp://127.0.0.1:2/SOGo/dav/interpolate
ProxyPass /SOGohttp://127.0.0.1:2/SOGointerpolate
ProxyPass /http://127.0.0.1:2/SOGo/dav/interpolate

Proxyhttp://127.0.0.1:2/SOGo
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name cal.domain.com 
http://cal.domain.com/

  RequestHeader set x-webobjects-server-urlhttps://cal.domain.com;
  RequestHeader set x-webobjects-server-protocol HTTP/1.0
  RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e 
env=REMOTE_HOST

  AddDefaultCharset UTF-8
  Order allow,deny
  Allow from all
/Proxy
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

[cut]

I've create additional virtual server in Apache specially for iPads/iPhones.
This is part of my apache config for them. And it is working perfectly ...
Aliases and directory directives in config are the same as usual

User have to provide only hostname, user nad password. Without any 
additional part of URL :)


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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Khapare Joshi
Marek, thanks for this. I just tried with your config in my test environment
but still comes with error similar with what Sergi been having. Would it be
possible to post full working virtual host section ? Perhaps I am missing
something. My environment is Centos 5 (it should not matter)

K

On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.plwrote:

 **
 On 25.07.2011 18:32, sbaz...@gmail.com wrote:

 Hi All,
 Have just installed SOGo 1.3.8 under UBUNTU and having problems connecting to
 address book from iPhone.
 Can someone share a SOGo.conf file for Apache2 where address book works with
 iPhone over SSL? (I have set up sogo over SSL).
 From reading the web I got a feeling that there are some problems with Address
 Book sync and it's not working???

 Thank you,
 Sergei.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
   RequestHeader set x-webobjects-server-port 443
   RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   RequestHeader set x-webobjects-server-protocol HTTP/1.0
   RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
 env=REMOTE_HOST

   AddDefaultCharset UTF-8
   Order allow,deny
   Allow from all
 /Proxy
 RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly ...

 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek

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

Re: [SOGo] Lightning 1.0b4

2011-07-27 Thread Alessio Fattorini

Il 06/07/2011 13:17, Alessio Fattorini ha scritto:

It's out, when do you push it in nightly repo?
Lightning 1.0 beta4 is the latest stable release containing 164 bugfixes
and improvements over the 1.0b2 release.
We have only lightning-1.0b2.106pre1i_win32.xpi
Bye


1.0b5 is out

with some fix

https://bugzilla.mozilla.org/buglist.cgi?quicksearch=ALL%20prod%3Acalendar%20target%3A1.0b5list_id=867467

And what about tb5 addon development?

--
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] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 27.07.2011 12:05, Khapare Joshi wrote:
Marek, thanks for this. I just tried with your config in my test 
environment but still comes with error similar with what Sergi been 
having. Would it be possible to post full working virtual host section 
? Perhaps I am missing something. My environment is Centos 5 (it 
should not matter)


K

On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.pl 
mailto:m.czardy...@tkpsa.pl wrote:


On 25.07.2011 18 tel:25.07.2011%2018:32, sbaz...@gmail.com
mailto:sbaz...@gmail.com wrote:

Hi All,
Have just installed SOGo 1.3.8 under UBUNTU and having problems connecting 
to
address book from iPhone.
Can someone share a SOGo.conf file for Apache2 where address book works with
iPhone over SSL? (I have set up sogo over SSL).
 From reading the web I got a feeling that there are some problems with 
Address
Book sync and it's not working???

Thank you,
Sergei.
***

ehlo.a.

Last time I've posted part of my apache config for iPhone/iPad:

Maybe this will be helpful for you :

[cut]

RewriteEngine On
RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
ProxyPassInterpolateEnv On
ProxyPreserveHost On
ProxyPass /proxyhttp://127.0.0.1:2/SOGo/dav/interpolate
ProxyPass /SOGohttp://127.0.0.1:2/SOGointerpolate

ProxyPass /http://127.0.0.1:2/SOGo/dav/interpolate

Proxyhttp://127.0.0.1:2/SOGo
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name cal.domain.com
http://cal.domain.com/
  RequestHeader set
x-webobjects-server-urlhttps://cal.domain.com;
https://cal.domain.com/

  RequestHeader set x-webobjects-server-protocol HTTP/1.0
  RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
env=REMOTE_HOST

  AddDefaultCharset UTF-8
  Order allow,deny
  Allow from all
/Proxy
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

[cut]

I've create additional virtual server in Apache specially for
iPads/iPhones.
This is part of my apache config for them. And it is working
perfectly ...
Aliases and directory directives in config are the same as usual

User have to provide only hostname, user nad password. Without any
additional part of URL :)

BR
-- 
marek




ehlo.a.

I've attached whole config regarding from apache.
I've changed my hostname to server.domain.com :) and also I've changed 
filenames of my SSL certs ...


BR
--
marek
NameVirtualHost 10.10.10.10:443

VirtualHost 10.10.10.10:443
ServerAdmin i...@domain.com

ServerName server.domain.com

DocumentRoot /var/www
Directory /
Options FollowSymLinks
AllowOverride None
/Directory
Directory /var/www/
Options Indexes FollowSymLinks MultiViews +Includes
AllowOverride None
Order allow,deny
allow from all
/Directory

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Directory /usr/lib/cgi-bin
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
/Directory

ErrorLog /var/log/apache2/ssl_ikal_error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/ssl_ikal_access.log combined

Alias /doc/ /usr/share/doc/
Directory /usr/share/doc/
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
/Directory

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on

#   A self-signed (snakeoil) certificate can be created by installing
#   the ssl-cert package. See
#   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
#   If both key and certificate are stored in the same file, only the
#   SSLCertificateFile directive is needed.
SSLCertificateFile/etc/apache2/ssl/cert.pem
SSLCertificateKeyFile /etc/apache2/ssl/cert-2048.key

#   Server Certificate Chain:
#   Point SSLCertificateChainFile at a file containing the
#   concatenation of PEM encoded CA certificates which form the
#   certificate chain for the server certificate. Alternatively
#   the referenced file can be the same as SSLCertificateFile
#   when the CA certificates are directly appended to the server
#   certificate for convinience.
SSLCertificateChainFile /etc/apache2/ssl/cert-CA.crt

#   Certificate Authority (CA):
#   Set the 

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
Thank you, Marek.
I don't see in your config 8843 port that is used for CardDAV?
Do you have iPhone phone book synced?

Regards,
Sergei.
***

2011/7/27 Marek Czardybon m.czardy...@tkpsa.pl

 **
 On 27.07.2011 12:05, Khapare Joshi wrote:

 Marek, thanks for this. I just tried with your config in my test
 environment but still comes with error similar with what Sergi been having.
 Would it be possible to post full working virtual host section ? Perhaps I
 am missing something. My environment is Centos 5 (it should not matter)

  K

 On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.plwrote:

  On 25.07.2011 18:32, sbaz...@gmail.com wrote:

 Hi All,
 Have just installed SOGo 1.3.8 under UBUNTU and having problems connecting to
 address book from iPhone.
 Can someone share a SOGo.conf file for Apache2 where address book works with
 iPhone over SSL? (I have set up sogo over SSL).
 From reading the web I got a feeling that there are some problems with 
 Address
 Book sync and it's not working???

 Thank you,
 Sergei.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
RequestHeader set x-webobjects-server-port 443
RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
 env=REMOTE_HOST

   AddDefaultCharset UTF-8
   Order allow,deny
   Allow from all
 /Proxy
  RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly ...

 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek


  ehlo.a.

 I've attached whole config regarding from apache.
 I've changed my hostname to server.domain.com :) and also I've changed
 filenames of my SSL certs ...

 BR
 --
 marek

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
Also one thing about 8843 port - when I go to https://mega.local:8843/SOGo I
get a sogo web interface without any images like on the screen shot
attached.

Regards,
Sergei.
***

2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Thank you, Marek.
 I don't see in your config 8843 port that is used for CardDAV?
 Do you have iPhone phone book synced?

 Regards,
 Sergei.
 ***


 2011/7/27 Marek Czardybon m.czardy...@tkpsa.pl

 **
 On 27.07.2011 12:05, Khapare Joshi wrote:

 Marek, thanks for this. I just tried with your config in my test
 environment but still comes with error similar with what Sergi been having.
 Would it be possible to post full working virtual host section ? Perhaps I
 am missing something. My environment is Centos 5 (it should not matter)

  K

 On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon m.czardy...@tkpsa.plwrote:

  On 25.07.2011 18:32, sbaz...@gmail.com wrote:

 Hi All,
 Have just installed SOGo 1.3.8 under UBUNTU and having problems connecting 
 to
 address book from iPhone.
 Can someone share a SOGo.conf file for Apache2 where address book works with
 iPhone over SSL? (I have set up sogo over SSL).
 From reading the web I got a feeling that there are some problems with 
 Address
 Book sync and it's not working???

 Thank you,
 Sergei.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
RequestHeader set x-webobjects-server-port 443
RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
 env=REMOTE_HOST

   AddDefaultCharset UTF-8
   Order allow,deny
   Allow from all
 /Proxy
  RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly
 ...
 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek


  ehlo.a.

 I've attached whole config regarding from apache.
 I've changed my hostname to server.domain.com :) and also I've changed
 filenames of my SSL certs ...

 BR
 --
 marek



attachment: sogo8843.jpg

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 27.07.2011 13:21, Sergei Bazhin wrote:

Thank you, Marek.
I don't see in your config 8843 port that is used for CardDAV?
Do you have iPhone phone book synced?

Regards,
Sergei.
***


Ehlo.a.

I'm not using port 8843 - just default HTTPS port : 443.
My users syncing both: phone books and calendars ...

In Iphone/Ipad they have to provide only hostname (without any ports or 
additional URL parts ) ex: ical.domain.com

and username  password.

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


[SOGo] ACLs in Thunderbird and Webmailer

2011-07-27 Thread Michael Pasdziernik

Hi All,

we have just managed to setup Sogo with Postfix/Dovecot/MySQL and its 
really cool!


But there are some problems regarding IMAP ACLs

1) ACLs in the Webmailer

Using the Webmailer I am not able to open the ACL-dialog in dovecot 
shared or public folders.
Setup: ad...@cognesys.de shared a folder Shared-Test to 
mpasdzier...@cognesys.de with all

permissions.

The error message in Firefox is:

An error occurred during object publishing
tried to access private object (0x0x103bac0, SoClass=SOGoMailFolder)

And in the sogo.log:

Jul 27 14:21:01 sogod [6121]: |SOGo| starting method 'GET' on uri 
'/SOGo/so/mpasdzier...@cognesys.de/Mail/0/foldershared/folderadmin_A_cognesys_D_de/folderShared-Test/acls'

Jul 27 14:21:01 sogod [6121]: |SOGo| lookup name: mpasdzier...@cognesys.de
Jul 27 14:21:01 sogod [6121]: |SOGo|   did not find key 
'mpasdzier...@cognesys.de' in SoClass: 0x0xa70420[SoObjCClass]: 
super=0x0xa6db30 objc=SOGo 
slots=GET,toolbar,casProxy,view,index,changePassword,connect

Jul 27 14:21:01 sogod [6121]: |SOGo|   looked up value: (nil)
Jul 27 14:21:01 sogod [6121]: |SOGo|   lookup in root object: (nil)
Jul 27 14:21:01 sogod [6121]: |SOGo|   GOT: (nil)
Jul 27 14:21:01 sogod [6121]: |SOGo| request took 0.133657 seconds to 
execute
localhost.localdomain - - [27/Jul/2011:14:21:01 GMT] GET 
/SOGo/so/mpasdzier...@cognesys.de/Mail/0/foldershared/folderadmin_A_cognesys_D_de/folderShared-Test/acls 
HTTP/1.1 403 235/0 0.134 - - 0


2) ACLs in Thunderbird

In Thunderbird there is no ACL-dialog on IMAP folders at all, only for 
calendar and adressbooks. We have setup Thunderbird according to the 
documentation and it works fine. Is there a special configuration key to 
add?


Thank you and regards
Michael


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


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Sergei Bazhin
I've got some point:
adding this line to my virtual host config scrue up SOGo web interface
ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
Web interface works ok only with the following line:
ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

Any ideas on that?

Regards,
Sergei.
***

2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Also one thing about 8843 port - when I go to https://mega.local:8843/SOGoI 
 get a sogo web interface without any images like on the screen shot
 attached.

 Regards,
 Sergei.
 ***

 2011/7/27 Sergei Bazhin sbaz...@gmail.com

 Thank you, Marek.
 I don't see in your config 8843 port that is used for CardDAV?
 Do you have iPhone phone book synced?

 Regards,
 Sergei.
 ***


 2011/7/27 Marek Czardybon m.czardy...@tkpsa.pl

 **
 On 27.07.2011 12:05, Khapare Joshi wrote:

 Marek, thanks for this. I just tried with your config in my test
 environment but still comes with error similar with what Sergi been having.
 Would it be possible to post full working virtual host section ? Perhaps I
 am missing something. My environment is Centos 5 (it should not matter)

  K

 On Wed, Jul 27, 2011 at 9:42 AM, Marek Czardybon 
 m.czardy...@tkpsa.plwrote:

  On 25.07.2011 18:32, sbaz...@gmail.com wrote:

 Hi All,
 Have just installed SOGo 1.3.8 under UBUNTU and having problems connecting 
 to
 address book from iPhone.
 Can someone share a SOGo.conf file for Apache2 where address book works 
 with
 iPhone over SSL? (I have set up sogo over SSL).
 From reading the web I got a feeling that there are some problems with 
 Address
 Book sync and it's not working???

 Thank you,
 Sergei.
 ***

  ehlo.a.

 Last time I've posted part of my apache config for iPhone/iPad:

 Maybe this will be helpful for you :

 [cut]

 RewriteEngine On
 RewriteRule ^/principals/users/(.*)$ /proxy/$1 [PT]
 ProxyPassInterpolateEnv On
 ProxyPreserveHost On
 ProxyPass /proxy http://127.0.0.1:2/SOGo/dav/ interpolate
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate

 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate

 Proxy http://127.0.0.1:2/SOGo
RequestHeader set x-webobjects-server-port 443
RequestHeader set x-webobjects-server-name cal.domain.com
   RequestHeader set x-webobjects-server-url 
 https://cal.domain.com;https://cal.domain.com/

   RequestHeader set x-webobjects-server-protocol HTTP/1.0
RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e
 env=REMOTE_HOST

   AddDefaultCharset UTF-8
   Order allow,deny
   Allow from all
 /Proxy
  RewriteEngine On
 RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

 [cut]

 I've create additional virtual server in Apache specially for
 iPads/iPhones.
 This is part of my apache config for them. And it is working perfectly
 ...
 Aliases and directory directives in config are the same as usual

 User have to provide only hostname, user nad password. Without any
 additional part of URL :)

 BR
 --
 marek


  ehlo.a.

 I've attached whole config regarding from apache.
 I've changed my hostname to server.domain.com :) and also I've changed
 filenames of my SSL certs ...

 BR
 --
 marek




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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Jeff Folk
On Jul 27, 2011, at 8:38 AM, Sergei Bazhin wrote:
 
 I've got some point:
 adding this line to my virtual host config scrue up SOGo web interface
 ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
 Web interface works ok only with the following line:
 ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate
 
 Any ideas on that?

DAV support doesn't use the web interface. For that reason, it really works 
better being on its own VirtualHost on a separate port. When you browse to the 
DAV host, you should get a login prompt then a blank page.

So my apache config has three parts -- listen 8843 (make sure it is in the SSL 
Global Context directives, too), NameVirtualHost 0.0.0.0:8843, and the 
VirtualHost section I posted earlier.

After those changes, restart apache, sogod, and memcached.

I see that you are using a .local tld... You know that won't work over cellular 
network, right??

Good luck;
Jeff-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Specify the MySQL socket file

2011-07-27 Thread Joel Carnat
Greetings,

My SOGo (1.3.8.0 on OpenBSD) is configured using MySQL on localhost.

I have modified the socket reference in my.cnf because my AMP runs chrooted.
Since then, I get the following error from sogod:
  Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock'

This is expected because mysql.sock is not there.
I have configured my.cnf so that it points to mysql.sock but SOGo (or 
sope-mysql ?) don't seem to use it.
  [mysql]
  no-auto-rehash
  socket = /var/chroot/mysql/mysql.sock

Anyone knows how to specify the correct mysql.sock so that SOGo connects to 
MySQL ?

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

Re: [SOGo] Specify the MySQL socket file

2011-07-27 Thread Fabrice Durand
Hi,
there is something like that but for postgresql :
http://www.mail-archive.com/users@sogo.nu/msg05730.html

Regards
Fabrice Durand

2011/7/27 Joel Carnat j...@carnat.net

 Greetings,

 My SOGo (1.3.8.0 on OpenBSD) is configured using MySQL on localhost.

 I have modified the socket reference in my.cnf because my AMP runs
 chrooted.
 Since then, I get the following error from sogod:
  Can't connect to local MySQL server through socket
 '/var/run/mysql/mysql.sock'

 This is expected because mysql.sock is not there.
 I have configured my.cnf so that it points to mysql.sock but SOGo (or
 sope-mysql ?) don't seem to use it.
  [mysql]
  no-auto-rehash
  socket = /var/chroot/mysql/mysql.sock

 Anyone knows how to specify the correct mysql.sock so that SOGo connects
 to MySQL ?

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

Re: [SOGo] Specify the MySQL socket file

2011-07-27 Thread Joel Carnat
Great. Seems to work.
Thanks!

Le 27 juil. 2011 à 16:59, Fabrice Durand a écrit :

 Hi,
 there is something like that but for postgresql : 
 http://www.mail-archive.com/users@sogo.nu/msg05730.html
 
 Regards
 Fabrice Durand
 
 2011/7/27 Joel Carnat j...@carnat.net
 Greetings,
 
 My SOGo (1.3.8.0 on OpenBSD) is configured using MySQL on localhost.
 
 I have modified the socket reference in my.cnf because my AMP runs 
 chrooted.
 Since then, I get the following error from sogod:
  Can't connect to local MySQL server through socket 
 '/var/run/mysql/mysql.sock'
 
 This is expected because mysql.sock is not there.
 I have configured my.cnf so that it points to mysql.sock but SOGo (or 
 sope-mysql ?) don't seem to use it.
  [mysql]
  no-auto-rehash
  socket = /var/chroot/mysql/mysql.sock
 
 Anyone knows how to specify the correct mysql.sock so that SOGo connects to 
 MySQL ?
 
 TIA,
Jo--
 users@sogo.nu
 https://inverse.ca/sogo/lists
 

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

Re: [SOGo] Android status?

2011-07-27 Thread Alessio Fattorini

Can you suggest me the configuration for this client?

https://market.android.com/details?id=org.dmfs.caldav.lib

Is it correct?
 Server Name: nameserver.domain:443
 Username: user
 Password: password_user

or should i need an URL like this? nameserver.domain/SOGo/dav:443

--
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] Android status?

2011-07-27 Thread André Schild

Hello,

in the server name just enter the servername, nothing more,
no :443 etc.

 Server Name: sogo.server.domain
 Username: user
 Password: password_user

In the username just enter the same thing you enter to login via sogo web.
This depends on your setup if you login with a username or for example
the email address or something else.

The dmfs client is intelligent enough to go via ssl and then look where to
find you calendars and address books.


André

Am 27.07.2011 17:14, schrieb Alessio Fattorini:

Can you suggest me the configuration for this client?

https://market.android.com/details?id=org.dmfs.caldav.lib

Is it correct?
 Server Name: nameserver.domain:443
 Username: user
 Password: password_user

or should i need an URL like this? nameserver.domain/SOGo/dav:443



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


Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Khapare Joshi
Hi jeff,

Yes, you are right when I put https://dav.domain.com:8843 in browser it
prompts for username and password - once entered it comes up with blank.
However then when I try from my iphone for carddav account i get error and
sogo logs says

[WEClientCapabilities initWithRequest:]: Unknown WebClient:
user-agent='DataAccess/1.0 (8C148)'

K


On Wed, Jul 27, 2011 at 2:08 PM, Jeff Folk jf...@qzoneinc.com wrote:

 On Jul 27, 2011, at 8:38 AM, Sergei Bazhin wrote:
 
  I've got some point:
  adding this line to my virtual host config scrue up SOGo web interface
  ProxyPass / http://127.0.0.1:2/SOGo/dav/ interpolate
  Web interface works ok only with the following line:
  ProxyPass /SOGo http://127.0.0.1:2/SOGo interpolate
 
  Any ideas on that?

 DAV support doesn't use the web interface. For that reason, it really works
 better being on its own VirtualHost on a separate port. When you browse to
 the DAV host, you should get a login prompt then a blank page.

 So my apache config has three parts -- listen 8843 (make sure it is in the
 SSL Global Context directives, too), NameVirtualHost 0.0.0.0:8843, and the
 VirtualHost section I posted earlier.

 After those changes, restart apache, sogod, and memcached.

 I see that you are using a .local tld... You know that won't work over
 cellular network, right??

 Good luck;
 Jeff--
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

Re: [SOGo] CardDAV iPhone address book sync issue

2011-07-27 Thread Marek Czardybon

On 27.07.2011 17:34, Khapare Joshi wrote:


[WEClientCapabilities initWithRequest:]: Unknown WebClient: 
user-agent='DataAccess/1.0 (8C148)'



ehlo.a.

this is not an error. This is only info that agent which is not known to 
SOPE library is connecting

to server.

You can safely ignore this message.

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


[SOGo] Upcoming Improvements

2011-07-27 Thread Ludovic Marcotte

Hi,

Just a quick status on two things.

First, we'll release again a new version of our OpenChange backend this 
week. This will feature major improvements regarding the handling of 
version numbers for messages, tons of bug fixes and many speed 
improvements. For example, we implemented QRESYNC support for IMAP in 
order to quickly synchronize changes that happened on IMAP mailboxes.


Secondly, we've been working on the past few weeks on porting PyObjC 
(http://pyobjc.sourceforge.net/) to GNUstep. Things are now starting to 
work quite well with the GNUstep runtime (libobjc2-1.5) and the gcc 
runtimes ( 4.6 and = 4.6). This will allow people to script and extend 
SOGo in Python - without much knowledge of the innards of SOGo and more 
importantly, without recompiling anything.


This will likely be integrated in the next big release, together with 
some initial hooks.


I've attached the latest patch to PyObjC to this email, in case some of 
you want to toy around with it and help us improve it.


As usual, feedback is welcome.

--
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/listsIndex: PyObjCTest/test_nsdate_proxy.py
===
--- PyObjCTest/test_nsdate_proxy.py (revision 2606)
+++ PyObjCTest/test_nsdate_proxy.py (working copy)
@@ -7,6 +7,7 @@
 # these have a custom proxy class.
 
 def testFormattingForDate(self):
+return
 # This is jus a round-about way of testing that the right proxy
 # object is created
 formatter = 
NSDateFormatter.alloc().initWithDateFormat_allowNaturalLanguage_(
@@ -22,6 +23,7 @@
 
 
 def testFormattingForDateTime(self):
+return
 # This is jus a round-about way of testing that the right proxy
 # object is created
 formatter = 
NSDateFormatter.alloc().initWithDateFormat_allowNaturalLanguage_(
Index: PyObjCTest/test_number_proxy.py
===
--- PyObjCTest/test_number_proxy.py (revision 2606)
+++ PyObjCTest/test_number_proxy.py (working copy)
@@ -11,7 +11,10 @@
 import objc
 
 OC_PythonNumber = objc.lookUpClass(OC_PythonNumber)
-NSCFNumber = objc.lookUpClass(NSCFNumber)
+try:
+NSCFNumber = objc.lookUpClass(NSCFNumber)
+except objc.nosuchclass_error as msg:
+NSCFNumber = objc.lookUpClass(NSNumber)
 
 NSOrderedAscending = -1
 NSOrderedSame = 0
@@ -202,7 +205,10 @@
 # The booleans True and False must be proxied as the corresponding
 # NSNumber constants, otherwise lowlevel Cocoa/CoreFoundation code
 # get's upset.
-boolClass = objc.lookUpClass('NSCFBoolean')
+try:
+boolClass = objc.lookUpClass('NSCFBoolean')
+except objc.nosuchclass_error as msg:
+boolClass = objc.lookUpClass('NSNumber')
 for v in (True, False):
 self.assertIs(OC_TestNumber.numberClass_(v), boolClass)
 self.assertIs(objc.repythonify(v), v)
Index: PyObjCTest/test_hidden_selector.py
===
--- PyObjCTest/test_hidden_selector.py  (revision 2606)
+++ PyObjCTest/test_hidden_selector.py  (working copy)
@@ -57,6 +57,7 @@
 
 def boolMethod(self):
 return 0
+boolMethod = objc.selector(boolMethod, signature=objc._C_NSBOOL + b'@:')
 
 class TestHiddenSelector (TestCase):
 def testHiddenInClassDef(self):
Index: PyObjCTest/test_copying.py
===
--- PyObjCTest/test_copying.py  (revision 2606)
+++ PyObjCTest/test_copying.py  (working copy)
@@ -242,7 +242,7 @@
 a = NSMutableArray.arrayWithArray_(['a', 'b', 'c'])
 self.assertIsInstance(a, NSMutableArray)
 
-b = copy.copy(a)
+b = copy.mutableCopy(a)
 self.assertIsInstance(b, NSMutableArray)
 self.assertEqual(list(a), list(b))
 
Index: setup.py
===
--- setup.py(revision 2606)
+++ setup.py(working copy)
@@ -25,6 +25,8 @@
 # on 10.6 and running on an earlier release)
 USE_SYSTEM_LIBXML = False
 
+USE_GNUSTEP = False
+
 if sys.version_info  MIN_PYTHON:
 vstr = '.'.join(map(str, MIN_PYTHON))
 raise SystemExit('PyObjC: Need at least Python ' + vstr)
@@ -266,17 +268,45 @@
 return packages, extensions
 return [], []
 
+CFLAGS=[ ]
+
 # Double-check
-if sys.platform != 'darwin':
-print(You're not running on MacOS X, and don't use GNUstep)
-print(I don't know how to build PyObjC on such a platform.)
-print(Please read the ReadMe.)
-print()
-raise SystemExit(ObjC runtime not found)
+if sys.platform == 'darwin':
+CFLAGS.extend([
+-DMACOSX,
+-DPyObjC_BUILD_RELEASE=%02d%02d%(tuple(map(int, 

[SOGo] SOGo and OpenChange

2011-07-27 Thread Dominique BERTHET
Hi
First of all, I would say that the 1.3.8b version of SOGo solve my problem with 
multidomain.
I have a trivial question: I would like now to install OpenChange with SOGo
My server is an Ubuntu 10.04 LTS server and i have installed SOGo from the 
repository.
I try to install OpenChange and also samba4 from source but i would like to 
know if i have to reinstall sogo from the source to in order to make it work 
with openchange or if i could continue to use SOGo from his repository.
I prefere to follow the best practice before going to production
Thanx a lot for your answers
Dominique BERTHET
Ecole des Mines de St-Etienne
http://www.emse.fr / http://sogo.emse.fr

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


Re: [SOGo] SOGo and OpenChange

2011-07-27 Thread André Schild

Am 27.07.2011 20:39, schrieb Dominique BERTHET:

I prefere to follow the best practice before going to production

I think Production and Openchange should not be mentioned in the same email
at the current time, it's still TP = Technology Preview

But of course I like that you jump in and do TP testing  ;)


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