Re: [SOGo] TB 115 plugin
Hi! > I have a weird problem: building the plugin from git. Upgrades from > older TB version work pretty fine (apart from missing address book > management support..). But new installations don't ask for a > username/password and don't sync any calendar/address book data. Are you sure, you used the 'tb115' branch (aka 'git checkout tb115') for building the plugin? all the best, Adi
[SOGo] sogo-connector update service
Thank you very much for reviving the possibility of an update service for the Thunderbird plugin! As a side note, running the service as a php script isn't necessary; this can also be done with some mappings in nginx: * create a map with the updates: | # update service | map $request_uri $update { | default 0; | '~*^/updates/available/?\?v=114.0.0' '{ "version": "115.0.0", "xpi": "https://my-sogo-server/updates/sogo-connector-115.0.0.xpi; }'; | } * use the map in a location: | ## update service | location /updates/available { | access_log /var/log/nginx/sogo-update-access.log; | error_log /var/log/nginx/sogo-update-error.log; | default_type ""; | if ($update) { | add_header Content-Type "application/json; charset=utf-8"; | return 200 $update; | } | if ($update = 0) { | return 204 "No update"; | } | } * and serve the plugin's xpi file as well (I created an empty index.html in that directory as well in order to disable file enumeration): | location /updates { | access_log /var/log/nginx/sogo-update-access.log; | error_log /var/log/nginx/sogo-update-error.log; | alias /var/www/sogo-connector; | } (you could also make sure to log $request_uri so that you are able to see the original request in the log file, just in case you're monitoring the extension versions out there in the wild) * then, of course, you need the corresponding settings in your custom-preferences.js: | // update service | bool_pref("app.update.auto", true); | bool_pref("app.update.enabled", true); | char_pref("sogo-connector.update.url", "https://my-sogo-server/updates/ available"); * in case you do run your internal services with your own certificate authority and experience issues with the certificate issuer not being built-in like this: | addons.xpi WARN Download of https://my-sogo-server/updates/sogo-connector-115.0.0.xpi failed: | [Exception... "Certificate issuer is not built-in." nsresult: "0x80004004 (NS_ERROR_ABORT)" You may get rid of that by force-pushing the following settings with the plugin: | force_bool_pref("security.enterprise_roots.enabled", true); | // do not enforce certificates to be built-in for updates | force_bool_pref("extensions.install.requireBuiltInCerts", false); | force_bool_pref("extensions.update.requireBuiltInCerts", false); As you can see from the code above, I built a plugin with version 114.0.0 in manifest.json in order to be able to test the upgrade procedure. For a new version of the connector, adding a line to the map should be sufficient. As there aren't too many releases of connector you'll only collect a few more lines per year. I hope this helps some of you that want to try to avoid running php stuff on their sogo server. all the best, Adi PS: Feedback on this very much welcome.
Re: [SOGo] Webinterface's color changed after upgrade to SOGo v5.10.0
Hi! > after upgrading SOGo v5.9.1 -> v5.10.0 the web interface looks different > color-wise than before (see screenshot comparing now and before). > To me, it seems like some background is missing. Since I assume that > this is not an intentional change, how do I find what might be wrong > with my SOGo installation (I don't see errors in the SOGo- and apache-logs)? > I'm using self-built Debian packages for Sope and SOGo on Bookworm. This is caused by bug #5929 (https://bugs.sogo.nu/view.php?id=5929) and you can fix this by adding '*/' to close the comment in /usr/lib/GNUstep/SOGo/WebServerResources/css/theme-default.css on line 12... all the best, Adi
Re: [SOGo] ANN: SOGo v5.6.0 released!
Hi! > For the Wiki use: Thank you very much for pointing me in the right direction! I finally managed to update the nginx config page[1] in the wiki! -- Adi [1] http://wiki.sogo.nu/nginxSettings -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] problems with 5.6.0
Hi! > > proxy_buffer_size 8k; proxy_buffers 4 64k > > Is there an equivalent for this in apache? Since we upgraded to 5.6.0 we > suffer the same problem, though apache doesnt report any errors. We also > truncated (not dropped) the sogo_sessions_folder table before starting > 5.6.0. > > Any Ideas? I have no idea; apache's documentation[1] says that the default for LimitRequestFieldSize is 8190 (which is 2 bytes below 8k) but should be sufficient anyways... As I have no clue about the intera of apache, this might also be the wrong directive. There might be additional settings for the proxy module... Maybe some apache expert is listening? :) -- Adi [1] https://httpd.apache.org/docs/2.4/mod/core.html#limitrequestfieldsize -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] problems with 5.6.0
Dear Carsten, > I thought it is a good idea to update to 5.6.0 to get rid of it, but anyhow, > no login at all is possible any longer. > > After login of any user I get Unbehandelte Fehlerantwort unhandled error > response. I assume, you're using nginx. As I've already written[1], the error message is a consequence of bigger header data. You'll need to update the buffer values in your nginx config: proxy_buffer_size 8k; proxy_buffers 4 64k; To find the error message, just check your nginx error log. In my case, the following got logged to sogo.log: [ERROR] <0xX[WOHttpTransaction]> client disconnected during delivery of response for (len=50): the socket was shutdown and nginx' error log: *123456 upstream sent too big header while reading response header from upstream, client: ip.add.re.ss, server: sogo.example.com, request: "POST /SOGo/connect HTTP/1.1", upstream: "http://127.0.0.1:2/SOGo/connect;, host: "sogo.example.com", referrer: https://sogo.example.com/SOGo/; After increasing the buffer size and reloading nginx it worked again. (btw. do not forget to upgrade your database scheme as this is required for 5.5.1 -> 5.6.0 upgrade). -- Adi [1] https://www.mail-archive.com/users%40sogo.nu/msg31359.html -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] ANN: SOGo v5.6.0 released!
Hi! Thank you very much for the new release. There is, however, a minor configuration issue when using nginx as a proxy in front of SOGo: Doubling the values of proxy_buffer_size and proxy_buffers to proxy_buffer_size 8k; proxy_buffers 4 64k; is sufficient. Unfortunately I can't answer the impossible question required to change that myself in https://wiki.sogo.nu. So maybe someone wants to update the example configuration in the wiki... -- Adi PS: I also have a workaround for that nasty url prober issue (access https://sogo.example.com?foo=bar) that leads to broken sogo pages that I would like to add to that config. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] XMPP in sogo
Hi! > Is there any appetite for such a client in sogo, or has such a thing > been attempted? While I did write WebObjects systems some 20 years ago, > sadly my time is more limited these days. So I'm cheekily asking if > other people have a similar itch to scratch or have already tried it. Yes, there is/was JSXC[1]. -- Adi [1] https://jsxc.readthedocs.io/en/latest/getting-started/installation/sogo.html -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB 78 Status?
Dear Ludovic, > > Plus the sync of Addressbook Groups which is very much needed here. > That's impossible to support in v78 - the CardDAV code doesn't allow it > in that version and would require some changes. I've informed the TB > team about it, never got a response. Could you provide me a link to this post or post some of the details here so that I may link to this? best regards, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB 78 Status?
Hi! On Tuesday, December 15, 2020 8:06:53 PM CET Ludovic Marcotte wrote: > Without the SOGo Connector extensions, there's no handling of multiple > identities in Thunderbird associated to a calendar. You can't also > subscribe/unsubscribe calendars directly from Thunderbird by searching > what's shared to you in SOGo. You can't also create/delete CalDAV > calendars. Calendar colors aren't sync'ed, contact categories aren't > sync'ed, custom address books files aren't sync'ed, mail tags aren't > sync and CalDAV ACLs aren't handled at all and few more things. > > As you can see, it does quite a lot. I second that. SOGo Connector is much appreciated! > The current 'beta' version of the SOGo Connector is pretty much on par > feature-wise with the latest one for v68 - except regarding the > integration with the SOGo Update Server (because of Mozilla dropped RDF > support) and a few minor things. Plus the sync of Addressbook Groups which is very much needed here. best regards, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird Addon
Dear Ludovic, On Wednesday, November 11, 2020 10:42:18 PM CET Ludovic Marcotte wrote: > On 2020-11-11 3:33 p.m., Stefan Klatt (stefan.kl...@cac-netzwerk.de) wrote: > > what's the reason to use an addon with static preferences which need > > to be compiled and not a thunderbird configuration variable? > > Note that it *is* a configuration variable. It's just not exposed in the > GUI as a user-preference. [...] > You certainly don't want your users starting to toy around that value > from the Thunderbird's GUI - it'll mess everything. I second that. We do heavily use the possibility to preconfigure settings for SOGo Connector for our users. A generic connector that requires user configuration is prone to errors and thus a lot of support overhead. Except for the last two major Thunderbird releases where connector wasn't ready for quite some time, the plugin upgrade always went smooth and saved us a lot of trouble the way it is. best regards, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB78 and latest connector -> missing bar and icons
Dear Andreas, > I know and I did exactly this but it still doesn't work! > > What I did: > - changed ONLY > force_char_pref("sogo-connector.baseURL", > "https://demo.sogo.nu/SOGo;); >to our server > - make distclean > - make build=iks We experienced similar issues in initial testing and solved them by putting the full dav url for the user into the generated connector | https://your.sogo.server/SOGo/dav/youruser/ into chrome/content/sogo-connector/global/sogo-config.js baseURL like this: | var sogoConfig = { username: 'youruser', |baseURL: 'https://your.sogo.server/SOGo/dav/youruser/' }; Actually we do even have a web service where users may download their connectors preconfigured this way because we cannot ensure that the first mail account in Thunderbird is the one used for SOGo. Subsequent updates were then done with a generic connector, but that didn't change a thing; the connector still worked fine. best regards, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Unable to login to a remote IMAP Server
Dear Christian, > > I am experiencing the same troubles as described in #4783[1]. This also [...] > > I hope someone can point me to a fix. > > [1] https://sogo.nu/bugs/view.php?id=4783 > If that bug is not fixed, you should reopen it. I actually tried that but I can't. I'm even unable to add a comment to this issue. Maybe someone with apropriate permissions could do that? best regards, Adi Kriegisch -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Unable to login to a remote IMAP Server
Dear all, I am experiencing the same troubles as described in #4783[1]. This also happened after the upgrade from Debian/Stretch to Debian/Buster; the same setup worked just fine before. SOGo 4.2.0 also does not fix the issue. When recompiling SOPE with OpenSSL (instead of the default gnutls), connecting to the IMAP server worked just fine. I also tried to recompile gnutls28 (v3.6.7-4) with a patch for Debian bug #933538[2] but that didn't change a thing with respect to this bug. Dovecot shows a successful authentication in its log. I hope someone can point me to a fix. best regards, Adi [1] https://sogo.nu/bugs/view.php?id=4783 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933538 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird Plugin
Dear Ludovic, > That should be fixed now - new extensions are available. Thank you very much for your work, help and support! Thunderbird extensions are in perfect shape now and upgrading from TB52 to TB60 works just fine using the current version of Integrator 60! :-) Thank you and all the best, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird Plugin
Hi! > doesn't work for us: > > after an edit and save we get this: > > 08:52:03.743 ReferenceError: getUri is not defined 1 > abEditCardDialog.groupdav.overlay.js:24:9 This error is fixed by this commit[1] which indicates that you are still using an old version of the connector plugin. I think you should upgrade and retest... all the best, Adi [1] https://github.com/inverse-inc/sogo-connector/commit/b9f8260d1c1521065e266347fa417cd44cbb3dd7 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird Plugin
Hi! > > we already use a similar php script. The problem here is that the new > > version does not work on TB 52 and the old version also does not work on > > TB 60. > > The modifications made in the SOGo Integrator to make it work with > Thunderbird 60 would likely also work with Thunderbird v52. You can test > this by modifying the install.rdf file in the XPI and lower down the > em:minVersion="60.0" requirement. We tried that already and it mostly works. The only caveat is that auto completion for email addresses for SOGo's user directory (which is ldap based in our case) does not work anymore. There are no errors in the console. (Interesting enough: searching in the address book app itself works for the users directory, just not when composing an email) It would be really great if you could help us getting that to work! -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird Plugin
Hi! > As I am testing this also at the moment. > How do people handle the upgrade? As the version 60 plug-in doesn't work > on TB version 52 and the version 31 plug-in does not pull the update if > it is running on a version 60 Thunderbird. > I would hate to manually install the plug-in for >100 Users. We've been using a simple python cgi script for ages that evolved out of updates.php (we rather don't feel too comfortable with having php installed on our servers). Find a version of this script attached that has some of our more specific adaptions ripped out and does just a versioned delivery of plugins based on the HTTP_USER_AGENT variable which contains the Thunderbird version. The script could be extended to selectively update the plugin for certain ip ranges in your network to allow more fine grained control over which departments do get an update and so on. That way you could do some more field testing before rolling out a release. Hope this helps... -- Adi PS: Although I added TB60 to the script, the update isn't working for us either with TB60 and we'd be happy if someone could help us find a solution... :-) -- users@sogo.nu https://inverse.ca/sogo/lists#!/usr/bin/env python import os import cgi import sys import re try: from urllib import unquote except: from urllib.parse import unquote TBVersion = os.environ.get("HTTP_USER_AGENT") # current plugin versions and filenames if "Thunderbird/24." in TBVersion or "Icedove/24." in TBVersion: plugins = { "sogo-connec...@inverse.ca": { "version": "24.0.7", "filename": "sogo-connector-24.0.7.xpi" }, "sogo-integra...@inverse.ca": { "version": "24.0.7-0-ourcorp", "filename": "sogo-integrator-24.0.7-0-ourcorp.xpi" }, } elif "Thunderbird/31." in TBVersion or "Icedove/31." in TBVersion: plugins = { "sogo-connec...@inverse.ca": { "version": "31.0.1", "filename": "sogo-connector-31.0.1.xpi" }, "sogo-integra...@inverse.ca": { "version": "31.0.0-0-ourcorp", "filename": "sogo-integrator-31.0.0-0-ourcorp.xpi" }, } elif "Thunderbird/45." in TBVersion or "Icedove/45." in TBVersion: plugins = { "sogo-connec...@inverse.ca": { "version": "31.0.4", "filename": "sogo-connector-31.0.4.xpi" }, "sogo-integra...@inverse.ca": { "version": "31.0.4-0-ourcorp", "filename": "sogo-integrator-31.0.4-0-ourcorp.xpi" }, } elif "Thunderbird/60." in TBVersion: plugins = { "sogo-connec...@inverse.ca": { "version": "60.0.0pre3", "filename": "sogo-connector-60.0.0pre3.xpi" }, "sogo-integra...@inverse.ca": { "version": "60.0.0pre3", "filename": "sogo-integrator-60.0.0pre3.xpi" }, } else: # current TB: 52 plugins = { "sogo-connec...@inverse.ca": { "version": "31.0.6-1", "filename": "sogo-connector-31.0.6-1.xpi" }, "sogo-integra...@inverse.ca": { "version": "31.0.6-1-ourcorp", "filename": "sogo-integrator-31.0.6-1-ourcorp.xpi" }, } # form data - convert to simple dictionary formFS = cgi.FieldStorage() form = dict((key, formFS.getvalue(key)) for key in formFS.keys()) # validate input and return either safe or empty string def checkInput(unsafeInput): # safe input may consist of only A-Za-z0-9_-.@{} return unsafeInput if re.match("^[A-Za-z0-9.\-_@{}]+$", unsafeInput) \ else "" # error handler def exitWith404(): print("Status: 404 Not found") print("Content-type: text/plain\n") print("Plugin not found") sys.exit(0) # send back XML answer def deliverPluginRDF(answer): print("Content-type: text/xml; charset=utf-8\n") print(""" http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:em="http://www.mozilla.org/2004/em-rdf#;> %(version)s {3550f703-e582-4d05-9a08-453d09bdfdc6} 24.0 60.* https://sogo.ourcorp.com/%(filename)s """ % answer) sys.exit(0) # get user request req = { 'name': checkInput(unquote(form.get("plugin", ""))), 'platform': checkInput(unquote(form.get("platform", ""))) } # construct path to plugin if req.get("name") in plugins: plugin_path = "plugins" + "/" + req.get("platform") + "/" + \ plugins.get(req.get("name")).get("filename") else: exitWith404() # check request if os.path.isfile(plugin_path): answer = { "name": req.get("name"), "version": plugins.get(req.get("name")).get("version"), "filename": plugin_path } deliverPluginRDF(answer) else: exitWith404()
Re: [SOGo] Thunderbird Plugin
Hi! > I have switched to TBSync and removed the SOGo plugin. The TBSync plugin > uses ActiveSync to synchronize calendar and contacts. Works fine. Great that you found a solution that works for you. I personally do not consider anything using ActiveSync a solution -- especially not if open protocols like CardDAV or CalDAV are available. Thus, I'd be more than happy to get access to even drafts of the new Thunderbird plugins that help me testing them before I have to deploy them immediately when they're released just because Thunderbird pushes its updates... best regards, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] CalDAV / CardDAV Sync with SailfishOS
Hi! > I'm using Mailcow with SOGo and wanted to sync calendar and contacts > with my SailfishOS device. When adding a CalDAV/CardDAV account no > calendars or addressbooks are detected. I've added the connection with > the following URL: https://hosted.mailcow.de/SOGo/dav/. When adding the > full calendar URL like > https://hosted.mailcow.de/SOGo/dav/tob...@tobru.ch/Calendar/personal/ > the synchronisation works. However encoding/decoding seems to mismatch > as entries with f.e. umlauts are not displayed properly in the > SailfishOS calendar application. We're having no issues whatsoever with several SFOS devices. Autodetection works too. In our settings, we use https://sogo.example.com as 'server address' with '/SOGo/dav//Calendar' and '/SOGo/dav//Contacts' for CalDAV and CardDAV paths. We're not using full email addresses as usernames; thus this might have something to do with it... Did you try to use %40 instead of @ already? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo3 web UI speed..
Hi! > I have a sogo 3 install with about 220 users.. all is working flawlessy, > server (10 GB Ram, centos6) is unstressed.. so far, so good.. > > all the clients pc are w7 pro with at least 4Gb ram, but users are > complaining about a general slow feedback from the UI.. all users are on > firefox, last available release. [...] > is there anything I can check/configure (both on client side and/or on > server one) to improve user experience? Did you personally (on your computer) experience this too? Then maybe a starting point could be to use the developer tools in Firefox to nail the underlying cause... If not, looking at the differences between your computer and the other users' computers may help: do they use a proxy server? Is there some mitm-'security' software installed on their machine? Some anti virus snakeoil that does remote security checks? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Cannot read configuration from ... Urgent
Hi! > I tried to add the config for ldap groups to /etc/sogo/sogo.conf and got > on a restart: > > <0x0x7fdc09659188[SOGoStartupLogger]> Cannot read configuration from > '/etc/sogo/sogo.conf'. Aborting looks like the permissions are wrong; do a 'chown sogo /etc/sogo/sogo.conf'. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Calendars locked
Hey! > One of my users this morning has all their calendars locked. Both > their personal calendar and other calendars they are subscribed to. > This is in Thunderbird (38.2) but the SOGo web interface seems to be > working fine. If I try to sync or reload, nothing happens. > > Any ideas what to do and what has caused this? In our case lightning was stuck at version 4.0.0.X (due to us pinning the lightning version). After we allowed the upgrade to 4.0.2 calendars were still disabled and read-only; we had to manually reenable the calendars and set them read-write where appropriate directly in the config editor. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 38 support?
Hey! I've been testing the 31.0.1 addons (why is .2 tagged in the repository, but not released?) with Thunderbird 38.0.1, and so far it seems they work without modifications. Are there any known gotchas, or can I safely upgrade? We've had a few people upgrade with no problems... but your mileage may vary... Same here. Lightning 4 fixed a long standing and anoying issue: when a calendar is set to read-only, no invitations for that calendar are displayed anymore. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Providing Updates for Sieve plugin via updates.php
Hi! i try to update sieve plugin in thunderbird via updates.php file. (...) updating connector, lightning and integrator works just fine. any hints to that? Do you get any requests for the sieve plugin to updates.php in your server log? If so, how does the request look like? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] JavaScript XMPP Client
Hey! I got some minor issues with it where I hope you can help me out: I run a multi domain SOGo setup and therefor I am unable to provide [...] Maybe we continue this discussion in your opened issue (https://github.com/sualko/jsxc/issues/99). absolutely! another thing concerning the php file that is used to get the turn server config: 1. please, PLEASE, just make it a static json file (no need to run php anywhere, especially not for static configuration). 2. please do NOT put credentials in an unauthenticated location You are right, currently this doesn't make sense, but I want to support in the next release TURN-REST-API and therefore I need a php file. I see; so what kind of TURN server do you suggest to use and what kind of authentication does it support? 3. please, do use the same credentials for TURN authentication that is used for XMPP and SOGo. This btw. is the only authentication, ejabberd provides as well. (maybe add 'authentication' = 'anonymous' or 'user' just like ejabberd does to the json config; and then, this may go directly into the config file) I think it's a bad idea to share your sogo credentials in a json file. Also TURN and xmpp/sogo is totally independent. Hmm... sorry, I think I didn't express myself well enough: ejabberd provides a TURN server implementation that offers either no authentication ('authentication = anonymous') or the regular user backend ('authentication user') that uses the same credentials used to log in to the xmpp service and ultimately to log into sogo. My idea was to add the turn server to the regular config file and use the sogo credentials for authentication in case there is a 'turn_auth = user' statement in the js config... (or something along these lines) Thanks for your answer and for your support! -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 31
Hi! current Connector and integrator doesnt work with thunderbird 31 ant timeline to release the new xpi ? Overall it appears to be working... I just got an error where auto completion does not work when composing a mail: in sogo-connec...@inverse.ca.xpi!/components/SOGoConnectorAutocompleteSearch.js Line: 326 Error: _parser.makeFullAddress is not a function. Any ideas? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 31
Hey! current Connector and integrator doesnt work with thunderbird 31 ant timeline to release the new xpi ? Overall it appears to be working... I just got an error where auto completion does not work when composing a mail: in sogo-connec...@inverse.ca.xpi!/components/SOGoConnectorAutocompleteSearch.js Line: 326 Error: _parser.makeFullAddress is not a function. So... they changed the API: https://bugzilla.mozilla.org/show_bug.cgi?id=842632 mainly makeFullAddress was renamed to makeMimeAddress. After changing the name of the function, things kind of started to work again. There are two issues now: * a pretty long empty list of addresses is shown * the search string remains in the address: typing kri (to search for my name) results in a mail address like kri Adi Kriegisch ...@ Except for that, searching kind of works. Probably some Thunderbird plugin magician may have a look at this? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 31
Hey! There are two issues now: * a pretty long empty list of addresses is shown * the search string remains in the address: typing kri (to search for my name) results in a mail address like kri Adi Kriegisch ...@ Except for that, searching kind of works. Probably some Thunderbird plugin magician may have a look at this? Is that a feature? http://i1-news.softpedia-static.com/images/extra/WINDOWS3/large/Thunderbird%2031/Mozilla%20Thunderbird%20-%20autocomplete%20email%20address.jpg interesting... :-) Probably happened during implementation of https://bugzilla.mozilla.org/show_bug.cgi?id=529584 Because when I search for Adi the entry displays correctly; just for an inner name/domain part this error happens; this seems to be the bug report for this: https://bugzilla.mozilla.org/show_bug.cgi?id=1043310 -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 31
Hey! Overall it appears to be working... I just got an error where auto completion does not work when composing a mail: in sogo-connec...@inverse.ca.xpi!/components/SOGoConnectorAutocompleteSearch.js Line: 326 Error: _parser.makeFullAddress is not a function. Any ideas? Autocomplete works fine here (Windows 7 x64)... Interesting... Wherefrom did you get sogo-connector? In the github repo it still uses makeFullAddress which does not exist in TB31 any more. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] new to SOGo, have slowish webmail interface, need help...
Dear Marco, OK. well, in the mean while I managed to install roundcube (1.0.1) I personally wouldn't ever suggest to use anything that is written in php. I have no reference as in the sogo webmail online demo, but it feels also slowish [...] could it be dovecot? is it better cyrus, or else? I'd stick to dovecot. To make dovecot show its real power, I'd recommend to use dovecot's 'deliver': That way all imap operations get a tremendous speedup due to the on disk indexes dovecot creates. (Check the dovecot wiki for more details). is there any benchmark (ie: timed command) I can issue to test if ldap is acting slow, or else? Depending on your configuration you may for example use a local ldap slave and connect to localhost (without using ssl). This will remove latency and SSL overhead. Sadly SOGo cannot use ldapi sockets so fine grained ACLs aren't possible. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Integrator 24 and lightning 2.6.2 problem
Hi! I tried to update the integrator from 17.x to 24, but after some days the lightning was broken: it didn't do anything and it couldn't be managed... When I removed the Lightning 2.6.2 version, and install the firs version for tb24 - 2.6.0 -, it becomes available again. Did anyone experience some similar problems? I used Linux on my desktop. We had the same issues (on Linux) and there is already a bug report on this: https://bugzilla.mozilla.org/show_bug.cgi?id=925823 Ironically they're suggesting to downgrade Thunderbird... :-) -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] SOGo Integrator questions
Hi Péter, 2. Folder sharing. I can share contacts and calendars - it's cool too. But I cannot share mailbox directories - or I don't know how can I do it. This has nothing to do with SOGo or Integrator and is solely depending on your imap server supporting such features. 3. Filters. Can I use server side filters (like as the SOGo webmail) - filter-, forward-, and vacation settings? Or I need to install the sieve extension? This too depends on sieve (which needs to be supported on your mail server) and on the client side currently is only available as a sieve plugin that allows to edit rules in a text editor (in Thunderbird). For kmail there seems to be some progress on the sieve support side that provides (or will provide) a gui to edit rules to be released with kde 4.12. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] event types in thunderbird | public, private confidential
Hi! SOGo makes uses of what's defined in the RFC for access classification. I don't know why Mozilla/Lightning chose to do things differently and confuse everybody out there, but there is a long-standing open issue on this in bugzilla. Ah I see... I only searched the SOGo bugzilla, but it's in the lightning one. For the record: https://bugzilla.mozilla.org/show_bug.cgi?id=649944 I'd love to get some votes on that bug... Then, maybe, someone might pick that up and I might stop providing patched versions of lightning... finally. Thanks, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Vacation / sieve scripts question
OK Dovecot ready. AUTHENTICATE PLAIN AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk You know that this is just a base64 encoded version of your username with your plain text password, right? In other words: | echo AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk | base64 -d -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] public/private problem since 2.0.4a-1
Dear Francis, After the upgrade users are not able to change the privacy preference on an appointment. If the appointment is created as private I can click on public, but the appointment dialogue doesn't remember this setting. This behavior can be reproduced using firefox or safari. [SNIP] http://sogo.nu/bugs/view.php?id=2223 You may apply the patch as it only modifies JavaScript. I'd love to do just that but I have no access to this bug report (neither anonymous nor logged in). Could you just send the patch to the mailinglist? Thanks, Adi Kriegisch -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Lightning and invitations
Hi! We have a problem with Lightning displaying invitations that aren't supposed to be seen by the user. When you subscribe to a calendar of a colleague, the invitations for him are also visible for yourself. If you click Accept, it throws an error (403 - no permissions) as expected. Some of our users are extremely annoyed by this behaviour. We haven't found any way to hide the invitations for other calendars. I created a bug report on sogo bug tracker. This issue is really annoying: http://sogo.nu/bugs/view.php?id=2137 This issue has been discussed on this list (https://inverse.ca/sogo/lists/arc/users/2012-08/msg00136.html) and the common suggestion was to contact the lightning team about this. What was confusing about the issue is that Integrator is setting showInvitations to False but neither connector nor lightning is doing anything about that setting. Probably someone knowing the internals could state why these settings exist and who needs to use them? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Webclient problem after update from 2.02a to 2.03
Hi! I think this is due to left-over code, try removing that line, or apply this patch: This patch indeed fixes it! Thank you very much! -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Webclient problem after update from 2.02a to 2.03
Hi! i've updated our SOGo installation on CentOS 5 via yum and now the web client isn't able to change the mail folder. I've tried with firefox 17, chrome and IE. I took the liberty to report a bug: http://sogo.nu/bugs/view.php?id=2138 It is probably a good idea to add your details there. best regards, Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] LDAP Indexing
Hi! i have some entries in my logs like: bdb_equality_candidates: (member) not indexed bdb_equality_candidates: (displayName) not indexed bdb_equality_candidates: (cn) not indexed bdb_equality_candidates: (displayName) not indexed bdb_equality_candidates: (cn) not indexed bdb_equality_candidates: (mail) not indexed bdb_equality_candidates: (member) not indexed how should i add them to ldap? eq, pres, approx, special or sub? From the source (servers/slapd/back-bdb/filterindex.c): bdb_equality_candidates hints at eq; bdb_presence_canditates hint at pres... So eq it should be... What i know is: pres should be used if use [1]searches of the form 'objectclass=person' or 'attribute=mail' will be used. approx MUST be used if use [2]searches of the form 'sn~=person' (a 'sounds-like' search) will be used. eq should be used if [3]searches of the form 'sn=smith' will be used i.e no wildcards are included (uses the EQUALITY rule only). sub should be used if use [4]searches of the form 'sn=sm*' i.e wildcards are included (uses the SUBSTR rule). This rule may be enhanced by a using subinitial (optimised for 'sn=s*'), subany (optimised for 'sn=*n*') or subfinal(optimised for 'sn=*th'). One or more sub parameters may be included. excellent summary btw. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] automatic update failed
Hi! It seems to me that mozilla decided (for Version 10 at least) to only allow plugin updates from https sites signed by builtin CA. How are all the sogo user using automatic updates? Do you use official certs only? are there users of self made cert chains for the update server? We run our own PKI and use || force_bool_pref(app.update.cert.requireBuiltIn, false); in integrator to allow updates from our site. We, however, require our users to manually install our certificate authority because we found no easy way to deploy our CA within Thunderbird or remove some of the other CAs like cnnic. Mozilla and certificate authorities is kind of a sad story... -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] automatic update failed
Hi! We run our own PKI and use || force_bool_pref(app.update.cert.requireBuiltIn, false); in integrator to allow updates from our site. Thanks, but still no success. I added this line to my 10.0.1 integrator xpi and update it manually. It is set according to my configuration. But the missing connector plugin is not updated (same error message as before: certificate is not builtin). This is tested on a windows machine. I will test this in linux as well. in my web server log I can see that thunderbird runs GET /plugins/SOGo/sogo-connector-10.0.1.xpi HTTP/1.1 and the plugin is there. Are there any other settings to be done? You probably added the directive to the wrong place, then? Forced preferences should go to chrome/defaults/preferences/site.js You could add some more prefs to get automatic updates and TB updates as well (but most of them are the default anyways): || force_bool_pref(extensions.update.auto, true); || force_bool_pref(extensions.update.enabled, true); || force_bool_pref(app.update.silent, true); || force_bool_pref(app.update.enabled, true); || force_bool_pref(app.update.auto, true); || force_int_pref(app.update.mode, 1); Hope, this helps. Ah, and one more thing: intermediate(*) CAs need to be either in TB cert store or in the cert chain the web server presents to the client... -- Adi (*) just in case you're using a root ca that issued a web server ca that is used to sign server certificates. But if you're running your own pki you most probably know what you're doing... ;-) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] [SOLVED] Problem using Funambol
Dear Christian, I looked at the postgresql-Log file on the remote server and found the answer quickly: Funambol connected non-SSL to a SSL-only Postgresql server. I added the following in funamboladmin to the three handlers sogo-card, sogo-cal and sogo-todo: jdbc:postgresql://roessner1.roessner-net.de:5432/sogo?ssl=truesslfactory=org.postgresql.ssl.NonValidatingFactory I had the same situation, because the installation script converts the ampersand into amp; when using this in /opt/Funambol/ds-server/install.properties. So when doing a clean install you should grep -R through the directories to find eg org.postgresql.ssl.NonValidatingFactory and replace amp; with an . And all of this is necessary, because Java language bindings for postgres are the only that behave differently than all the others: They do not use SSL transparently when required by the server. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 10 ESR + Connector + Integrator Issue in Deleting Event
Dear Martin, yeah its No. 2. in SOGo everything seems to run fine, but not in TB. Also modified the integrator correctly to my updateURL (but not yet setup the update server itself, but this shouldnt call the bug) do you have any clue? Do you have the right to write to the other calendar in the web interface? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 10 ESR + Connector + Integrator Issue in Deleting Event
Yes, doing all the stuff directly in sogo works like i set it up for the user (so correct rights) but not in TB. Hmmm... right clicking in the calendar pane should give you an option to reload remote acls. If this doesn't fix it, check in your prefs if the calendar is set read only. (This is (a) dangerous and (b) tricky but can be done by directly reading the prefs via Preferences dialogue...) is it a good advice to udate to latest nightly build (plugins?) atm it is a safe choice -- there is only 10.0.1pre1 version of connector updated which doesn't change that much. But I am not convinced it helps you with your issue... -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird 10 ESR + Connector + Integrator Issue in Deleting Event
but can you shortly explain the second trick you mentioned. what exactly do i have to do here? Preferences - Advanced - General - Config Editor (watch out, you can destroy everything there!) and now check the preferences for your calendars: calendar.registry.HASH.* for sane values... -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB10 all invitations from subscribed calendars
Hi! I too have seen this and was going to post about it today. Thanks for checking! I filed a bug report about the issue: http://www.sogo.nu/bugs/view.php?id=1661 As recommended by wsourdeau I filed the bug upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=733695 Lets wait and see... -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB10 all invitations from subscribed calendars
Hi Jonathan, I was about to write to you; there are already two related bugs: Bug 532993 - Invitations shown for calender without write access [1]https://bugzilla.mozilla.org/show_bug.cgi?id=532993 Great, I missed that one. Thanks for the link! Bug 473927 - Invitations from Multiple calendars not always required. [2]https://bugzilla.mozilla.org/show_bug.cgi?id=473927 Where did you actually find the calendar.registry.HASH.showInvitations user preference? Yeah, I tried to find some settings that could be related. There are quite some interesting settings in calendar.registry.HASH; for example there is a boolean property readOnly which is false for every calendar and I just don't understand why. I am still investigating this, but setting this to true for all calendars but the ones I can write in seems to help with creating new events in the wrong calendar... -- Adi PS: Thanks for caring and updating my bug report! :-) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB10 all invitations from subscribed calendars
Hi Jonathan! Where did you actually find the calendar.registry.HASH.showInvitations user preference? Sorry, checked about:config (learning to use Thunderbird ;) ) and found that this preference is false for all of my calendars. I will add this detail to the mentioned bugs. Ah... I see: If you want to play around with those settings, choose preferences - Advanced and use the config editor. Just be aware of the fact that you may just blow up Thunderbird with wrong settings... ;-) -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB10 all invitations from subscribed calendars
Hi Jonathan and Donny! Anyone else experiencing this behavior? Yes. Actually I was about to ask the list too, thanks for being quicker :) [SNIP] I too have seen this and was going to post about it today. Thanks for checking! I filed a bug report about the issue: http://www.sogo.nu/bugs/view.php?id=1661 The other thing that I get a lot of complaints about is that everyone subscribed to a persons calendar gets their reminders, even if it is not checked to be viewable. We're not using reminders atm. So it is probably best to file a bug about that too?! -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Default Account of Thunderbird and SOGo
On Wed, Feb 01, 2012 at 10:27:34AM +0100, Alessio Fattorini wrote: Il 02/12/2010 16:49, Alessio Fattorini ha scritto: Sogo-integrator authentication is based on IMAP Default Account. If username is different from sogo username authentication fails without any error: icons, calendar list and others stuff don't work. [SNIP] For me and my customer is a big problem. This is the bug. http://www.sogo.nu/bugs/view.php?id=1029 We solved this by generating an integrator on the fly: * https site that does http authentication * Username is stored in REMOTE_USER env var * replace the following line in sogo-config.js: var sogoConfig = { username: null, baseURL: null }; with var sogoConfig = { username: REMOTE_USER, baseURL: null }; (where REMOTE_USER is replaced with the actual username) You might even remove the conditional from function sogoUserName() * stream the zip file created from the integrator and the custom sogo-config.js. Worked fine; we just had to stop the rollout due to the TB-Lightning-Integrator-Connector issue. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] TB 8 and never versions
On Mon, Nov 14, 2011 at 08:44:04PM +0100, Matt wrote: I have some issues with the 3.x versions it seems. ...there are not just some issues with 3.x series; there are show stoppers that make using TB 3.x with Lighning and Connector/Integrator just painful. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Thunderbird
Hi! After Ludovic mail Bug 502936: from 2 to 55 votes Bug 380060: from 54 to 103 votes Bug 586276: from 5 to 54 [SNIP] Lets hope it helps. It seems so: #380060: blocking‑calendar1.0+ #502936: blocking‑calendar1.0+ #586276: blocking‑calendar1.0+ so all those bugs block the 1.0 release now: https://bugzilla.mozilla.org/buglist.cgi?query_format=advancedshort_desc_type=allwordssubstrshort_desc=product=Calendarlong_desc_type=allwordssubstrlong_desc=bug_file_loc_type=allwordssubstrbug_file_loc=status_whiteboard_type=allwordssubstrstatus_whiteboard=keywords_type=allwordskeywords=bug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDemailassigned_to1=1emailtype1=substringemail1=emailassigned_to2=1emailreporter2=1emailqa_contact2=1emailtype2=substringemail2=bugidtype=includebug_id=votes=chfieldfrom=chfieldto=Nowchfieldvalue=cmdtype=doitorder=Reuse+same+sort+as+last+timefield0-0-0=flagtypes.nametype0-0-0=casesubstringvalue0-0-0=blocking-calendar1.0%2B -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Resources
Hi! Thanks for the info. Now just to get the objectclass written and all. Does anyone know of any documentation on setting up the resources function? I can not find any on the website. There was quite a bit of useful info on this mailing list as to setting up and configuration when the resources were first added in May I believe from inverse themselves. Hopefully that will help you ;-) All this is collected at http://wiki.sogo.nu/ResourceConfiguration (including LDAP schema). If you miss a thing, just add it. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Resources
Hi! All this is collected at http://wiki.sogo.nu/ResourceConfiguration (including LDAP schema). If you miss a thing, just add it. Yes that is the same info that was on the list back in May. Good to have it in one place. However I still need the objectclass for OpenLDAP. I have never written one and having a ready to install one would greatly speed up the process. As I said before: It is in the Wiki, you just need to download it. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Resources planning
Hi again! 4) Resources always seem to accept the invite (if I click on the event, I see a green icon next to the resource name), even if there is a conflict and no events show up in the free/busy. Maybe the number of bookings isn't set right? I have the very same issue: Although MultipleBookings is set to 1, people in Lightning are able to book a resource even if the resource isn't available. They get a warning, but in case they ignore it, the resource auto-accepts the event. I think the right behavior for sogo would be to reject the invitation to the second event. The web interface handles this differently: one cannot save the event when a resource is already busy (but without any message informing the user). I'll look forward to the next release hopefully addressing this. Thanks to Ludovic, I figured out my mistake: Even with LDAP source, defining a MultipleBookingsFieldName is required. Once I added this to my config the booking part works just fine! -- Adi PS: http://sogo.nu/bugs/view.php?id=1303 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Resources planning
Hi! 1) Do resources have email accounts? Whenever I invite a resource or change the event a resource in invited to, the resource it sent an email. Is this proper behavior? What should happen to this email? What if it bounces? I'd like to not have an email for the resource so only invites from SOGo work. Yes, resources have email addresses as well. Email addresses are used to identify any object (user or resource), because email addresses are unique. 2) Do resources have a calendar? I cannot access it as another user -- is there a way to make that calendar available? I can see if the resource is busy via freebusy in an invite, but it would be nice to access the calendar directly to at least see when a room is in use, etc. This question has been raised before. I cannot answer this for sure, but my resources have a calendar and I did not do anything special for this... ;-) 3) Whenever I invite a resource to an event, I get no notification that it accepted/declined. Is there supposed to be email (or other) notification? Or do I just have to check the list of attendees in the calendar? It depends on what kind of notification settings you have: If you globally enabled email notifications, then emails will be send. 4) Resources always seem to accept the invite (if I click on the event, I see a green icon next to the resource name), even if there is a conflict and no events show up in the free/busy. Maybe the number of bookings isn't set right? I have the very same issue: Although MultipleBookings is set to 1, people in Lightning are able to book a resource even if the resource isn't available. They get a warning, but in case they ignore it, the resource auto-accepts the event. I think the right behavior for sogo would be to reject the invitation to the second event. The web interface handles this differently: one cannot save the event when a resource is already busy (but without any message informing the user). 4) How are resources supposed to show up in addressbooks? I see the resource in my addressbook, but there is no indication that this is a resource and not a person. It would be nice to not see resources in the addressbook, but still be able to have them show up when inviting people to events, and, if possible, adding their calendar. Resources show up in the address book just like people. The only way to reasonably distinguish them is to use a proper naming. For use with lighning, you need to move the resources in the very same LDAP tree (or database) the users are in. Otherwise they will not auto complete (as lightning is only able to auto-complete from one SOGo-Source). LDIF entry: (I hacked the schema Marttin Lehmann to allow uid and mail fields in the CalendarResource) You might just add the inetOrgPerson for the mail and uid field. This is more clean than modifying a scheme that might once be included in the standard. dn: cn=ResourceTest,ou=people,dc=company objectClass: organizationalRole objectClass: top objectClass: CalendarResource cn: ResourceTest Multiplebookings: 1 Kind: location mail: resourcet...@company.com uid: resourcetest I am using the following objectClasses: CalendarResource, calEntry, inetOrgPerson, person, top these objectClasses require cn and sn additionally I am using: displayName, givenName, Kind, mail Multiplebookings and uid. I am using cn, sn, displayName and givenname to make searching easier: cn = Big Meetingroom sn = Meetingroom displayName = MyCorp Big Meetingroom givenName = Big (and displayName is used for naming the entry in address book) and the SOGo sources config: [SNIP] Hope this helps. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Resources planning
Hi! Yes, resources have email addresses as well. Email addresses are used to identify any object (user or resource), because email addresses are unique. Right, SOGo needs an mail= entry, but does postfix? How should I handle emails sent to a resource? If someone on the internet sends an ICS invite to a resource email address, is there a method for SOGo to process that? I'd like these resource emails to be fake in that emails to them bounce because otherwise someone might send an email to that address and expect someone to read it and I doubt the projector is going to check its email. Am I missing something? Email invitations are meant to be processed by the recipient -- not by SOGo. There is no way for SOGo to pick up your emails. In case someone sends an invitation to a resource's email address, you should probably take care that someone responsible for that resource is recieving the mail and may take apropriate action. Mail aliases are cheap, fake email addresses may lead to trouble (think you once start using this email address for a completely different purpose and you long forgot you configured this address for SOGo resources). Just create mail aliases pointing to those people in charge for the resources and everything will be just fine. ;-) This question has been raised before. I cannot answer this for sure, but my resources have a calendar and I did not do anything special for this... ;-) Hmm... So I checked again and now I can subscribe to the calendar... not sure what I was doing wrong. But the calendar is empty. If I look at the db, I see no entries in the calendar. But if I look at an event that I created and invited the resource to, that resource shows up with a green check-mark which I take to mean that they accepted the event. Freebusy also shows the resource as free do I have something misconfigured (see previous post for details of my setup)? I am afraid, I cannot help you with that. Check uid, mail and displayName (or whatever field you're using for that). Probably you have a (nearly) identical resource twice in your configuration or you used an email address twice. It depends on what kind of notification settings you have: If you globally enabled email notifications, then emails will be send. I have SOGoAppointmentSendEMailNotifications=Yes and get email notifications for other events, but when I invite a resource, I do not get any emails. Probably this is a symptom of the problem stated previously. Probably you did not configure an email address for the resource? Actually I am not using email notifications as they are not configureable by user and most people here where I use SOGo consider them to be plain nasty and only a minority would really love to have them... -- Adi PS: I added a page to the SOGo wiki about configuring resources. Probably someone wants to extend/enhance this? :-) http://wiki.sogo.nu/ResourceConfiguration -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Resources planning
Hi! I have the very same issue: Although MultipleBookings is set to 1, people in Lightning are able to book a resource even if the resource isn't available. They get a warning, but in case they ignore it, the resource auto-accepts the event. I think the right behavior for sogo would be to reject the invitation to the second event. The web interface handles this differently: one cannot save the event when a resource is already busy (but without any message informing the user). I think the right behavior for sogo would be to allow configuration by the admin, so he can choose whatever he thinks best. I object: The behaviour of SOGo regarding resources is described as first come - first serve. Additionally there is MultipleBookings to control the amount of bookings a resource can handle. There is nothing left to decide or configure: first come - first serve perfectly fits. It is just that it is not really implemented that way. In case you want to add an overrule button to the game, add an ACL allowing an administrative person in charge for a resource to Respond To all kind of events. Done. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] caldav href tag: last character missing.
Hi! I'm using SOGo 1.3.5a (Rel RPMs) with great success. After updating i noticed that the href properties in Calendar folder entries are missing the last character: [SNIP] dav:/SOGo/dav/edi...@tojo.ch/ propget Calendar [...] DAV: displayname = Calendar DAV: href = http://groupware.example.com/SOGo/dav/user/Calenda [...] Does someone noticed the same? I just tried it and I do not have these issues. But my instance does not report back a full URL; just /SOGo/dav/user/Calendar. Could you count the number of characters in the (real) URL? The one you posted contains 50 characters which looks like a human boundary -- either in cadaver or in SOGo? -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] SOGo shutting down at given time
Hi! I found the solution to my problem (was suggested in this ml yesterday). [SNIP] expected. But removing the post-rotate-part will fix the problem of sogo being offline after a log-rotate occurred. Just posting it here for documentary reasons. Yes, i can remove it but i want understand something about this restart. Really neeed that? what is it? The sogo process holds an open file handle on the log file (say sogo.log). Logrotate moves sogo.log to sogo.log.1. The file handle does not change -- sogo still writes to sogo.log which now became sogo.log.1 -- which is the wrong file. The restart was there to make sogo reopen the file handle -- to ultimately write to the new sogo.log file. In case you use the copytrunkate option of logrotate this restart is not required any more, because log messages are copied away into sogo.log.1 and the log file sogo.log is truncated. See man logrotate for details. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Front Office View
Hi! Is there an easy way to provide a quick view on a user's calendar without subscribing to it? The scenario for this is a front office having a customer on the phone wanting to talk to someone. The front office now needs to have a quick look at the calendar to see if the person is available or not. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Postgres with Funambol
Hi! When trying to use a Postgres database server on a remote host with Funambol I came across this issue: I have one database server db.example.com that hosts SOGo's and Funambol's databases. As it is a remote host, I set transparent usage of SSL in postgres' pg_hba.conf like this: | # TYPE DATABASEUSERWHO METHOD | hostssl all all 0.0.0.0/0 md5 JDBC connector requires to explicitly set SSL options. (Connectors for other languages do this transparently). So you end up specifying: || jdbc.url=jdbc:postgresql://db.example.com/funambol?ssl=truesslfactory=org.postgresql.ssl.NonValidatingFactory in install.properties || ssl=true - enable SSL to connect to the database || org.postgresql.ssl.NonValidatingFactory - do not try to find the CA || signing the server cert in the trust store. When following the howto you will be presented with an error in the database config file: /opt/Funambol/config/com/funambol/server/db/db.xml the funambol installer is unable to properly convert the bootstrap config file into XML: just replace the ampersand with amp; and it will work out fine... || jdbc.url=jdbc:postgresql://db.example.com/funambol?ssl=trueamp;sslfactory=org.postgresql.ssl.NonValidatingFactory The real issue is to find what is going on in Java's really helpful debug messages and stack traces. This seems to be a bug in the Funambol installer. -- Adi PS: Stack trace in /opt/Funambol/logs/http/catalina.log (for goolge indexing): 04.11.2010 15:12:02 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 04.11.2010 15:12:02 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1197 ms 04.11.2010 15:12:02 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 04.11.2010 15:12:02 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.16 04.11.2010 15:12:02 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive funambol.war 04.11.2010 15:12:03 org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener com.funambol.transport.http.server.ServletListener is already c onfigured for this context. The duplicate definition has been ignored. 04.11.2010 15:12:03 org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener com.funambol.transport.http.server.SessionListener is already c onfigured for this context. The duplicate definition has been ignored. 04.11.2010 15:12:03 org.apache.catalina.core.StandardContext addApplicationListener INFO: The listener org.apache.axis.transport.http.AxisHTTPSessionListener is alrea dy configured for this context. The duplicate definition has been ignored. 04.11.2010 15:12:03 org.apache.naming.NamingContext lookup WARNUNG: Unexpected exception resolving reference com.funambol.server.db.DataSourceConfigurationException: Error reading 'com/funambol /server/db/db.xml' at com.funambol.server.db.DataSourceConfigurationHelper.getDBConfiguration(D ataSourceConfigurationHelper.java:165) at com.funambol.server.db.DataSourceConfigurationHelper.getJDBCDataSourceCon figuration(DataSourceConfigurationHelper.java:132) at com.funambol.server.db.DataSourceFactory.getObjectInstance(DataSourceFact ory.java:163) at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFacto ry.java:140) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1024) at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:633) at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:237) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSup port.java:117) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.jav a:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at
Re: [SOGo] No events displayed in the web interface
On Thu, Nov 18, 2010 at 2:07 PM, Adi Kriegisch a...@cg.tuwien.ac.at wrote: Thanks for the hint. There is indeed a NullPointerException in ds-server.log: If it helps, I have done some testing with Nokia phones (not N900 though) and haven't faced such an issue...yet. The exact setup included a SOGo nightly build just before the 1.3.3 release, with MySQL and Funambol 8.5.2 server. Thanks for your help and your support. I just found the underlying cause: It is the UID -- 430 in this case. I just changed it in the database to A430 (and UID:430 to UID:A430) and it started to work again. From RFC2445 (icalendar -- as there is no vcalendar RFC I am aware of): | Property Name: UID | |Purpose: This property defines the persistent, globally unique |identifier for the calendar component. | |Value Type: TEXT | |Property Parameters: Non-standard property parameters can be |specified on this property. ...which means 430 is a valid UID -- although a pointless one. I will file a bug on this at maemo.org. Anyways -- this should be fixed in SOGo as well. -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] No events displayed in the web interface
From RFC2445 (icalendar -- as there is no vcalendar RFC I am aware of): | Property Name: UID | |Purpose: This property defines the persistent, globally unique |identifier for the calendar component. | |Value Type: TEXT | |Property Parameters: Non-standard property parameters can be |specified on this property. ...which means 430 is a valid UID -- although a pointless one. I will file a bug on this at maemo.org. Someone has already done this 10 months ago... https://bugs.maemo.org/show_bug.cgi?id=8170 ...and even worse: the calendar-backend is open source and stores an integer in the database... :-( -- Adi -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] No events displayed in the web interface
Dear all, I installed SOGo 1.3.3 on Debian/Lenny with Funambol 8.7.0 (and connector) using a Postgres database on a dedicated database server and everything seemed to work just fine. The trouble started when I created an event on a Nokia N900 and copied it over to SOGo via Funambol using Syncevolution. The webinterface is unable to display any event from the personal calendar anymore. Interesting enough: A caldav client (KOrganizer with caldav plugin) as well as the N900 does display the event and Funambol syncs the event on any other client as well; just the web interface crashes with the following message: | 2010-11-15 18:36:10.071 sogod[10193] 0x0x925a840[PostgreSQL72Channel]: |connection=0x0x925d308[PGConnection]: connection=0x0x92c4918: message: |LOG: duration: 0.150 ms | Nov 15 18:36:10 sogod [10162]: 0x0x90f97f8[WOWatchDogChild] child 10193 |exited | Nov 15 18:36:10 sogod [10162]: 0x0x90f97f8[WOWatchDogChild] (terminated |due to signal 11) | Nov 15 18:36:10 sogod [10162]: 0x0x90f97f8[WOWatchDogChild] avoiding to |respawn child before 2010-11-15 18:36:14 +0100 | Nov 15 18:36:14 sogod [10162]: 0x0x90dd718[WOWatchDog] child spawned with |pid 10196 The event itself looks like this (from sogotool that is as well able to read the event): | { |c_content = BEGIN:VCALENDAR^M |VERSION:2.0^M |BEGIN:VTIMEZONE^M |TZID:Europe/Berlin^M |BEGIN:DAYLIGHT^M |DTSTART:20100328T02^M |RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3^M |TZOFFSETFROM:+0100^M |TZOFFSETTO:+0200^M |TZNAME:Europe/Berlin^M |END:DAYLIGHT^M |BEGIN:STANDARD^M |DTSTART:20101031T03^M |RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10^M |TZOFFSETFROM:+0200^M |TZOFFSETTO:+0100^M |TZNAME:Europe/Berlin^M |END:STANDARD^M |END:VTIMEZONE^M |BEGIN:VTIMEZONE^M |TZID:GMT^M |BEGIN:STANDARD^M |DTSTART:19700101T00^M |RDATE:19700101T00^M |TZOFFSETFROM:+^M |TZOFFSETTO:+^M |TZNAME:GMT^M |END:STANDARD^M |END:VTIMEZONE^M |BEGIN:VEVENT^M |UID:426^M |SUMMARY:Test vom N900^M |DESCRIPTION:Test vom N900^M |LOCATION:Office^M |CLASS:PUBLIC^M |DTSTART;TZID=Europe/Berlin:20101115T133000^M |DTEND;TZID=Europe/Berlin:20101115T143000^M |SEQUENCE:0^M |LAST-MODIFIED:20101115T120636Z^M |DCREATED;TZID=Europe/Berlin:20101115T130636^M |X-FUNAMBOL-ALLDAY:0^M |END:VEVENT^M |END:VCALENDAR^M |; |c_name = 426; |} ...right after deleting the event on eg. the N900 and syncing it to SOGo all the other events are showing up again in the web interface. (deleting only sets c_deleted to 1 in the database) Is this a known bug? Any workaround for this? Anything I should try? Thanks for your help! -- Adi PS: I tried all the verbose logging options mentioned on http://www.sogo.nu/fr/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html and all I got were the SQL statements right before the crash. They all work fine and result in reasonable responses; I tried them manually in the database. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] No events displayed in the web interface
Dear all, I installed SOGo 1.3.3 on Debian/Lenny with Funambol 8.7.0 (and connector) using a Postgres database on a dedicated database server and everything seemed to work just fine. The issue persists with 1.3.4. I just did the upgrade -- everything went smooth! Thanks for developing and maintaining such a great groupware! -- Adi PS: Is there anything I can do to help further debug the issue? = The trouble started when I created an event on a Nokia N900 and copied it over to SOGo via Funambol using Syncevolution. The webinterface is unable to display any event from the personal calendar anymore. Interesting enough: A caldav client (KOrganizer with caldav plugin) as well as the N900 does display the event and Funambol syncs the event on any other client as well; just the web interface crashes with the following message: | 2010-11-15 18:36:10.071 sogod[10193] 0x0x925a840[PostgreSQL72Channel]: |connection=0x0x925d308[PGConnection]: connection=0x0x92c4918: message: |LOG: duration: 0.150 ms | Nov 15 18:36:10 sogod [10162]: 0x0x90f97f8[WOWatchDogChild] child 10193 |exited | Nov 15 18:36:10 sogod [10162]: 0x0x90f97f8[WOWatchDogChild] (terminated |due to signal 11) | Nov 15 18:36:10 sogod [10162]: 0x0x90f97f8[WOWatchDogChild] avoiding to |respawn child before 2010-11-15 18:36:14 +0100 | Nov 15 18:36:14 sogod [10162]: 0x0x90dd718[WOWatchDog] child spawned with |pid 10196 The event itself looks like this (from sogotool that is as well able to read the event): | { |c_content = BEGIN:VCALENDAR^M |VERSION:2.0^M |BEGIN:VTIMEZONE^M |TZID:Europe/Berlin^M |BEGIN:DAYLIGHT^M |DTSTART:20100328T02^M |RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3^M |TZOFFSETFROM:+0100^M |TZOFFSETTO:+0200^M |TZNAME:Europe/Berlin^M |END:DAYLIGHT^M |BEGIN:STANDARD^M |DTSTART:20101031T03^M |RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10^M |TZOFFSETFROM:+0200^M |TZOFFSETTO:+0100^M |TZNAME:Europe/Berlin^M |END:STANDARD^M |END:VTIMEZONE^M |BEGIN:VTIMEZONE^M |TZID:GMT^M |BEGIN:STANDARD^M |DTSTART:19700101T00^M |RDATE:19700101T00^M |TZOFFSETFROM:+^M |TZOFFSETTO:+^M |TZNAME:GMT^M |END:STANDARD^M |END:VTIMEZONE^M |BEGIN:VEVENT^M |UID:426^M |SUMMARY:Test vom N900^M |DESCRIPTION:Test vom N900^M |LOCATION:Office^M |CLASS:PUBLIC^M |DTSTART;TZID=Europe/Berlin:20101115T133000^M |DTEND;TZID=Europe/Berlin:20101115T143000^M |SEQUENCE:0^M |LAST-MODIFIED:20101115T120636Z^M |DCREATED;TZID=Europe/Berlin:20101115T130636^M |X-FUNAMBOL-ALLDAY:0^M |END:VEVENT^M |END:VCALENDAR^M |; |c_name = 426; |} ...right after deleting the event on eg. the N900 and syncing it to SOGo all the other events are showing up again in the web interface. (deleting only sets c_deleted to 1 in the database) Is this a known bug? Any workaround for this? Anything I should try? Thanks for your help! -- Adi PS: I tried all the verbose logging options mentioned on http://www.sogo.nu/fr/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html and all I got were the SQL statements right before the crash. They all work fine and result in reasonable responses; I tried them manually in the database. -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists