[SOGo] Configuring SOGo Connector for Thunderbird 6

2011-09-01 Thread Asai

Greetings,

I'm trying to get Connector working for TB 6.  I know it was discussed 
in this list before, but I'm unable to find it in the archives.


Can someone give me the rundown on how to get it working with TB 6?  I 
know that you have to change the Max Version node in install.rdf, but 
not sure if there's anything else.


Thanks.
--

*Asai*
Global Change Multi-Media
Internet Application Development
IT and Networking Services
520-398-2542
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Can't Edit Address Book Entries in Web Mail

2011-06-03 Thread Asai

Greetings,

I'm getting this message in the logs when I try to delete an additional 
email address in a user's address book:


Jun 03 11:06:02 sogod [1343]: 0x0x183cc3f0[WOTextField] -[WOInput 
takeValuesFromRequest:inContext:]: form value is not settable: 
0x0x18011570[WOValueAssociation]: value=


Any insights?

--

*Asai*
Internet Application Development
IT and Networking Services
520-398-2542
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Sogo instances

2011-06-03 Thread Asai
Hi, how many instances of SOGo should be running at one time? Is it 
normal for it to be running 2 instances of Sogo with the same pid file?


[root@triata ~]# ps -ef | grep sogo
sogo  1667 1 10 14:39 ?00:00:00 
/usr/GNUstep/System/Tools/Admin/sogod -WOWorkersCount 1 -WOPidFile 
/var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
sogo  1668  1667  2 14:39 ?00:00:00 
/usr/GNUstep/System/Tools/Admin/sogod -WOWorkersCount 1 -WOPidFile 
/var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log

root  1670 21796  0 14:39 pts/000:00:00 grep sogo


--

*Asai*
Internet Application Development
IT and Networking Services
520-398-2542
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Upgrade to 1.3.6

2011-04-19 Thread Asai
I'm beginning to wonder if there's some database related problems here.  
I was studying some of the MySQL queries which are being sent.


 For example:
SELECT c_foldername FROM sogo_folder_info WHERE c_path = 
'/Users/a...@globalchangemusic.org/Calendar/C41CF663-DA60-0001-A271-17F013809D70'. 



This query returns nothing.  Could there be then, some problem with 
possible database corruption?  If so, is there any possible way of 
repairing it?  Or exporting the data and reimporting after cleaning it up?


On 4/18/2011 4:29 PM, Ludovic Marcotte wrote:

On 18/04/11 19:25, Asai wrote:
I partially cleared up that problem by deleting the sqlite calendar 
files and restarting TB, and though I can access shared calendars, I 
can't access my own personal calendars.   Please guys, you gotta tell 
me what's going on here. 


Without any evidences from your sogo.log file, we can't help much.



--
--asai

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


Re: [SOGo] Upgrade to 1.3.6

2011-04-19 Thread Asai
Upgraded from 3.5.  Are there DB update scripts for this version?  If 
so, I missed it.


On 4/19/2011 10:39 AM, Mark Adams wrote:

Not sure which version your upgrading from, but did you run the DB upgrade 
scripts?

Regards,
Mark

On 19 Apr 2011, at 18:01, Asaia...@globalchangemusic.org  wrote:


I'm beginning to wonder if there's some database related problems here.  I was 
studying some of the MySQL queries which are being sent.

For example:
SELECT c_foldername FROM sogo_folder_info WHERE c_path = 
'/Users/a...@globalchangemusic.org/Calendar/C41CF663-DA60-0001-A271-17F013809D70'.

This query returns nothing.  Could there be then, some problem with possible 
database corruption?  If so, is there any possible way of repairing it?  Or 
exporting the data and reimporting after cleaning it up?

On 4/18/2011 4:29 PM, Ludovic Marcotte wrote:

On 18/04/11 19:25, Asai wrote:

I partially cleared up that problem by deleting the sqlite calendar files and 
restarting TB, and though I can access shared calendars, I can't access my own 
personal calendars.   Please guys, you gotta tell me what's going on here.

Without any evidences from your sogo.log file, we can't help much.


--
--asai

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


--
--asai

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


[SOGo] Upgrade to 1.3.6

2011-04-18 Thread Asai

On trying to upgrade from 1.3.5, I'm now getting these errors:
 [ERROR] 0x0x2ac32c3d56e0[GCSSessionsFolder] 'OCSSessionsFolderURL' 
is not set

and
 [ERROR] [we-rm] did not find MainUIProduct class!
Apr 18 12:26:11 sogod [15016]: [ERROR] [we-rm] did not find locale for 
language: English


Any insights?

--
--asai

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


Re: [SOGo] Upgrade to 1.3.6

2011-04-18 Thread Asai
Now when I unsubscribe and resubscribe to a shared calendar, it shows me 
all of my tasks on the task list, then eliminates each task on the list 
one by one until nothing shows anymore.


On 4/18/2011 3:54 PM, Asai wrote:
OK. Got those two problems fixed.  Now there's NO calendars anymore in 
my Thunderbird.  Please, can the SOGo devs help me out here?


On 4/18/2011 12:34 PM, Asai wrote:

On trying to upgrade from 1.3.5, I'm now getting these errors:
 [ERROR] 0x0x2ac32c3d56e0[GCSSessionsFolder] 'OCSSessionsFolderURL' 
is not set

and
 [ERROR] [we-rm] did not find MainUIProduct class!
Apr 18 12:26:11 sogod [15016]: [ERROR] [we-rm] did not find locale 
for language: English


Any insights?





--
--asai

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


Re: [SOGo] Upgrade to 1.3.6

2011-04-18 Thread Asai
I partially cleared up that problem by deleting the sqlite calendar 
files and restarting TB, and though I can access shared calendars, I 
can't access my own personal calendars.   Please guys, you gotta tell me 
what's going on here.


On 4/18/2011 3:59 PM, Asai wrote:
Now when I unsubscribe and resubscribe to a shared calendar, it shows 
me all of my tasks on the task list, then eliminates each task on the 
list one by one until nothing shows anymore.


On 4/18/2011 3:54 PM, Asai wrote:
OK. Got those two problems fixed.  Now there's NO calendars anymore 
in my Thunderbird.  Please, can the SOGo devs help me out here?


On 4/18/2011 12:34 PM, Asai wrote:

On trying to upgrade from 1.3.5, I'm now getting these errors:
 [ERROR] 0x0x2ac32c3d56e0[GCSSessionsFolder] 
'OCSSessionsFolderURL' is not set

and
 [ERROR] [we-rm] did not find MainUIProduct class!
Apr 18 12:26:11 sogod [15016]: [ERROR] [we-rm] did not find locale 
for language: English


Any insights?







--
--asai

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


Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-02 Thread Asai

Thanks, Ludovic.  Here are Updates.php, Extensions.rdf, and Sogo Config:

Updates.php
$plugins
= array( sogo-connec...@inverse.ca
 = array( application = thunderbird,
   version = 3.104,
   filename = sogo-connector-3.104.xpi ),
 sogo-integra...@inverse.ca
 = array( application = thunderbird,
   version = 3.104,
   filename = sogo-integrator-3.104-gcmm.xpi ),
 {3550f703-e582-4d05-9a08-453d09bdfdc6}
 = array( application = thunderbird,
   version = 1.0b2.104i,
   filename = lightning-1.0b2.104i_win32.xpi ));

$applications
= array( thunderbird = 
em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id

em:minVersion1.5/em:minVersion
em:maxVersion2.0.*/em:maxVersion,
 firefox = em:id{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/em:id
em:minVersion1.5/em:minVersion
em:maxVersion2.0.*/em:maxVersion );

$pluginname = $HTTP_GET_VARS[plugin];
$plugin = $plugins[$pluginname];
$application = $applications[$plugin[application]];

if ( $plugin ) {
  $platform = $HTTP_GET_VARS[platform];
  if ( $platform
 file_exists( $platform . / . $plugin[filename] ) ) {
$plugin[filename] = $platform . / . $plugin[filename];
  }
  elseif ( !file_exists( $plugin[filename] ) ) {
$plugin = false;
  }
}

if ( $plugin ) {
  header(Content-type: text/xml; charset=utf-8);
  echo ('?xml version=1.0?' . \n);
?
!DOCTYPE RDF
RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
  xmlns:em=http://www.mozilla.org/2004/em-rdf#;
Description about=urn:mozilla:extension:?= $pluginname ?
em:updates
Seq
li
Description
em:version?= $plugin[version] ?/em:version
em:targetApplication
Description?= $applications[$plugin[application]] ?
em:updateLinkhttp://globalchangemultimedia.net/sogoscripts?= 
$plugin[filename] ?/em:updateLink

/Description
/em:targetApplication
/Description
/li
/Seq
/em:updates
/Description
/RDF
?php
} else {
  header(Content-type: text/plain; charset=utf-8, true, 404);
  echo( 'Plugin not found' );
}

Extensions.rdf
?xml version=1.0?
!DOCTYPE RDF
RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
  xmlns:isi=http://inverse.ca/sogo-integrator/;
  xmlns:em=http://www.mozilla.org/2004/em-rdf#;
  xmlns:NC=http://home.netscape.com/NC-rdf#;
Seq about=http://inverse.ca/sogo-integrator/extensions;

isi:updateURL=http://globalchangemultimedia.net/sogoscripts/updates_TB3.php?plugin=%ITEM_ID%amp;version=%ITEM_VERSION%amp;platform=%PLATFORM%;

li
Description
em:id=sogo-integra...@inverse.ca
em:name=SOGo Integrator/
/li
li
Description
em:id=sogo-connec...@inverse.ca
em:name=SOGo Connector/
/li
/Seq
/RDF

.GNUStepDefaults
{
NSGlobalDomain = {
};
gdnc = {
};
sogod = {
OCSFolderInfoURL = 
mysql://sogodb:u...@db.ip.address/sogo/sogo_folder_info;

SOGoAppointmentSendEMailNotifications = YES;
SOGoAuthenticationMethod = LDAP;
SOGoCalendarDefaultRoles = (
PublicViewer,
ConfidentialDAndTViewer
);
SOGoDraftsFolderName = Drafts;
SOGoForceIMAPLoginWithEmail = YES;
SOGoIMAPServer = triata.globalchangemultimedia.net;
SOGoLanguage = English;
SOGoMailDomain = triata.globalchangemultimedia.net;
SOGoMailingMechanism = smtp;
SOGoOtherUsersFolderName = Other Users;
SOGoProfileURL = 
mysql://sogodb:u...@db.ip.address/sogo/sogo_user_profile;

SOGoSMTPServer = triata.globalchangemultimedia.net;
SOGoSentFolderName = Sent;
SOGoSharedFolderName = Shared Folders;
SOGoSpecialFoldersInRoot = YES;
SOGoSuperUsernames = (
a...@globalchangemusic.org
);
SOGoTimeZone = America/Phoenix;
SOGoTrashFolderName = Trash;
SOGoUserSources = (
{
type = sql;
id = directory;
viewURL = 
mysql://maildb:passw...@db.ip.address/sogo_auth;

canAuthenticate = YES;
isAddressBook = NO;
userPasswordAlgorithm = md5;

}
);
SxVMemLimit = 1024;
WOHttpAllowHost = (
localhost,
localhost.localdomain,
127.0.0.1,
140.99.55.54
);
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 2;
WOUseRelativeURLs = NO;
 };
}





On 11-03-01 6:45 PM, Asai wrote:
Can anyone help me out here?  I'm kind of going nuts and frustrated 
with SOGo right now.  I think it's a great product, but I can't seem 
to make it work on TB.
Show your SOGo Integrator (extensions.rdf), your updates.php (if 
you're using it) and your sogod configuration.






--
--asai

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

Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-02 Thread Asai

Apache Config:
Alias /SOGo.woa/WebServerResources/ \
  /usr/GNUstep/System/Library/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
  /usr/GNUstep/System/Library/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
   /usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2

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

  SetHandler default-handler
/LocationMatch

## Uncomment the following to enable proxy-side authentication, you will 
then
## need to set the SOGoTrustProxyAuthentication SOGo user default to 
YES and

## adjust the x-webobjects-remote-user proxy header in the Proxy section
## below.
#Location /SOGo
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#/Location

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

# When using CAS, you should uncomment this and install 
cas-proxy-validate.py

# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# Proxy http://localhost/app/cas-proxy-validate.py
#   Order deny,allow
#   Allow from your-cas-host-addr
# /Proxy

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 80
  RequestHeader set x-webobjects-server-name globalchangemultimedia.net
  RequestHeader set x-webobjects-server-url 
http://globalchangemultimedia.net;


## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

  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

## We use mod_rewrite to pass remote address to the SOGo proxy.
# The remote address will appear in SOGo's log files and in the X-Forward
# header of emails.
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]



On 3/2/2011 8:26 AM, Ludovic Marcotte wrote:

On 11-03-02 10:23 AM, Asai wrote:

Thanks, Ludovic.  Here are Updates.php, Extensions.rdf, and Sogo Config:

Forgot to ask also for your SOGo's Apache configuration.

Regards,



--
--asai

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

Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-02 Thread Asai
Thanks, Ludovic.  I can provide a packet capture, but I'd rather not 
post it to the list.  Can I contact you offlist about this?


On 3/2/2011 1:47 PM, Ludovic Marcotte wrote:

You got:

tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
/SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
72/339 0.003 - - 0


because you have :

SOGoUserSources = (
{
type = sql;
id = directory;

while in your SOGo Integrator's site.js, you have:

pref(sogo-integrator.autocomplete.server.urlid, public);

It should be directory.

That's a start. For the calendar issue, we'll need more meat - for 
example, a full tcpflow capture between Thunderbird and SOGo when you 
start Thunderbird until it has finished starting.


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)


--
--asai

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

[SOGo] Thunderbird Calendars Not Loading

2011-03-01 Thread Asai

Hi Guys,

Using TB 3.1 and SOGo 3.104 Connector and Integrator along with 
Lightning 1.0b2.104i, with Sogo 3.5 on


Having a real problem here with shared calendars.  Basically while I can 
see them no problem in the web version of sogo, the calendars I'm 
subscribed to in TB don't show up.  My user account is a Sogo admin, 
we're using MySQL authentication and it seems to work fine.  There are 
no error messages at all here.  Not in the logs, not in the TB error 
console.  I'm wondering about one thing though.  In the Sogo logs I do 
see 207 http response codes:


tria - - [01/Mar/2011:16:32:56 GMT] REPORT 
/SOGo/dav/u...@mydomain.org/Calendar/C4A714D4-EBC0-0001-53A2-1B617C301118/ 
HTTP/1.1 207 125/245 0.019 - - 0


I'm also seeing this happen a lot of these 404s after I deleted my 
account from the database, recreated my TB profile and reinstalled SOGo 
plugins:


tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
/SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
72/339 0.003 - - 0



Can anyone help me out here?  I'm kind of going nuts and frustrated with 
SOGo right now.  I think it's a great product, but I can't seem to make 
it work on TB.


--
--asai

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


Re: [SOGo] Thunderbird Calendars Not Loading

2011-03-01 Thread Asai

Sorry, that should have been SOGo version 1.3.4

On 3/1/2011 4:45 PM, Asai wrote:

Hi Guys,

Using TB 3.1 and SOGo 3.104 Connector and Integrator along with 
Lightning 1.0b2.104i, with Sogo 3.5 on


Having a real problem here with shared calendars.  Basically while I 
can see them no problem in the web version of sogo, the calendars I'm 
subscribed to in TB don't show up.  My user account is a Sogo admin, 
we're using MySQL authentication and it seems to work fine.  There are 
no error messages at all here.  Not in the logs, not in the TB error 
console.  I'm wondering about one thing though.  In the Sogo logs I do 
see 207 http response codes:


tria - - [01/Mar/2011:16:32:56 GMT] REPORT 
/SOGo/dav/u...@mydomain.org/Calendar/C4A714D4-EBC0-0001-53A2-1B617C301118/ 
HTTP/1.1 207 125/245 0.019 - - 0


I'm also seeing this happen a lot of these 404s after I deleted my 
account from the database, recreated my TB profile and reinstalled 
SOGo plugins:


tria - - [01/Mar/2011:16:37:35 GMT] REPORT 
/SOGo/dav/a...@globalchangemusic.org/Contacts/public/ HTTP/1.1 404 
72/339 0.003 - - 0



Can anyone help me out here?  I'm kind of going nuts and frustrated 
with SOGo right now.  I think it's a great product, but I can't seem 
to make it work on TB.




--
--asai

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


Re: [SOGo] Bug When Composing New Mail with Address Book Sync in TB

2011-02-23 Thread Asai
Well, SOGo devs, do you have any advice for us here?  By the way, where 
can I file a bug report?


--asai


On 2/21/2011 8:37 AM, Alessio Fattorini wrote:

Il 21/02/2011 16:29, Asai ha scritto:
So, is there any way we can overcome this problem when the networks 
aren't up to speed?


No. we have this problem on all our customers with different lan speed 
and architectures




Again, this
issue didn't show up much in TB2.


Yes, it didn't



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


Re: [SOGo] Bug When Composing New Mail with Address Book Sync in TB

2011-02-23 Thread Asai

Muchas gracias.

--asai


On 2/23/2011 9:22 AM, Alessio Fattorini wrote:

Il 23/02/2011 17:15, Asai ha scritto:
Well, SOGo devs, do you have any advice for us here? By the way, 
where can I file a bug report?


Just fill
http://www.sogo.nu/bugs/view.php?id=1148


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


Re: [SOGo] Bug When Composing New Mail with Address Book Sync in TB

2011-02-21 Thread Asai
So, is there any way we can overcome this problem when the networks 
aren't up to speed?  Again, this issue didn't show up much in TB2.


--asai


On 2/17/2011 1:51 AM, J. Echter wrote:

Am 16.02.2011 21:53, schrieb Asai:

On 2/16/2011 9:34 AM, Bill Cameron wrote:

On Wed, Feb 16, 2011 at 8:58 AM, Alessio Fattorini
alessio.fattor...@nethesis.it  wrote:

Il 16/02/2011 16:54, J. Echter ha scritto:


If the email is not already stored in our address book, and we're
composing a new email to a new
recipient, every other key press fails to produce a letter. So if 
I type,

f...@bar.com I will
have to type f then o twice for the o to show up and then for 
every

subsequent letter it is
like that.

I confirm this.


This is usually caused by a slow connection to your directory server.
In your Thunderbird configuration (Tools - Options - Composition,
Addressing tab) you have specified a Directory Server. If this is an
OpenLDAP server make sure you have the correct indexes created (check
the slapd logs for warnings about missing attribute indexes) and have
a fast connection to the server.

We didn't notice this problem with TB 2 but it was more noticeable
with TB 3. We were able to minimize the complaints by fixing the
indexes and optimizing access to the directory.

Bill C.


Thanks, Bill.  This is a connection to a MySQL server, and the stored 
addresses in the SOGo schema there.  Not sure how we can work this.  
But we do have decent connection to the server which should be plenty 
fast enough.

Same here, LDAP but no errors so far, also we're on gigabit.

But as i said, this happens frequently not every time.

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


[SOGo] Bug When Composing New Mail with Address Book Sync in TB

2011-02-16 Thread Asai

Greetings,

Myself and several other users of Thunderbird v 3.1 (Connector / 
Integrator 3.104  Lightning 1.b2.104i)  are reporting problems when 
entering in an email address when composing a new mail.


If the email is not already stored in our address book, and we're 
composing a new email to a new recipient, every other key press fails to 
produce a letter.  So if I type, f...@bar.com  I will have to type f 
then o twice for the o to show up and then for every subsequent letter 
it is like that.


Please advise. Thank you

--
--asai

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


Re: [SOGo] Bug When Composing New Mail with Address Book Sync in TB

2011-02-16 Thread Asai

On 2/16/2011 9:34 AM, Bill Cameron wrote:

On Wed, Feb 16, 2011 at 8:58 AM, Alessio Fattorini
alessio.fattor...@nethesis.it  wrote:

Il 16/02/2011 16:54, J. Echter ha scritto:


If the email is not already stored in our address book, and we're
composing a new email to a new
recipient, every other key press fails to produce a letter. So if I type,
f...@bar.com I will
have to type f then o twice for the o to show up and then for every
subsequent letter it is
like that.

I confirm this.


This is usually caused by a slow connection to your directory server.
In your Thunderbird configuration (Tools - Options - Composition,
Addressing tab) you have specified a Directory Server. If this is an
OpenLDAP server make sure you have the correct indexes created (check
the slapd logs for warnings about missing attribute indexes) and have
a fast connection to the server.

We didn't notice this problem with TB 2 but it was more noticeable
with TB 3. We were able to minimize the complaints by fixing the
indexes and optimizing access to the directory.

Bill C.


Thanks, Bill.  This is a connection to a MySQL server, and the stored 
addresses in the SOGo schema there.  Not sure how we can work this.  But 
we do have decent connection to the server which should be plenty fast 
enough.

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


Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to1.3.4

2011-01-04 Thread Asai
I'm using SOGo integrator for Windows 3.104 along with the corresponding 
Connector and Lightning.


Here's extensions.rdf:
?xml version=1.0?
!DOCTYPE RDF
RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
  xmlns:isi=http://inverse.ca/sogo-integrator/;
  xmlns:em=http://www.mozilla.org/2004/em-rdf#;
  xmlns:NC=http://home.netscape.com/NC-rdf#;
Seq about=http://inverse.ca/sogo-integrator/extensions;

isi:updateURL=http://globlchangemultimedia.net/sogoscripts/updates.php?plugin=%ITEM_ID%amp;version=%ITEM_VERSION%amp;platform=%PLATFORM%;

li
Description
em:id=sogo-integra...@inverse.ca
em:name=SOGo Integrator/
/li
li
Description
em:id=sogo-connec...@inverse.ca
em:name=SOGo Connector/
/li
/Seq
/RDF

Here's updates.php:
?php


/* This script handles the automatic propagation of extensions 
pertaining to a

   SOGo site */
$plugins
= array( sogo-connec...@inverse.ca
 = array( application = thunderbird,
   version = 0.97,
   filename = sogo-connector-0.97.xpi ),
 sogo-integra...@inverse.ca
 = array( application = thunderbird,
   version = 0.97,
   filename = sogo-integrator-0.97-gcmm.xpi ),
 {3550f703-e582-4d05-9a08-453d09bdfdc6}
 = array( application = thunderbird,
   version = 0.9.7,
   filename = lightning-0.9.7.xpi ));

$applications
= array( thunderbird = 
em:id{3550f703-e582-4d05-9a08-453d09bdfdc6}/em:id

em:minVersion1.5/em:minVersion
em:maxVersion2.0.*/em:maxVersion,
 firefox = em:id{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/em:id
em:minVersion1.5/em:minVersion
em:maxVersion2.0.*/em:maxVersion );

$pluginname = $HTTP_GET_VARS[plugin];
$plugin = $plugins[$pluginname];
$application = $applications[$plugin[application]];

if ( $plugin ) {
  $platform = $HTTP_GET_VARS[platform];
  if ( $platform
 file_exists( $platform . / . $plugin[filename] ) ) {
$plugin[filename] = $platform . / . $plugin[filename];
  }
  elseif ( !file_exists( $plugin[filename] ) ) {
$plugin = false;
  }
}

if ( $plugin ) {
  header(Content-type: text/xml; charset=utf-8);
  echo ('?xml version=1.0?' . \n);
?
!DOCTYPE RDF
RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
  xmlns:em=http://www.mozilla.org/2004/em-rdf#;
Description about=urn:mozilla:extension:?= $pluginname ?
em:updates
Seq
li
Description
em:version?= $plugin[version] ?/em:version
em:targetApplication
Description?= $applications[$plugin[application]] ?
em:updateLinkhttp://globalchangemultimedia.net/sogoscripts?= 
$plugin[filename] ?/em:updateLink

/Description
/em:targetApplication
/Description
/li
/Seq
/em:updates
/Description
/RDF
?php
} else {
  header(Content-type: text/plain; charset=utf-8, true, 404);
  echo( 'Plugin not found' );
}


--asai


On 12/31/2010 11:23 AM, Ludovic Marcotte wrote:

If you use SOGo Integrator, provide your extension.rdf file and your 
updates.php.

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


Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to1.3.4

2011-01-04 Thread Asai
OK, I have fixed those issues, thanks for catching that, it always helps 
to have another pair of eyes when your own are tired.  But the problem 
still persists, although I've uninstalled and reinstalled all extensions 
twice.  It's still trying to connect via port 443.  Could this be a 
caching problem with Thunderbird?


--asai


On 1/4/2011 9:04 AM, Ludovic Marcotte wrote:

On 11-01-04 10:48 AM, Asai wrote:
I'm using SOGo integrator for Windows 3.104 along with the 
corresponding Connector and Lightning.

Your configuration seems a bit weird - see below.


Here's extensions.rdf:
?xml version=1.0?
!DOCTYPE RDF
RDF xmlns=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
  xmlns:isi=http://inverse.ca/sogo-integrator/;
  xmlns:em=http://www.mozilla.org/2004/em-rdf#;
  xmlns:NC=http://home.netscape.com/NC-rdf#;
Seq about=http://inverse.ca/sogo-integrator/extensions;

isi:updateURL=http://globlchangemultimedia.net/sogoscripts/updates.php?plugin=%ITEM_ID%amp;version=%ITEM_VERSION%amp;platform=%PLATFORM%;
Don't you have a typo here? globlchangemultimedia - 
globalchangemultimedia

li
Description
em:id=sogo-integra...@inverse.ca
em:name=SOGo Integrator/
/li
li
Description
em:id=sogo-connec...@inverse.ca
em:name=SOGo Connector/
/li
/Seq
/RDF

Here's updates.php:
?php


/* This script handles the automatic propagation of extensions 
pertaining to a

   SOGo site */
$plugins
= array( sogo-connec...@inverse.ca
 = array( application = thunderbird,
   version = 0.97,
   filename = sogo-connector-0.97.xpi ),
 sogo-integra...@inverse.ca
 = array( application = thunderbird,
   version = 0.97,
   filename = sogo-integrator-0.97-gcmm.xpi ),
 {3550f703-e582-4d05-9a08-453d09bdfdc6}
 = array( application = thunderbird,
   version = 0.9.7,
   filename = lightning-0.9.7.xpi ));


Why are you using Thunderbird 3.1 but pushing TB2 extensions?


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


Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to1.3.4

2011-01-04 Thread Asai
That helped, also going into the pref.js and deleting cached entries 
helped.  Now I've narrowed it down to two address books which are still 
set to https, but I cannot delete them.  They simply refuse to be 
deleted.  Any insights?


--asai


On 1/4/2011 10:22 AM, Ludovic Marcotte wrote:

On 11-01-04 12:19 PM, Asai wrote:
OK, I have fixed those issues, thanks for catching that, it always 
helps to have another pair of eyes when your own are tired.  But the 
problem still persists, although I've uninstalled and reinstalled all 
extensions twice.  It's still trying to connect via port 443.  Could 
this be a caching problem with Thunderbird?
Look at your calendar/address book URLs and if you see https:, 
delete those. If those are your personal calendar/address book, 
disable SOGo Integrator, restart Thunderbird, remove them, reenable 
SOGo Integrator, restart Thunderbird.



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


Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to 1.3.4

2010-12-31 Thread Asai
 Does anybody have any more feedback on this?  SOGo is now unusable for 
us, unfortunately.


--asai


On 12/30/2010 10:30 AM, a...@globalchangemusic.org wrote:

Greetings,

I updated to 1.3.4 this morning, and since then my Thunderbird users 
are reporting that they are being prompted about an invalid security 
certificate for our domain.  We have a security cert set up for 
another domain on the same IP address as the SOGo domain.  SOGo seems 
to be wanting to connect via port 443 now, whereas before it was fine 
connecting over port 80.  Does this make sense?  How do I change it 
back to connect on port 80 again?


--asai 

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


Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to1.3.4

2010-12-30 Thread Asai
 I had changed the SOGo.conf file from https://mydomain to 
https://mydomain after I realizes I left the https in there by mistake, 
but it's still trying to connect via 443.  Restarted apache and sogo...


SOGO.conf is as follows.  I don't believe there's anything wrong with 
it...but maybe I don't know what I'm looking at:


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

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

  SetHandler default-handler
/LocationMatch

## Uncomment the following to enable proxy-side authentication, you will 
then
## need to set the SOGoTrustProxyAuthentication SOGo user default to 
YES and

## adjust the x-webobjects-remote-user proxy header in the Proxy section
## below.
#Location /SOGo
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#/Location

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

# When using CAS, you should uncomment this and install 
cas-proxy-validate.py

# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# Proxy http://localhost/app/cas-proxy-validate.py
#   Order deny,allow
#   Allow from your-cas-host-addr
# /Proxy

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 80
  RequestHeader set x-webobjects-server-name 
triata.globalchangemultimedia.net
  RequestHeader set x-webobjects-server-url 
http://globalchangemultimedia.net;


## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

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


  AddDefaultCharset UTF-8
 AddDefaultCharset UTF-8

  Order allow,deny
  Allow from all
/Proxy

## We use mod_rewrite to pass remote address to the SOGo proxy.
# The remote address will appear in SOGo's log files and in the X-Forward
# header of emails.
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

--asai


On 12/30/2010 11:52 AM, Ludovic Marcotte wrote:
Check your Apache SOGo configuration file to see if your changes are 
still in there and if you have no trace of example.com.


--
Ludovic Marcotte :: +1.514.755.3630
Inverse inc. :: http://inverse.ca


*From: * a...@globalchangemusic.org
*Date: *Thu, 30 Dec 2010 10:30:58 -0700
*To: *users@sogo.nu
*ReplyTo: * users@sogo.nu
*Subject: *[SOGo] Thunderbird Fetching Wrong Certificates After Update 
to 1.3.4


Greetings,

I updated to 1.3.4 this morning, and since then my Thunderbird users 
are reporting that they are being prompted about an invalid security 
certificate for our domain.  We have a security cert set up for 
another domain on the same IP address as the SOGo domain.  SOGo seems 
to be wanting to connect via port 443 now, whereas before it was fine 
connecting over port 80.  Does this make sense?  How do I change it 
back to connect on port 80 again?


--asai 

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

Re: [SOGo] Thunderbird Fetching Wrong Certificates After Update to1.3.4

2010-12-30 Thread Asai

 My GNUStepDefaults is as follows:

{
NSGlobalDomain = {
};
gdnc = {
};
sogod = {
OCSFolderInfoURL = 
mysql://x:...@140.99.55.50/sogo/sogo_folder_info;

SOGoAppointmentSendEMailNotifications = YES;
SOGoAuthenticationMethod = LDAP;
SOGoCalendarDefaultRoles = (
PublicViewer,
ConfidentialDAndTViewer
);
SOGoDraftsFolderName = Drafts;
SOGoForceIMAPLoginWithEmail = YES;
SOGoIMAPServer = triata.globalchangemultimedia.net;
SOGoLanguage = English;
SOGoMailDomain = triata.globalchangemultimedia.net;
SOGoMailingMechanism = smtp;
SOGoOtherUsersFolderName = Other Users;
SOGoProfileURL = 
mysql://x:...@140.99.55.50/sogo/sogo_user_profile;

SOGoSMTPServer = triata.globalchangemultimedia.net;
SOGoSentFolderName = Sent;
SOGoSharedFolderName = Shared Folders;
SOGoSpecialFoldersInRoot = YES;
SOGoSuperUsernames = (

SOGoTimeZone = America/Phoenix;
SOGoTrashFolderName = Trash;
SOGoUserSources = (
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = dc=globalchangemultimedia,dc=net;
bindDN = uid=sogo,dc=globalchangemultimedia,dc=net;
bindPassword = x;
canAuthenticate = YES;
displayName = Shared Addresses;
hostname = 140.99.55.50;
id = shared;
isAddressBook = YES;
port = 389;
}
);
SxVMemLimit = 1024;
WOHttpAllowHost = (
localhost,
localhost.localdomain,
127.0.0.1,
140.99.55.54
 );
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 2;
WOUseRelativeURLs = NO;
};
}

--asai


On 12/30/2010 11:52 AM, Ludovic Marcotte wrote:
Check your Apache SOGo configuration file to see if your changes are 
still in there and if you have no trace of example.com.


--
Ludovic Marcotte :: +1.514.755.3630
Inverse inc. :: http://inverse.ca


*From: * a...@globalchangemusic.org
*Date: *Thu, 30 Dec 2010 10:30:58 -0700
*To: *users@sogo.nu
*ReplyTo: * users@sogo.nu
*Subject: *[SOGo] Thunderbird Fetching Wrong Certificates After Update 
to 1.3.4


Greetings,

I updated to 1.3.4 this morning, and since then my Thunderbird users 
are reporting that they are being prompted about an invalid security 
certificate for our domain.  We have a security cert set up for 
another domain on the same IP address as the SOGo domain.  SOGo seems 
to be wanting to connect via port 443 now, whereas before it was fine 
connecting over port 80.  Does this make sense?  How do I change it 
back to connect on port 80 again?


--asai 

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

Re: [SOGo] Thunderbird 3.1 support!

2010-07-30 Thread Asai

 Thanks, Wolfgang.

I have cleared my sqlite cache, but now I'm only getting my personal 
calendar and not the other subscribed calendars.  I find only this error 
in the error console:


Error: [Exception... 'Method not implemented' when calling method: 
[nsIAbDirectory::getCardFromProperty]  nsresult: 0x80004001 
(NS_ERROR_NOT_IMPLEMENTED)  location: unknown  data: no]


Wolfgang Sourdeau wrote:

Mark Adams wrote:

Ugh, spoke to soon. Works for the first load/cache - soon as you
close/open thunderbird again the same errors appear.


This problem has just been fixed and our nightlies have been regenerated:

http://inverse.ca/downloads/extensions/nightly/


Cheers,


--
--asai

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

Re: [SOGo] Thunderbird 3.1 support!

2010-07-30 Thread Asai
 It's probably not related as I don't see the error coming up again, 
however, still none of my calendar entries are displaying properly, but 
strangely no errors


Wolfgang Sourdeau wrote:

Asai wrote:

  Thanks, Wolfgang.

I have cleared my sqlite cache, but now I'm only getting my personal 
calendar and not the other subscribed calendars.  I find only this 
error in the error console:


Error: [Exception... 'Method not implemented' when calling method: 
[nsIAbDirectory::getCardFromProperty]  nsresult: 0x80004001 
(NS_ERROR_NOT_IMPLEMENTED)  location: unknown  data: no]




In which situation does this happen?

I have never seen that in my output :/



--
--asai

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

Re: [SOGo] Thunderbird 3.1 support!

2010-07-29 Thread Asai
 I'm seeing the exact same error, and my calendars don't come up, 
address book works.  I downloaded and installed the nightly versions 
available this morning.


Mark Adams wrote:

OK, I've tested this in XP also, and I'm getting exactly the same
errors.

Generic bug, or something in my calendar entries?

Regards,
Mark

On Thu, Jul 29, 2010 at 02:09:50PM +0100, Mark Adams wrote:

Hi Ludovic + Inverse,

Thanks for this!

Calendar loading seems to be slower at the moment than in Tbird 2, with
the initial download of shared calendars requiring numerous restarts of
tbird.

The initial cache seems to be able to do 1 calendar at a time before
stopping, with the error in the tbird error console of

Error selecting non recurring events by range!
snip
DB Error: database table is locked

Once I get to about the 6th calendar (6th restart) icedove locks up
utilising 100% CPU. The cache.sqlite file at this point is only about
1.4M. If I kill then relaunch tbird it locks up again when I go in to
the calendar. If I remove the cache.sqlite file then it will start again
from scratch (only 1 calendar cached though..)

One (There are many, I'm guessing one for each calendar entry) of the
exact errors from tbird is:

Error: Error selecting non recurring events by range!
[Exception... Component returned failure code: 0x8052000e
(NS_ERROR_FILE_IS_LOCKED) [mozIStorageStatementWrapper.step]  nsresult:
0x8052000e (NS_ERROR_FILE_IS_LOCKED)  location: JS frame ::
file:///home/mark/.icedove/p0mrtuvs.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm
-
file:///home/mark/.icedove/p0mrtuvs.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calStorageCalendar.js
:: cSC_getItems_ :: line 757  data: no]
DB Error: database table is locked

Any ideas? I'll also try this in Windows to see if it's ok there (this
is debian x64).

On a brighter note, the address book seems to work perfectly!

Cheers,
Mark






On Wed, Jul 28, 2010 at 08:02:05PM -0400, Ludovic Marcotte wrote:

André Schild wrote:

Great !!!

What are the supported server versions for this connector ? (Will it
also work with 1.2.x ?)

Use 1.3.0 or later as in previous versions, there was a webdav sync bug
that would cause an infinite loop with Lightning 1.0b2. This would
make the calendar views in Lightning flicker fast enough for you to
start seeing subliminal images.

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)


--
--asai

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

Re: [SOGo] Thunderbird 3.1 support!

2010-07-29 Thread Asai
 So I assume then that a clean install of Thunderbird 3, rather than an 
upgrade from 2 would solve the issue?


Ludovic Marcotte wrote:

On 29/07/10 11:45 AM, Asai wrote:
I'm seeing the exact same error, and my calendars don't come up, 
address book works.  I downloaded and installed the nightly versions 
available this morning.



Looks like there's a bug open for this:

https://bugzilla.mozilla.org/show_bug.cgi?id=572489
--
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)


--
--asai

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

Re: [SOGo] Thunderbird 3.1 support!

2010-07-29 Thread Asai

 Thanks, for your support

Ludovic Marcotte wrote:

 On 29/07/10 12:25 PM, Mark Adams wrote:

Ugh, spoke to soon. Works for the first load/cache - soon as you
close/open thunderbird again the same errors appear.

We'll fix it and keep you guys posted.

Regards,



--
--asai

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

[SOGo] SOGo Web Login: An unhandled error occurred.

2010-07-23 Thread Asai

Greetings,

After upgrading to 1.3, I get An unhandled error occurred. when trying 
to login via the web interface.  Logs show this:

SOGoRootPage successful login for user 'a...@globalchangemusic.org'
my.domain.net - - [23/Jul/2010:09:26:16 GMT] POST /SOGo/connect 
HTTP/1.1 204 0/68 0.004 - - 0


Any insights?


--
asai

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

Re: [SOGo] SOGo Web Login: An unhandled error occurred.

2010-07-23 Thread Asai
Also, I found that if I refresh the page, I get logged into the 
calendars.  If  I try to check mail, there's no folders or anything in 
there anymore.


Asai wrote:

Greetings,

After upgrading to 1.3, I get An unhandled error occurred. when 
trying to login via the web interface.  Logs show this:

SOGoRootPage successful login for user 'a...@globalchangemusic.org'
my.domain.net - - [23/Jul/2010:09:26:16 GMT] POST /SOGo/connect 
HTTP/1.1 204 0/68 0.004 - - 0


Any insights?


--
asai


--
asai

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