[SOGo] BTS activities for Thursday, March 14 2013

2013-03-14 Thread SOGo reporter
Title: BTS activities for Thursday, March 14 2013





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Thursday, March 14 2013

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2225
	2013-03-14 07:59:00
	updated (open)
	Web Preferences
	IMAP-based authentication
	
	  
	
  
  




RE: [SOGo] login form's action is "//connect" and cookie path is "/connect/"

2013-03-14 Thread Stefan Mayer

I've seen various posts on the web about running SOGo behind nginx yet I 
couldn't find the one difference in my configuration that breaks it for me. Or 
is it my SOGo configuration after all? Where are your two cents? ;-)

From: stefan_mayer...@hotmail.com
To: users@sogo.nu
Date: Fri, 8 Mar 2013 14:28:38 +0100
Subject: [SOGo] login form's action is "//connect" and cookie path is 
"/connect/"





Whenever I load the login page I have to manually edit the source using 
Firebug in order to send off the form: the form's action is set to 
"//connect" which, of course, does not work; it does, however, when I 
modify it to "/connect". Any idea why this happens? I looked for a 
hostname setting in sogo's GNUstep defaults, but I couldn't find one. Is this 
in some way related to the headers x-webobjects-server-name or 
x-webobjects-server-url? This is how they are currently set in my nginx config:

proxy_set_header Host $host;
proxy_set_header x-webobjects-server-protocol HTTP/1.0;
proxy_set_header x-webobjects-remote-host 127.0.0.1;
proxy_set_header x-webobjects-server-name $host;
proxy_set_header x-webobjects-server-url $scheme://$host;

Another, probably related, issue is that the path of the cookies SOGo is using 
is set to "/connect/", which does not work (my installation is in root). My 
current workaround is

proxy_cookie_path /connect/ /;

Thanks for your help!
stefan

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

Re: [SOGo] PHP-Push-2 help please!!!

2013-03-14 Thread Michael
Hi, Thanks for this but I really need a single setup on iOS. The reason 
is I am migrating users from an exchange environment and any additional 
steps required from them to set up their devices would just equal more 
work for me.


Regards, Michael.



On 15/03/2013 12:33 AM, Donny Brooks wrote:
  
  
  
On Thursday, March 14, 2013 07:43 AM CDT, Michael  wrote:
  

Dear All,

I have been trying for weeks now to get PHP-Push-2 to work on my SOGo
system. The thing is, the old sogosync works like a charm, the only
problem with sogosync is that it doesn't support HTML email because it
has an older merge of z-push.

I have a previous thread entitled [SOGo] sogosync and html email but
have hit a brick wall.

After installing PHP-Push-2, copying the supplied config.php files and
following the rest of the instructions etc. I can connect my iOS devices
but when I go to check mail I get a password error. A look into the
z-push log shows:

14/03/2013 23:26:25 [ 7183] [WARN] [mich...@example.com]
/var/www/PHP-Push-2/backend/caldav.php:34 Use of undefined constant
CALDAV_PORT - assumed 'CALDAV_PORT' (8)
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace error:
/var/www/PHP-Push-2/include/caldav-client-v2.php:116 Invalid URL:
'https://sogo.example.com:CALDAV_PORT/SOGo/dav/mbonnic$
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
1:/var/www/PHP-Push-2/include/caldav-client-v2.php:116 - trigger_error()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
2:/var/www/PHP-Push-2/backend/caldav.php:34 - CalDAVClient->__construct()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
3:/var/www/PHP-Push-2/backend/combined/combined.php:114 -
BackendCalDAV->Logon()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
4:/var/www/PHP-Push-2/lib/request/requestprocessor.php:77 -
BackendCombined->Logon()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
5:/var/www/PHP-Push-2/lib/request/provisioning.php:64 -
RequestProcessor::Authenticate()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
6:/var/www/PHP-Push-2/lib/request/requestprocessor.php:127 -
Provisioning->Handle()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
7:/var/www/PHP-Push-2/index.php:189 - RequestProcessor::HandleRequest()

Increasing the LOG level doesn't appear to show anything useful.

I have tried defining the CALDAV port manually but then I get similar
errors about CARDAV_SERVER and CARDDAV_PATH, again I define these
manually in the config.php file but I still get issues and more errors -
see previous thread [SOGo] sogosync and html email.

It's like the supplied config.php file isnt complete?

I am getting super desperate as I need this system to be in production
asap! I am getting to the point where I am willing to pay someone a fee
to fix it for me if no one has any useful suggestions :( -I can be
reached on michael(^at^)los-pollos(^dot^)co .

Here is my config.php (comments removed):

  define('TIMEZONE', 'Australia/Sydney');


  define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']). '/');

 ini_set('include_path',
 BASE_PATH. "include/" . PATH_SEPARATOR .
 BASE_PATH. PATH_SEPARATOR .
 ini_get('include_path') . PATH_SEPARATOR .
 "/usr/share/php/" . PATH_SEPARATOR .
 "/usr/share/php5/" . PATH_SEPARATOR .
 "/usr/share/pear/" . PATH_SEPARATOR .
 "/usr/share/awl/inc");

  define('SCRIPT_TIMEOUT', 0);
  define('MAX_EMBEDDED_SIZE', 1048576);

  define('STATE_DIR', '/var/lib/z-push/');

  define('LOGFILEDIR', '/var/log/z-push/');
  define('LOGFILE', LOGFILEDIR . 'z-push.log');
  define('LOGERRORFILE', LOGFILEDIR . 'z-push-error.log');
  define('LOGLEVEL', LOGLEVEL_INFO);
  define('LOGUSERLEVEL', LOGLEVEL_DEVICEID);
  $specialLogUsers = array();
  define('PROVISIONING', true);
  define('LOOSE_PROVISIONING', false);
  define('SYNC_CONFLICT_DEFAULT', SYNC_CONFLICT_OVERWRITE_PIM);
  define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL);

  define('PING_INTERVAL', 30);

  define('SINK_FORCERECHECK', 300);

  define('BACKEND_PROVIDER', "BackendCombined");

  define('MAPI_SERVER', 'file:///var/run/zarafa');


  define('IMAP_SERVER', 'sogo.example.com');
  define('IMAP_PORT', 143);

  define('IMAP_OPTIONS', '/notls/norsh');
  define('IMAP_DEFAULTFROM', 'username');

  define('IMAP_SENTFOLDER', 'Sent');

  define('IMAP_INLINE_FORWARD', false);

  define('IMAP_USE_IMAPMAIL', true);
  define('MAILDIR_BASE', '/tmp');
  define('MAILDIR_SUBDIR', 'Maildir');

  define('VCARDDIR_DIR', '/home/%u/.kde/share/apps/kabc/stdvcf');


  define('CALDAV_SERVER', 'https://sogo.example.com');
  define('CALDAV_PATH', '/SOGo/dav/%u/');
  define('CALDAV_PERSONAL', 'personal');
  define('CALDAV_URL', 'https://sogo.example.com/SOGo/dav/%u/');


  define('CALDAV_READONLY', false);
  define('CARDDAV_PERSONAL', 'persona

Re: Re: [SOGo] TB Sogo Connector - Multiple user logins

2013-03-14 Thread der.keim
Great, that worked!
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Add User?

2013-03-14 Thread Scott Jordahl
OK, I'm a little confused on how to add new users. I'm working with the 
ZEG appliance. As per the Native Outlook Configuration Guide, I'm using 
"samba-tool user add" and "openchange_newuser -- create". This allows me 
to connect via Outlook, however, when I try accessing via the web I/F it 
doesn't recognize the new user account. Am I also suppose to load the 
LDIF of the new user per instructions in the SOGo "Installation and 
Configuration Guide" (page #43)? How about the Cyrus mailbox? You use to 
have to run "cyradm" in order for the mailbox to get created. I notice 
that "cyradm" is not installed on the ZEG, so what's the real "complete" 
procedure for adding a new user.


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

Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial

2013-03-14 Thread Carsten Laun-De Lellis
Hi all

I finally managed to logon with the Administrator account, but not with
any other user account. I have no idea where to look at. I still got the
same error message for every user but the Administrator.

I Need help !!


Regards,

Carsten Laun-De Lellis

Hauptstrasse 13
D-67705 Trippstadt

Phone: +49 6306 992140
Fax: +49 6306 992142
Mobile: +49 151 27530865
email: carsten.delel...@delellis.net

http://www.linkedin.com/in/carstenlaundelellis

> Hi all
>
> I think I am very Close.
>
> I've got openchange running, samba4, sogo but didn't manage to logon.
>
> I always got the following error message:
>
> Mar 14 17:12:07 sogod [1515]: <0x0x7f7a8444d420[LDAPSource]>  0x7f7a84528960> NAME:LDAPException REASON:operation bind failed: Invalid
> credentials (0x31) INFO:{login = "cn=cdelellis,cn=users,dc=1blu,dc=de"; }
> Mar 14 17:12:07 sogod [1515]: SOGoRootPage Login from '2.206.0.83' for
> user 'cdelellis' might not have worked - password policy: 65535  grace: -1
>  expire: -1  bound: 0
> 2.206.0.83 - - [14/Mar/2013:17:12:07 GMT] "POST /SOGo/connect HTTP/1.1"
> 403 34/69 0.016 - - 0
>
> I have no idea what it is meant with Password policy: 65535. I have
> checked on the LDAP query. The path cn=cdelellis,cn=users,dc=1blu,dc=de is
> correct. I checked that using Ldp on my Windows machine. So could anyone
> please tell me where the misconfiguration is and what to do.
>
> Thankx in advance.
>
>
> Regards,
>
> Carsten Laun-De Lellis
>
> Hauptstrasse 13
> D-67705 Trippstadt
>
> Phone: +49 6306 992140
> Fax: +49 6306 992142
> Mobile: +49 151 27530865
> email: carsten.delel...@delellis.net
>
> http://www.linkedin.com/in/carstenlaundelellis
>
>> Hi all
>>
>> I tried to narrow down the problem a bit.
>>
>> Whenever I start the Apache Web Server the RPC Error comes up. I am then
>> neither able to connect to the AD Managment nor I am able to connect via
>> Outlook.
>>
>> But I also need help on another topic.
>> I am now able to connect to the OpenChange Server using outlook. But
>> what
>> I don't understand where do I get the link to my mailboxes. Let's say
>> for
>> example I want to use postfix and dovecot where do I tell the system
>> which
>> email server to use and how to get the email into the OpenChange server.
>>
>> Any help appreciated.
>>
>> Regards
>>
>> Carsten Laun-De Lellis
>>
>> Hauptstrasse 13
>> D-67705 Trippstadt
>>
>> Phone: +49 6306 992140
>> Fax: +49 6306 992142
>> Mobile: +49 151 27530865
>> email: carsten.delel...@delellis.net
>>
>> http://www.linkedin.com/in/carstenlaundelellis
>>
>>> Hi Olivier
>>>
>>> Sure. Maybe you have already read my second email where I explainde
>>> that
>>> after deleting the entries for openchange in the smb.conf everyghing
>>> worked fine.
>>>
>>> I have attached some log files to this email.
>>>
>>> Regards,
>>>
>>> Carsten Laun-De Lellis
>>>
>>> Hauptstrasse 13
>>> D-67705 Trippstadt
>>>
>>> Phone: +49 6306 992140
>>> Fax: +49 6306 992142
>>> Mobile: +49 151 27530865
>>> email: carsten.delel...@delellis.net
>>>
>>> http://www.linkedin.com/in/carstenlaundelellis
>>>
 Is it possible to provide some logs files like
 /var/log/samba/log.samba
 and
 /var/log/sogo/sogo.log?

 Thanks.

 Olivier.


 2013/3/14 Carsten Laun-De Lellis 

> Hi All
>
> First of all I want to thank Oliver for the great tutorial.
>
> I followed it step by step and successfully installed a Samba4 Server
> and
> OpenChange. After that I had no problems to join my domain with my
> Win8
> PC. Everything worked fine. I installed the Win Admin Tools and had
> no
> issues with adding users to the domain and also set them up as local
> users.
>
> DNS worked great, so I tried the next step. I installed SOGo and
> after
> that nothing worked at all.
>
> I allways get an error message:
>
> "Naming information cannot be located because:
> The RPC Server is unavailable. Contact your system administrators
> ..."
>
> I tried to solve the problem by adding my server to the hosts file.
> But
> no
> success.
>
> Any ideas to solve this problem? I would provide logging information
> if
> I
> only knew which.
>
> Also I didn't get the link where to create the user for SOGo,
> openchange
> and Samba4 if I don't want to use iGestis.
>
> I would appreciate any hints.
>
> Regards,
>
> Carsten Laun-De Lellis
>
> Hauptstrasse 13
> D-67705 Trippstadt
>
> Phone: +49 6306 992140
> Fax: +49 6306 992142
> Mobile: +49 151 27530865
> email: carsten.delel...@delellis.net
>
> http://www.linkedin.com/in/carstenlaundelellis
>
> > To all,
> >
> > I've updated my SOGo tutorial and bring the following fixed (still
> > available at
> >
> http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/
> > )
> >
> >  

Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial

2013-03-14 Thread Carsten Laun-De Lellis
Hi all

I think I am very Close.

I've got openchange running, samba4, sogo but didn't manage to logon.

I always got the following error message:

Mar 14 17:12:07 sogod [1515]: <0x0x7f7a8444d420[LDAPSource]>  NAME:LDAPException REASON:operation bind failed: Invalid
credentials (0x31) INFO:{login = "cn=cdelellis,cn=users,dc=1blu,dc=de"; }
Mar 14 17:12:07 sogod [1515]: SOGoRootPage Login from '2.206.0.83' for
user 'cdelellis' might not have worked - password policy: 65535  grace: -1
 expire: -1  bound: 0
2.206.0.83 - - [14/Mar/2013:17:12:07 GMT] "POST /SOGo/connect HTTP/1.1"
403 34/69 0.016 - - 0

I have no idea what it is meant with Password policy: 65535. I have
checked on the LDAP query. The path cn=cdelellis,cn=users,dc=1blu,dc=de is
correct. I checked that using Ldp on my Windows machine. So could anyone
please tell me where the misconfiguration is and what to do.

Thankx in advance.


Regards,

Carsten Laun-De Lellis

Hauptstrasse 13
D-67705 Trippstadt

Phone: +49 6306 992140
Fax: +49 6306 992142
Mobile: +49 151 27530865
email: carsten.delel...@delellis.net

http://www.linkedin.com/in/carstenlaundelellis

> Hi all
>
> I tried to narrow down the problem a bit.
>
> Whenever I start the Apache Web Server the RPC Error comes up. I am then
> neither able to connect to the AD Managment nor I am able to connect via
> Outlook.
>
> But I also need help on another topic.
> I am now able to connect to the OpenChange Server using outlook. But what
> I don't understand where do I get the link to my mailboxes. Let's say for
> example I want to use postfix and dovecot where do I tell the system which
> email server to use and how to get the email into the OpenChange server.
>
> Any help appreciated.
>
> Regards
>
> Carsten Laun-De Lellis
>
> Hauptstrasse 13
> D-67705 Trippstadt
>
> Phone: +49 6306 992140
> Fax: +49 6306 992142
> Mobile: +49 151 27530865
> email: carsten.delel...@delellis.net
>
> http://www.linkedin.com/in/carstenlaundelellis
>
>> Hi Olivier
>>
>> Sure. Maybe you have already read my second email where I explainde that
>> after deleting the entries for openchange in the smb.conf everyghing
>> worked fine.
>>
>> I have attached some log files to this email.
>>
>> Regards,
>>
>> Carsten Laun-De Lellis
>>
>> Hauptstrasse 13
>> D-67705 Trippstadt
>>
>> Phone: +49 6306 992140
>> Fax: +49 6306 992142
>> Mobile: +49 151 27530865
>> email: carsten.delel...@delellis.net
>>
>> http://www.linkedin.com/in/carstenlaundelellis
>>
>>> Is it possible to provide some logs files like /var/log/samba/log.samba
>>> and
>>> /var/log/sogo/sogo.log?
>>>
>>> Thanks.
>>>
>>> Olivier.
>>>
>>>
>>> 2013/3/14 Carsten Laun-De Lellis 
>>>
 Hi All

 First of all I want to thank Oliver for the great tutorial.

 I followed it step by step and successfully installed a Samba4 Server
 and
 OpenChange. After that I had no problems to join my domain with my
 Win8
 PC. Everything worked fine. I installed the Win Admin Tools and had no
 issues with adding users to the domain and also set them up as local
 users.

 DNS worked great, so I tried the next step. I installed SOGo and after
 that nothing worked at all.

 I allways get an error message:

 "Naming information cannot be located because:
 The RPC Server is unavailable. Contact your system administrators ..."

 I tried to solve the problem by adding my server to the hosts file.
 But
 no
 success.

 Any ideas to solve this problem? I would provide logging information
 if
 I
 only knew which.

 Also I didn't get the link where to create the user for SOGo,
 openchange
 and Samba4 if I don't want to use iGestis.

 I would appreciate any hints.

 Regards,

 Carsten Laun-De Lellis

 Hauptstrasse 13
 D-67705 Trippstadt

 Phone: +49 6306 992140
 Fax: +49 6306 992142
 Mobile: +49 151 27530865
 email: carsten.delel...@delellis.net

 http://www.linkedin.com/in/carstenlaundelellis

 > To all,
 >
 > I've updated my SOGo tutorial and bring the following fixed (still
 > available at
 >
 http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/
 > )
 >
 >- Add a temporarily and cleaner way to install Samba4 (Thanks to
 Davor
 >Vusir).
 >- Some small other fixes.
 >
 > Don't hesitate to let me a comment on the website if something work
 or
 > not.
 >
 > Best regards.
 >
 >
 > 2013/3/5 Ludovic Marcotte 
 >
 >>  On 28/02/13 03:27, Olivier Bitsch wrote:
 >>
 >> Use PostGreSQL by default to avoid the bug
 >> http://tracker.openchange.org/issues/413
 >>
 >> We identified the bug. MySQL's TEXT data type is limited to 2^16 -
 1
 =
 >> 65535 bytes, so truncation occurs and thus, a crash (because the
 cache
 >> is
 >> corrupted).
 >>
 >>

Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial

2013-03-14 Thread Carsten Laun-De Lellis
Hi all

I tried to narrow down the problem a bit.

Whenever I start the Apache Web Server the RPC Error comes up. I am then
neither able to connect to the AD Managment nor I am able to connect via
Outlook.

But I also need help on another topic.
I am now able to connect to the OpenChange Server using outlook. But what
I don't understand where do I get the link to my mailboxes. Let's say for
example I want to use postfix and dovecot where do I tell the system which
email server to use and how to get the email into the OpenChange server.

Any help appreciated.

Regards

Carsten Laun-De Lellis

Hauptstrasse 13
D-67705 Trippstadt

Phone: +49 6306 992140
Fax: +49 6306 992142
Mobile: +49 151 27530865
email: carsten.delel...@delellis.net

http://www.linkedin.com/in/carstenlaundelellis

> Hi Olivier
>
> Sure. Maybe you have already read my second email where I explainde that
> after deleting the entries for openchange in the smb.conf everyghing
> worked fine.
>
> I have attached some log files to this email.
>
> Regards,
>
> Carsten Laun-De Lellis
>
> Hauptstrasse 13
> D-67705 Trippstadt
>
> Phone: +49 6306 992140
> Fax: +49 6306 992142
> Mobile: +49 151 27530865
> email: carsten.delel...@delellis.net
>
> http://www.linkedin.com/in/carstenlaundelellis
>
>> Is it possible to provide some logs files like /var/log/samba/log.samba
>> and
>> /var/log/sogo/sogo.log?
>>
>> Thanks.
>>
>> Olivier.
>>
>>
>> 2013/3/14 Carsten Laun-De Lellis 
>>
>>> Hi All
>>>
>>> First of all I want to thank Oliver for the great tutorial.
>>>
>>> I followed it step by step and successfully installed a Samba4 Server
>>> and
>>> OpenChange. After that I had no problems to join my domain with my Win8
>>> PC. Everything worked fine. I installed the Win Admin Tools and had no
>>> issues with adding users to the domain and also set them up as local
>>> users.
>>>
>>> DNS worked great, so I tried the next step. I installed SOGo and after
>>> that nothing worked at all.
>>>
>>> I allways get an error message:
>>>
>>> "Naming information cannot be located because:
>>> The RPC Server is unavailable. Contact your system administrators ..."
>>>
>>> I tried to solve the problem by adding my server to the hosts file. But
>>> no
>>> success.
>>>
>>> Any ideas to solve this problem? I would provide logging information if
>>> I
>>> only knew which.
>>>
>>> Also I didn't get the link where to create the user for SOGo,
>>> openchange
>>> and Samba4 if I don't want to use iGestis.
>>>
>>> I would appreciate any hints.
>>>
>>> Regards,
>>>
>>> Carsten Laun-De Lellis
>>>
>>> Hauptstrasse 13
>>> D-67705 Trippstadt
>>>
>>> Phone: +49 6306 992140
>>> Fax: +49 6306 992142
>>> Mobile: +49 151 27530865
>>> email: carsten.delel...@delellis.net
>>>
>>> http://www.linkedin.com/in/carstenlaundelellis
>>>
>>> > To all,
>>> >
>>> > I've updated my SOGo tutorial and bring the following fixed (still
>>> > available at
>>> >
>>> http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/
>>> > )
>>> >
>>> >- Add a temporarily and cleaner way to install Samba4 (Thanks to
>>> Davor
>>> >Vusir).
>>> >- Some small other fixes.
>>> >
>>> > Don't hesitate to let me a comment on the website if something work
>>> or
>>> > not.
>>> >
>>> > Best regards.
>>> >
>>> >
>>> > 2013/3/5 Ludovic Marcotte 
>>> >
>>> >>  On 28/02/13 03:27, Olivier Bitsch wrote:
>>> >>
>>> >> Use PostGreSQL by default to avoid the bug
>>> >> http://tracker.openchange.org/issues/413
>>> >>
>>> >> We identified the bug. MySQL's TEXT data type is limited to 2^16 - 1
>>> =
>>> >> 65535 bytes, so truncation occurs and thus, a crash (because the
>>> cache
>>> >> is
>>> >> corrupted).
>>> >>
>>> >> We'll commit a fix shortly and provide an upgrade script (2.0.4 to
>>> >> 2.0.5)
>>> >> to adjust the data type for all tables accordingly.
>>> >>
>>> >> 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
>>>
>>>
>>> --
>>> users@sogo.nu
>>> https://inverse.ca/sogo/lists
>>>
>>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists


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


Re: [SOGo] PHP-Push-2 help please!!!

2013-03-14 Thread Donny Brooks
 
 
 
On Thursday, March 14, 2013 07:43 AM CDT, Michael  
wrote: 
 
> Dear All,
> 
> I have been trying for weeks now to get PHP-Push-2 to work on my SOGo 
> system. The thing is, the old sogosync works like a charm, the only 
> problem with sogosync is that it doesn't support HTML email because it 
> has an older merge of z-push.
> 
> I have a previous thread entitled [SOGo] sogosync and html email but 
> have hit a brick wall.
> 
> After installing PHP-Push-2, copying the supplied config.php files and 
> following the rest of the instructions etc. I can connect my iOS devices 
> but when I go to check mail I get a password error. A look into the 
> z-push log shows:
> 
> 14/03/2013 23:26:25 [ 7183] [WARN] [mich...@example.com] 
> /var/www/PHP-Push-2/backend/caldav.php:34 Use of undefined constant 
> CALDAV_PORT - assumed 'CALDAV_PORT' (8)
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace error: 
> /var/www/PHP-Push-2/include/caldav-client-v2.php:116 Invalid URL: 
> 'https://sogo.example.com:CALDAV_PORT/SOGo/dav/mbonnic$
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
> 1:/var/www/PHP-Push-2/include/caldav-client-v2.php:116 - trigger_error()
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
> 2:/var/www/PHP-Push-2/backend/caldav.php:34 - CalDAVClient->__construct()
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
> 3:/var/www/PHP-Push-2/backend/combined/combined.php:114 - 
> BackendCalDAV->Logon()
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
> 4:/var/www/PHP-Push-2/lib/request/requestprocessor.php:77 - 
> BackendCombined->Logon()
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
> 5:/var/www/PHP-Push-2/lib/request/provisioning.php:64 - 
> RequestProcessor::Authenticate()
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
> 6:/var/www/PHP-Push-2/lib/request/requestprocessor.php:127 - 
> Provisioning->Handle()
> 14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
> 7:/var/www/PHP-Push-2/index.php:189 - RequestProcessor::HandleRequest()
> 
> Increasing the LOG level doesn't appear to show anything useful.
> 
> I have tried defining the CALDAV port manually but then I get similar 
> errors about CARDAV_SERVER and CARDDAV_PATH, again I define these 
> manually in the config.php file but I still get issues and more errors - 
> see previous thread [SOGo] sogosync and html email.
> 
> It's like the supplied config.php file isnt complete?
> 
> I am getting super desperate as I need this system to be in production 
> asap! I am getting to the point where I am willing to pay someone a fee 
> to fix it for me if no one has any useful suggestions :( -I can be 
> reached on michael(^at^)los-pollos(^dot^)co .
> 
> Here is my config.php (comments removed):
> 
>  define('TIMEZONE', 'Australia/Sydney');
> 
> 
>  define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']). '/');
> 
> ini_set('include_path',
> BASE_PATH. "include/" . PATH_SEPARATOR .
> BASE_PATH. PATH_SEPARATOR .
> ini_get('include_path') . PATH_SEPARATOR .
> "/usr/share/php/" . PATH_SEPARATOR .
> "/usr/share/php5/" . PATH_SEPARATOR .
> "/usr/share/pear/" . PATH_SEPARATOR .
> "/usr/share/awl/inc");
> 
>  define('SCRIPT_TIMEOUT', 0);
>  define('MAX_EMBEDDED_SIZE', 1048576);
> 
>  define('STATE_DIR', '/var/lib/z-push/');
> 
>  define('LOGFILEDIR', '/var/log/z-push/');
>  define('LOGFILE', LOGFILEDIR . 'z-push.log');
>  define('LOGERRORFILE', LOGFILEDIR . 'z-push-error.log');
>  define('LOGLEVEL', LOGLEVEL_INFO);
>  define('LOGUSERLEVEL', LOGLEVEL_DEVICEID);
>  $specialLogUsers = array();
>  define('PROVISIONING', true);
>  define('LOOSE_PROVISIONING', false);
>  define('SYNC_CONFLICT_DEFAULT', SYNC_CONFLICT_OVERWRITE_PIM);
>  define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL);
> 
>  define('PING_INTERVAL', 30);
> 
>  define('SINK_FORCERECHECK', 300);
> 
>  define('BACKEND_PROVIDER', "BackendCombined");
> 
>  define('MAPI_SERVER', 'file:///var/run/zarafa');
> 
> 
>  define('IMAP_SERVER', 'sogo.example.com');
>  define('IMAP_PORT', 143);
> 
>  define('IMAP_OPTIONS', '/notls/norsh');
>  define('IMAP_DEFAULTFROM', 'username');
> 
>  define('IMAP_SENTFOLDER', 'Sent');
> 
>  define('IMAP_INLINE_FORWARD', false);
> 
>  define('IMAP_USE_IMAPMAIL', true);
>  define('MAILDIR_BASE', '/tmp');
>  define('MAILDIR_SUBDIR', 'Maildir');
> 
>  define('VCARDDIR_DIR', '/home/%u/.kde/share/apps/kabc/stdvcf');
> 
> 
>  define('CALDAV_SERVER', 'https://sogo.example.com');
>  define('CALDAV_PATH', '/SOGo/dav/%u/');
>  define('CALDAV_PERSONAL', 'personal');
>  define('CALDAV_URL', 'https://sogo.example.com/SOGo/dav/%u/');
> 
> 
>  define('CALDAV_READONLY', false);
>  define('CARDDAV_PERSONAL', 'personal');
>  define('CARDDAV_URL', 
> 'https://sogo.example.com/SOGo/dav/%u/C

Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial

2013-03-14 Thread Carsten Laun-De Lellis
Hi all

I found out, that when I delete the openchange settings from the smb.conf
file than the Samba4 server works fine and I don't get the Error Message
any more. I can than connect to the Server with no problem and use the
Admin Tools like intended.

Is this how it's supposed to work?

Regards,

Carsten Laun-De Lellis

Hauptstrasse 13
D-67705 Trippstadt

Phone: +49 6306 992140
Fax: +49 6306 992142
Mobile: +49 151 27530865
email: carsten.delel...@delellis.net

http://www.linkedin.com/in/carstenlaundelellis

> Hi All
>
> First of all I want to thank Oliver for the great tutorial.
>
> I followed it step by step and successfully installed a Samba4 Server and
> OpenChange. After that I had no problems to join my domain with my Win8
> PC. Everything worked fine. I installed the Win Admin Tools and had no
> issues with adding users to the domain and also set them up as local
> users.
>
> DNS worked great, so I tried the next step. I installed SOGo and after
> that nothing worked at all.
>
> I allways get an error message:
>
> "Naming information cannot be located because:
> The RPC Server is unavailable. Contact your system administrators ..."
>
> I tried to solve the problem by adding my server to the hosts file. But no
> success.
>
> Any ideas to solve this problem? I would provide logging information if I
> only knew which.
>
> Also I didn't get the link where to create the user for SOGo, openchange
> and Samba4 if I don't want to use iGestis.
>
> I would appreciate any hints.
>
> Regards,
>
> Carsten Laun-De Lellis
>
> Hauptstrasse 13
> D-67705 Trippstadt
>
> Phone: +49 6306 992140
> Fax: +49 6306 992142
> Mobile: +49 151 27530865
> email: carsten.delel...@delellis.net
>
> http://www.linkedin.com/in/carstenlaundelellis
>
>> To all,
>>
>> I've updated my SOGo tutorial and bring the following fixed (still
>> available at
>> http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/
>> )
>>
>>- Add a temporarily and cleaner way to install Samba4 (Thanks to
>> Davor
>>Vusir).
>>- Some small other fixes.
>>
>> Don't hesitate to let me a comment on the website if something work or
>> not.
>>
>> Best regards.
>>
>>
>> 2013/3/5 Ludovic Marcotte 
>>
>>>  On 28/02/13 03:27, Olivier Bitsch wrote:
>>>
>>> Use PostGreSQL by default to avoid the bug
>>> http://tracker.openchange.org/issues/413
>>>
>>> We identified the bug. MySQL's TEXT data type is limited to 2^16 - 1 =
>>> 65535 bytes, so truncation occurs and thus, a crash (because the cache
>>> is
>>> corrupted).
>>>
>>> We'll commit a fix shortly and provide an upgrade script (2.0.4 to
>>> 2.0.5)
>>> to adjust the data type for all tables accordingly.
>>>
>>> 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
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>


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


Re: [SOGo] Re: New Samba4/OpenChange/Sogo tutorial

2013-03-14 Thread Carsten Laun-De Lellis
Hi All

First of all I want to thank Oliver for the great tutorial.

I followed it step by step and successfully installed a Samba4 Server and
OpenChange. After that I had no problems to join my domain with my Win8
PC. Everything worked fine. I installed the Win Admin Tools and had no
issues with adding users to the domain and also set them up as local
users.

DNS worked great, so I tried the next step. I installed SOGo and after
that nothing worked at all.

I allways get an error message:

"Naming information cannot be located because:
The RPC Server is unavailable. Contact your system administrators ..."

I tried to solve the problem by adding my server to the hosts file. But no
success.

Any ideas to solve this problem? I would provide logging information if I
only knew which.

Also I didn't get the link where to create the user for SOGo, openchange
and Samba4 if I don't want to use iGestis.

I would appreciate any hints.

Regards,

Carsten Laun-De Lellis

Hauptstrasse 13
D-67705 Trippstadt

Phone: +49 6306 992140
Fax: +49 6306 992142
Mobile: +49 151 27530865
email: carsten.delel...@delellis.net

http://www.linkedin.com/in/carstenlaundelellis

> To all,
>
> I've updated my SOGo tutorial and bring the following fixed (still
> available at
> http://iabsis.com/EN/article/35/Samba4-and-OpenChange-on-a-Debian-or-Ubuntu-server/
> )
>
>- Add a temporarily and cleaner way to install Samba4 (Thanks to Davor
>Vusir).
>- Some small other fixes.
>
> Don't hesitate to let me a comment on the website if something work or
> not.
>
> Best regards.
>
>
> 2013/3/5 Ludovic Marcotte 
>
>>  On 28/02/13 03:27, Olivier Bitsch wrote:
>>
>> Use PostGreSQL by default to avoid the bug
>> http://tracker.openchange.org/issues/413
>>
>> We identified the bug. MySQL's TEXT data type is limited to 2^16 - 1 =
>> 65535 bytes, so truncation occurs and thus, a crash (because the cache
>> is
>> corrupted).
>>
>> We'll commit a fix shortly and provide an upgrade script (2.0.4 to
>> 2.0.5)
>> to adjust the data type for all tables accordingly.
>>
>> 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


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


[SOGo] PHP-Push-2 help please!!!

2013-03-14 Thread Michael

Dear All,

I have been trying for weeks now to get PHP-Push-2 to work on my SOGo 
system. The thing is, the old sogosync works like a charm, the only 
problem with sogosync is that it doesn't support HTML email because it 
has an older merge of z-push.


I have a previous thread entitled [SOGo] sogosync and html email but 
have hit a brick wall.


After installing PHP-Push-2, copying the supplied config.php files and 
following the rest of the instructions etc. I can connect my iOS devices 
but when I go to check mail I get a password error. A look into the 
z-push log shows:


14/03/2013 23:26:25 [ 7183] [WARN] [mich...@example.com] 
/var/www/PHP-Push-2/backend/caldav.php:34 Use of undefined constant 
CALDAV_PORT - assumed 'CALDAV_PORT' (8)
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace error: 
/var/www/PHP-Push-2/include/caldav-client-v2.php:116 Invalid URL: 
'https://sogo.example.com:CALDAV_PORT/SOGo/dav/mbonnic$
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
1:/var/www/PHP-Push-2/include/caldav-client-v2.php:116 - trigger_error()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
2:/var/www/PHP-Push-2/backend/caldav.php:34 - CalDAVClient->__construct()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
3:/var/www/PHP-Push-2/backend/combined/combined.php:114 - 
BackendCalDAV->Logon()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
4:/var/www/PHP-Push-2/lib/request/requestprocessor.php:77 - 
BackendCombined->Logon()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
5:/var/www/PHP-Push-2/lib/request/provisioning.php:64 - 
RequestProcessor::Authenticate()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
6:/var/www/PHP-Push-2/lib/request/requestprocessor.php:127 - 
Provisioning->Handle()
14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace: 
7:/var/www/PHP-Push-2/index.php:189 - RequestProcessor::HandleRequest()


Increasing the LOG level doesn't appear to show anything useful.

I have tried defining the CALDAV port manually but then I get similar 
errors about CARDAV_SERVER and CARDDAV_PATH, again I define these 
manually in the config.php file but I still get issues and more errors - 
see previous thread [SOGo] sogosync and html email.


It's like the supplied config.php file isnt complete?

I am getting super desperate as I need this system to be in production 
asap! I am getting to the point where I am willing to pay someone a fee 
to fix it for me if no one has any useful suggestions :( -I can be 
reached on michael(^at^)los-pollos(^dot^)co .


Here is my config.php (comments removed):

define('TIMEZONE', 'Australia/Sydney');


define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']). '/');

   ini_set('include_path',
   BASE_PATH. "include/" . PATH_SEPARATOR .
   BASE_PATH. PATH_SEPARATOR .
   ini_get('include_path') . PATH_SEPARATOR .
   "/usr/share/php/" . PATH_SEPARATOR .
   "/usr/share/php5/" . PATH_SEPARATOR .
   "/usr/share/pear/" . PATH_SEPARATOR .
   "/usr/share/awl/inc");

define('SCRIPT_TIMEOUT', 0);
define('MAX_EMBEDDED_SIZE', 1048576);

define('STATE_DIR', '/var/lib/z-push/');

define('LOGFILEDIR', '/var/log/z-push/');
define('LOGFILE', LOGFILEDIR . 'z-push.log');
define('LOGERRORFILE', LOGFILEDIR . 'z-push-error.log');
define('LOGLEVEL', LOGLEVEL_INFO);
define('LOGUSERLEVEL', LOGLEVEL_DEVICEID);
$specialLogUsers = array();
define('PROVISIONING', true);
define('LOOSE_PROVISIONING', false);
define('SYNC_CONFLICT_DEFAULT', SYNC_CONFLICT_OVERWRITE_PIM);
define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL);

