[SOGo] ical4j GETs 501 when checking for existence of a calendar
Gentlemen, I am trying to access a calendar of the user gazda using ical4j 1.0.1 Java client library. The SOGo instance I am accessing is version 1.3.9. Here is the piece of java code: CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_UNFOLDING, true); CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING, true); CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_VALIDATION, true); URL url = new URL(https, sogo.mycompany.com, -1, /); CalDavCalendarStore store = new CalDavCalendarStore(-//MacTI//WOCal//EN, url, new PathResolver() { @Override public String getPrincipalPath(String username) { return /SOGo/dav/ + username + /; } @Override public String getUserPath(String username) { return /SOGo/dav/ + username + /; }); store.connect(gazda, .toCharArray()); CalDavCalendarCollection col = store.getCollection(/SOGo/dav/gazda/Calendar/personal/); The problem is that store.getCollection() internally tries to check if the collection exists with a GET request which fails. Here is the relevant piece of SOGo log: 192.168.0.1 - - [29/Nov/2011:10:53:41 GMT] PROPFIND /SOGo/dav/gazda/ HTTP/1.1 401 0/90 0.013 - - 0 192.168.0.1 - - [29/Nov/2011:10:53:41 GMT] PROPFIND /SOGo/dav/gazda/ HTTP/1.1 207 593/90 0.011 - - 0 192.168.0.1 - - [29/Nov/2011:10:53:41 GMT] GET /SOGo/dav/gazda/Calendar/personal/ HTTP/1.1 401 0/0 0.005 - - 0 192.168.0.1 - - [29/Nov/2011:10:53:41 GMT] GET /SOGo/dav/gazda/Calendar/personal/ HTTP/1.1 501 191/0 0.013 - - 0 The question is: Who is wrong? ical4j using GET or SOGo replying 501? The whole thing works if I comment out the GET request in the ical4j code. Thanks in advance, Gazda -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] dovecot + sieve
Thanks - will try that! Is your config working for you without problems or are you still fighting? Am 25.11.2011 10:26, schrieb Philipp v. Strobl-Albeg: Hi, here is my config-snipset, but with dovecot-managesieve-0.2.3-18.el5 dovecot-pigeonhole-0.2.3-18.el5 dovecot-2.0.14-1_130.el5 -- 15-lda.conf: mail_plugins = acl,quota,trash,mail_log,notify,sieve 15-lda.conf: mail_plugins = $mail_plugins sieve 20-lmtp.conf: mail_plugins = $mail_plugins sieve 20-managesieve.conf:service managesieve-login { 20-managesieve.conf:service managesieve { 20-managesieve.conf:protocol sieve { 20-managesieve.conf: mail_plugins = sieve 90-sieve.conf: sieve = /var/mail/vhosts/%d/%n/.dovecot.sieve 90-sieve.conf: sieve_dir = /var/mail/vhosts/%d/%n/sieve 90-sieve.conf: sieve_extensions = +enotify +vacation +copy - I also fight same time with the dovecot/sieve thing, so hope that helps. Best Regards Philipp Am 24.11.2011 21:49, schrieb Stephan Heck: Dear sogo-users, I cannot get sieve filters to work using dovecot and sogo. I found some posts in this mailing lists and added sieve_extensions = +imapflags to my plugin-section in dovecot.conf: plugin { sieve_extensions = +imapflags sieve = /var/vmail/sieve/%d/%u/sieve-script } but still when I save a filter using the sogo front-end, I get 2011-11-24 21:40:09.943 sogod[3900] WARNING: Could not delete Sieve script - continuing...: {RawResponse = {ok = NO; }; result = NO; } and of course the filter wont work... Any hints or mailings I´ve overlooked? Thanks! Steve -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Complete Task results in error with 1.3.9
Am 04.11.2011 23:20, schrieb Julian Robbins: On 04/11/2011 22:18, Ludovic Marcotte wrote: On 04/11/11 18:07, Julian Robbins wrote: I need the deb packages for Ubuntu 10.04 LTS http://inverse.ca/ubuntu-nightly/pool/main/s/sope/ many thanks Julian I have the same error, but the given path doesnt exists anymore. Can I solve this issue by intalling the nightlies? Thanks! -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Year is 1905
Hi, I made an entry with year set at 1905 by mistake. It creates tons of errors when syncing with other devices and calendars. How to you jump to a date in SOGo ? Because there might be others, and I cant really browse through the entire calendar to find them ? By the way, a Go to a specific date button would be nice in SOGo web interface... Thanks Dominique -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] Weird load issue
For the past few months since deploying thunderbird with the connector/lightning/integrator plugins to over half of our users we have been having some issues. Mainly, if the load on the server ever reaches 1.00 and you try to compose a new email in thunderbird once you get the first or second letter in the address bar and it just hangs. To exit you have to close the window. When the load reaches that high it is always a single sogod process eating up 98%-100% of one of the cpu cores. The machine is a Xen paravirtualized machine with 4 cpu cores and 4GB ram allocated to it. I have to stop and restart httpd/sogod/memcached to get the process to behave. The high load affects all users no matter if they access via the web interface or Thunderbird. The only ones not affected are the users that use Thunderbird without the plugins. I have set the WOWorkersCount to 8 for testing but that does not seem to have done anything either way. Does anyone have any idea of what could be going on and/or what to do? Since we are rolling this out to all users in one form or another (web interface or thunderbird) now this is imperative I find out whats going on soon. The logs dont seem to be any help at this point but I am still digging through them. Thanks in advace for any help on this. -- Donny B MDAH
Re: [SOGo] Weird load issue
On 29/11/11 17:29, Donny Brooks wrote: For the past few months since deploying thunderbird with the connector/lightning/integrator plugins to over half of our users we have been having some issues. Mainly, if the load on the server ever reaches 1.00 and you try to compose a new email in thunderbird once you get the first or second letter in the address bar and it just hangs. To exit you have to close the window. We've seen exactly this happen a few times, with same setup, ie sogo with full connector/lightning/integrator plugins. But I don't think its related to load (for us). We only have 35 users so the sogo server load is usually pretty low. We've found that Windows 7 users haven't reported this issue as yet, wheras with XP its happened a few times. (We have no Vista users). But this may be related to the specs of the machines being better with 7. That said we have some uers with slow older Win XP machines that havent seen this issue. It appears that Thunderbird 3 is poor with respect to handling Address Books via Card-dav. Its been mentioned on the list a few times before. Thunderbird 2 was ok apparently. Have you tried using the Sogo Integrator autocomplete delay adjustment user_pref(sogo-connector.autoComplete.delay, 1300); as mentioned in a bug report (sorry not got time to search for it). It helps stopping double letters appearing but may be a bit high in regard to timeouts ... We have it included in the Integrator config so its rolled out into everyone's prefs.js thunderbird file. When the load reaches that high it is always a single sogod process eating up 98%-100% of one of the cpu cores. The machine is a Xen paravirtualized machine with 4 cpu cores and 4GB ram allocated to it. I have to stop and restart httpd/sogod/memcached to get the process to behave. Are you really using WO workers count correctly? You have to set it somewhere in /etc/sogo not in the normal user's GNUStep conf file if running as a daemon. It's in the manual, but easy to miss. The high load affects all users no matter if they access via the web interface or Thunderbird. The only ones not affected are the users that use Thunderbird without the plugins. I have set the WOWorkersCount to 8 for testing but that does not seem to have done anything either way. Generally web users aren't affected here, it always seems to work fine for us. Does anyone have any idea of what could be going on and/or what to do? Since we are rolling this out to all users in one form or another (web interface or thunderbird) now this is imperative I find out what's going on soon. The logs don't seem to be any help at this point but I am still digging through them. Thanks in advace for any help on this. I couldnt see anything in the logs either on this either. Please let me know if you get anywhere with this, if you find out anything offlist as I'd like to know. Julian Robbins -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Complete Task results in error with 1.3.9
On 29/11/11 16:34, Stephan Heck wrote: Am 04.11.2011 23:20, schrieb Julian Robbins: On 04/11/2011 22:18, Ludovic Marcotte wrote: On 04/11/11 18:07, Julian Robbins wrote: I need the deb packages for Ubuntu 10.04 LTS http://inverse.ca/ubuntu-nightly/pool/main/s/sope/ many thanks Julian I have the same error, but the given path doesnt exists anymore. Can I solve this issue by intalling the nightlies? Yes installing the nightlies will fix this issue, but obviously best not to use all the packages from a nightly repo for a production situation ;-) Julian Thanks! -- Kind Regards, Julian Robbins Web Marketing and IT Manager Q-par Angus Ltd, Barons Cross Laboratories, Leominster, Herefordshire, HR6 8RS, United Kingdom Telephone +44 (0) 1568 612138, Fax +44 (0) 1568 616373, Web www.q-par.com IDEAS ENGINEERED - SPECIALISTS IN MICROWAVE and RF ENGINEERING (Registered office) Incorporated in England No 1826221 -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Weird load issue
On Tuesday, November 29, 2011 11:42 AM CST, Julian Robbins julian.robb...@q-par.com wrote: On 29/11/11 17:29, Donny Brooks wrote: For the past few months since deploying thunderbird with the connector/lightning/integrator plugins to over half of our users we have been having some issues. Mainly, if the load on the server ever reaches 1.00 and you try to compose a new email in thunderbird once you get the first or second letter in the address bar and it just hangs. To exit you have to close the window. Weve seen exactly this happen a few times, with same setup, ie sogo with full connector/lightning/integrator plugins. But I dont think its related to load (for us). We only have 35 users so the sogo server load is usually pretty low. Weve found that Windows 7 users havent reported this issue as yet, wheras with XP its happened a few times. (We have no Vista users). But this may be related to the specs of the machines being better with 7. That said we have some uers with slow older Win XP machines that havent seen this issue. It appears that Thunderbird 3 is poor with respect to handling Address Books via Card-dav. Its been mentioned on the list a few times before. Thunderbird 2 was ok apparently. Have you tried using the Sogo Integrator autocomplete delay adjustment user_pref(sogo-connector.autoComplete.delay, 1300); as mentioned in a bug report (sorry not got time to search for it). It helps stopping double letters appearing but may be a bit high in regard to timeouts ... We have it included in the Integrator config so its rolled out into everyones prefs.js thunderbird file. When the load reaches that high it is always a single sogod process eating up 98%-100% of one of the cpu cores. The machine is a Xen paravirtualized machine with 4 cpu cores and 4GB ram allocated to it. I have to stop and restart httpd/sogod/memcached to get the process to behave. Are you really using WO workers count correctly? You have to set it somewhere in /etc/sogo not in the normal users GNUStep conf file if running as a daemon. Its in the manual, but easy to miss. The high load affects all users no matter if they access via the web interface or Thunderbird. The only ones not affected are the users that use Thunderbird without the plugins. I have set the WOWorkersCount to 8 for testing but that does not seem to have done anything either way. Generally web users arent affected here, it always seems to work fine for us. Does anyone have any idea of what could be going on and/or what to do? Since we are rolling this out to all users in one form or another (web interface or thunderbird) now this is imperative I find out whats going on soon. The logs dont seem to be any help at this point but I am still digging through them. Thanks in advace for any help on this. I couldnt see anything in the logs either on this either. Please let me know if you get anywhere with this, if you find out anything offlist as Id like to know. Julian Robbins -- users@sogo.nu https://inverse.ca/sogo/lists The load normally is around 0.10 to 0.20 at any given point on our server. It is only once a rogue sogod process starts taking up the available cpu cycles that this happens. I have applied a fix for the timeout via a thunderbird.cfg file that we force preferences to the end users. We will see how that works out. As for the machines being affected, all of ours is Vista or 7. Actually all of the ones now are 7 since we just deployed a whole slew of new pcs and that is when we setup the plugins too. So I dont think it is end user hardware that is totally at fault. The only reference to the WOWorkerCount is for the GNUStepDefaults file. I am running Centos 5.4 currently on that machine and have no /etc/sogo anything. The web users problem is not just the address book lookup but the whole web interface freezes. You cannot load new messages or change folders when this happens. So with the change on the timeout I am going to see how this works. Also I have a small test group that I am disabling the plugins just to make sure it isnt thunderbird also. -- Donny B MDAH
Re: [SOGo] Weird load issue
On 29/11/11 13:23, Donny Brooks wrote: The only reference to the WOWorkerCount is for the GNUStepDefaults file. I am running Centos 5.4 currently on that machine and have no /etc/sogo anything. And what's the value? What does ps aux | grep sogod tells you? 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) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Weird load issue
AH HA! [root@webmail ~]# ps aux | grep sogod sogo 27641 20.3 0.3 219992 14120 ? S 09:35 35:59 /usr/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log sogo 28260 1.4 1.2 272796 54360 ? Ss 12:20 0:11 /usr/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log root 28323 0.0 0.0 61156 740 pts/1 S+ 12:32 0:00 grep sogod [root@webmail ~]# I now see that it needed to be changed in /etc/sysconfig/sogo also! So I changed it to 8 there also and now I see 8 processes. Could this help solve the issue? I know time will tell but since you deal with it day in and day out you may know before anyone Ludovic. Also, what is a reasonable number of WOWorkers to use on my setup? Virtual machine with 4 cpu cores, 4GB memory and up to 200 people hitting it at once. -- Donny B MDAH On Tuesday, November 29, 2011 12:25 PM CST, Ludovic Marcotte lmarco...@inverse.ca wrote: On 29/11/11 13:23, Donny Brooks wrote: The only reference to the WOWorkerCount is for the GNUStepDefaults file. I am running Centos 5.4 currently on that machine and have no /etc/sogo anything. And whats the value? What does ps aux | grep sogod tells you? 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) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Weird load issue
Hi, Am 29.11.2011 19:38, schrieb Donny Brooks: AH HA! [root@webmail ~]# ps aux | grep sogod sogo 27641 20.3 0.3 219992 14120 ?S09:35 35:59 /usr/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log sogo 28260 1.4 1.2 272796 54360 ?Ss 12:20 0:11 /usr/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log root 28323 0.0 0.0 61156 740 pts/1S+ 12:32 0:00 grep sogod [root@webmail ~]# I now see that it needed to be changed in /etc/sysconfig/sogo also! So I changed it to 8 there also and now I see 8 processes. If I'm not mistaken, this is where you have to change the worker count when you are starting sogo with the init.d script; according to the manual, if I remember correctly. Could this help solve the issue? I know time will tell but since you deal with it day in and day out you may know before anyone Ludovic. Also, what is a reasonable number of WOWorkers to use on my setup? Virtual machine with 4 cpu cores, 4GB memory and up to 200 people hitting it at once. Not much experience, but I would start with four workers. -- Donny B MDAH On Tuesday, November 29, 2011 12:25 PM CST, Ludovic Marcotte lmarco...@inverse.ca wrote: On 29/11/11 13:23, Donny Brooks wrote: The only reference to the WOWorkerCount is for the GNUStepDefaults file. I am running Centos 5.4 currently on that machine and have no /etc/sogo anything. And what's the value? What does ps aux | grep sogod tells you? Regards, Bye Geprg -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Weird load issue
On Tuesday, November 29, 2011 12:57 PM CST, Georg Bretschneider georg+s...@georgb.de wrote: Hi, Am 29.11.2011 19:38, schrieb Donny Brooks: AH HA! [root@webmail ~]# ps aux | grep sogod sogo 27641 20.3 0.3 219992 14120 ? S 09:35 35:59 /usr/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log sogo 28260 1.4 1.2 272796 54360 ? Ss 12:20 0:11 /usr/sbin/sogod -WOWorkersCount 1 -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log root 28323 0.0 0.0 61156 740 pts/1 S+ 12:32 0:00 grep sogod [root@webmail ~]# I now see that it needed to be changed in /etc/sysconfig/sogo also! So I changed it to 8 there also and now I see 8 processes. If Im not mistaken, this is where you have to change the worker count when you are starting sogo with the init.d script; according to the manual, if I remember correctly. Could this help solve the issue? I know time will tell but since you deal with it day in and day out you may know before anyone Ludovic. Also, what is a reasonable number of WOWorkers to use on my setup? Virtual machine with 4 cpu cores, 4GB memory and up to 200 people hitting it at once. Not much experience, but I would start with four workers. -- Donny B MDAH On Tuesday, November 29, 2011 12:25 PM CST, Ludovic Marcottewrote: On 29/11/11 13:23, Donny Brooks wrote: The only reference to the WOWorkerCount is for the GNUStepDefaults file. I am running Centos 5.4 currently on that machine and have no /etc/sogo anything. And whats the value? What does ps aux | grep sogod tells you? Regards, Bye Geprg -- users@sogo.nu https://inverse.ca/sogo/lists Well in the past 30 minutes the load has gone from around 0.10-0.20 on average to 0.00 and the 15 minute load is at 0.01! I would say this resolved the load issue at least. Now just to see if anyone has the composition issue. -- Donny B MDAH
[SOGo] SOGo prefetch subfolders
Is there a way to have SOGo automatically prefetch the unread message count in subfolders? As it currently stands I have filters setup to move messages to subfolders. When I load the web interface I have to click on the individual subfolders that I want to monitor for new messages. From that point on it will show me the unread count next to the folder name, at least until I log out/in again. I vaguely remember this being discussed before but cannot seem to find the exact message. -- Donny B MDAH
[SOGo] SOGo Database Cleanup
Hi, I have been trying to sync Sogo with Funanbol to Mobile devices for a long time now. If it basically works, I discovered through trial and error that where two major flows in those processes (probably to my own fault): 1. Time synchronization (GMT+xxx) 2. Languages in use - Mostly accent related (something the English language is not much accustomed to). Both elements have created havoc by duplicating entries, movies them to different expected times, refused to synchronize some entry (mostly accent related problems). Note to all starters with this process: make sure your time zone are correctly everywhere (from SOGo to your phones) or you are in route for a cleanup nightmare. For language, I am still not sure how to get everyone aligned on the same options, and how to make everyone happy with accents. So now I have a working calendar, but with entries that need to be cleanup. Does anyone have any idea/tools/scripts how to massively cleanup the database: massive change in times depending on the time zone selected, accent cleanups, Thanks, Dominique -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] SOGo Database Cleanup
Hi, I have been trying to sync Sogo with Funanbol to Mobile devices for a long time now. If it basically works, I discovered through trial and error that where two major flows in those processes (probably to my own fault): 1. Time synchronization (GMT+xxx) 2. Languages in use - Mostly accent related (something the English language is not much accustomed to). Both elements have created havoc by duplicating entries, movies them to different expected times, refused to synchronize some entry (mostly accent related problems). Note to all starters with this process: make sure your time zone are correctly everywhere (from SOGo to your phones) or you are in route for a cleanup nightmare. For language, I am still not sure how to get everyone aligned on the same options, and how to make everyone happy with accents. So now I have a working calendar, but with entries that need to be cleanup. Does anyone have any idea/tools/scripts how to massively cleanup the database: massive change in times depending on the time zone selected, duplicate entries, accent cleanups, Thanks, Dominique -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] BTS activities for Tuesday, November 29 2011
Title: BTS activities for Tuesday, November 29 2011 BTS Activities Home page: http://www.sogo.nu/bugs Project: SOGo For the period covering: Tuesday, November 29 2011 idlast updatestatus (resolution)categorysummary 1513 2011-11-29 10:03:23 updated (open) sogo-tool add sogo-tool the ability to truncate calendar 1515 2011-11-29 15:23:18 new (open) Web Calendar Task View is very basic 1490 2011-11-29 04:12:47 updated (open) Web Mail unable to see mails in subfolder of auxilary IMAP account when SOGoMailAuxiliaryUserAccountsEnabled YES 1514 2011-11-29 11:55:37 new (open) Web Mail IMAP error when forwarding mails as attachment