define('PING_INTERVAL', 30);

define('SINK_FORCERECHECK', 300);

define('BACKEND_PROVIDER', "BackendCombined");

define('MAPI_SERVER', 'file:///var/run/zarafa');


define('IMAP_SERVER', 'sogo.example.com');
define('IMAP_PORT', 143);

define('IMAP_OPTIONS', '/notls/norsh');
define('IMAP_DEFAULTFROM', 'username');

define('IMAP_SENTFOLDER', 'Sent');

define('IMAP_INLINE_FORWARD', false);

define('IMAP_USE_IMAPMAIL', true);
define('MAILDIR_BASE', '/tmp');
define('MAILDIR_SUBDIR', 'Maildir');

define('VCARDDIR_DIR', '/home/%u/.kde/share/apps/kabc/stdvcf');


define('CALDAV_SERVER', 'https://sogo.example.com');
define('CALDAV_PATH', '/SOGo/dav/%u/');
define('CALDAV_PERSONAL', 'personal');
define('CALDAV_URL', 'https://sogo.example.com/SOGo/dav/%u/');


define('CALDAV_READONLY', false);
define('CARDDAV_PERSONAL', 'personal');
define('CARDDAV_URL', 
'https://sogo.example.com/SOGo/dav/%u/Contacts/');


define('CARDDAV_READONLY', false);
define('SEARCH_PROVIDER', '');
define('SEARCH_WAIT', 10);

define('SEARCH_MAXRESULTS', 10);

$additionalFolders = array(
// demo entry for the synchronization of contacts from the 
public folder.

// uncomment (remove '/*' '*/') and fill in the folderid

a

Re: [SOGo] Outlook 2010 Inbox refresh

2013-03-14 Thread Christian Mack
Hello Lawrence


Am 2013-03-14 09:51, schrieb lawre...@cis.za.net:
> Hi, I do apologize for asking this question a second time. Perhaps someone
> could point me in the direction of replying to an old post? 
> 
> I am using the sogo ZEG
> (http://sourceforge.net/projects/sogo-zeg/files/ZEG-2.0.4.ova/download) and
> have successfully changed the domain to my own and configured Outlook and
> Thunderbird successfully.
> 
> Outlook 2010 connects without issue to OpenChange and Samba4 and I can send 
> and
> receive email with no issue. However I need to actually refresh the Inbox
> folder in order to see new messages (not the case with Exchange and Outlook). 
> I
> noticed the same behavior in Thunderbird certainly as far as Email was
> concerned - calendar and contacts work fine, I added this line: 
> idled cmd="idled" in the START { section of /etc/cyrus.conf
> which sorted the problem for Thunderbird. I wonder if there is any progress on
> the fix for Outlook? Who can we speak to we may be able to muster some funding
> together? 
> 

See bug #1972
http://www.sogo.nu/bugs/view.php?id=1972


Kind regards,
Christian Mack

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


Re: [SOGo] Problems/Errors after upgrading

2013-03-14 Thread Peter Schmidt

On 2013-03-14 03:01, Jean Raby wrote:

On 13-03-13 7:18 PM, Peter Schmidt wrote:

On 2013-03-13 19:14, Christian Rößner wrote:

Am 13.03.2013 um 18:44 schrieb Peter Schmidt :


sogo (2.0.4b-1) wird eingerichtet ...
* Restarting SOGo sogo   No
process in
pidfile '/var/run/sogo/sogo.pid' found running; none killed.
/etc/init.d/sogo: line 61:  4500 Segmentation fault  (core dumped)
start-stop-daemon -c $USER --quiet --start --pidfile $PIDFILE --exec
$DAEMON
-- $DAEMON_OPTS
invoke-rc.d: initscript sogo, action "restart" failed.
dpkg: Fehler beim Bearbeiten von sogo (--configure):
Unterprozess installiertes post-installation-Skript gab den
Fehlerwert 139
zurück
Fehler traten auf beim Bearbeiten von:
sogo






Have you upgraded all the libsope4.9 and sope packages to the versions
from the precise repository?


That fixed it! I had to first manually "upgrade" all the dependencies, 
then sogo was fixed automatically. Don't know, why apt didn't manage 
that on its own.


Thanks a lot!

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


[SOGo] Outlook 2010 Inbox refresh

2013-03-14 Thread lawrence
Hi, I do apologize for asking this question a second time. Perhaps someone
could point me in the direction of replying to an old post? 

I am using the sogo ZEG
(http://sourceforge.net/projects/sogo-zeg/files/ZEG-2.0.4.ova/download) and
have successfully changed the domain to my own and configured Outlook and
Thunderbird successfully.

Outlook 2010 connects without issue to OpenChange and Samba4 and I can send and
receive email with no issue. However I need to actually refresh the Inbox
folder in order to see new messages (not the case with Exchange and Outlook). I
noticed the same behavior in Thunderbird certainly as far as Email was
concerned - calendar and contacts work fine, I added this line: 
idled   cmd="idled" in the START { section of /etc/cyrus.conf
which sorted the problem for Thunderbird. I wonder if there is any progress on
the fix for Outlook? Who can we speak to we may be able to muster some funding
together? 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists