[SOGo] BTS activities for Wednesday, November 21 2018

2018-11-21 Thread SOGo reporter
Title: BTS activities for Wednesday, November 21 2018





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Wednesday, November 21 2018

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
4594
	2018-11-21 05:50:17
	updated (open)
	ActiveSync
	Telephone Numbers Missing in iOS AddressBook
	
	  
	
4600
	2018-11-21 06:53:45
	updated (open)
	Backend Calendar
	Multiple reminders per event
	
	  
	
4601
	2018-11-21 09:13:28
	updated (open)
	Web Administration
	Language
	
	  
	
4502
	2018-11-21 11:12:42
	updated (open)
	Web General
	Calendar and addressbook export
	
	  
	
4602
	2018-11-21 09:27:15
	updated (open)
	Web Mail
	Multiple Identities
	
	  
	
  
  


-- users@sogo.nuhttps://inverse.ca/sogo/lists

Re: [SOGo] Junk settings parameter in SOGo

2018-11-21 Thread Christian Mack
Am 21.11.18 um 16:07 schrieb André Rodier (an...@rodier.me):
> Hello,
> 
> My email server works by moving emails in and out of the Junk folder, so
> I do not need to use a special email address to forward emails to train
> spam and ham.
> Is it possible, to disable the Junk settings in SOGo
> (SOGoMailJunkSettings parameter)?
> 

Yes, disable SOGoMailJunkSettings by commenting it out.
After restart of sogo you will no longer see those spam and ham buttons.


Kind regards,
Christian Mack

-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] Junk settings parameter in SOGo

2018-11-21 Thread an...@rodier.me

Hello,

My email server works by moving emails in and out of the Junk folder, so 
I do not need to use a special email address to forward emails to train 
spam and ham.
Is it possible, to disable the Junk settings in SOGo 
(SOGoMailJunkSettings parameter)?


Thanks,
André

--
https://github.com/progmaticltd/homebox
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Tuning SOGo environment

2018-11-21 Thread Ludovic Marcotte

On 2018-11-21 8:28 AM, Götz Reinicke (goetz.reini...@filmakademie.de) wrote:


I don’t get it …

In the logs I have „sogod [9256]: [*ERROR*] 
<0x0x559d2ea51c00[WOWatchDog]> No child available to handle incoming 
request!“


I did use the PID 9256 of process  gdb -p 9256 and hit „bt“. The 
output are the lines above.


What am I missing?


Look for messages like "process has been hanging for X minutes.." and 
grab the pid. Use that pid for gdb.


Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (https://fingerbank.org)

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

Re: [SOGo] Tuning SOGo environment

2018-11-21 Thread goetz.reini...@filmakademie.de


> Am 21.11.2018 um 13:14 schrieb Ludovic Marcotte (lmarco...@inverse.ca) 
> :
> 
> On 2018-11-21 5:10 AM, Götz Reinicke (goetz.reini...@filmakademie.de 
> ) wrote:
>> 
>> <…>
>> 
>> #0  0x7f21b3284ef0 in __poll_nocancel () from /lib64/libc.so.6
>> #1  0x7f21b7bb7e36 in poll (__timeout=499, __nfds=, 
>> __fds=) at /usr/include/bits/poll2.h:46
>> #2  -[GSRunLoopCtxt pollUntil:within:] (self=, 
>> _cmd=0x7f21b7f95540 <_OBJC_SELECTOR_TABLE+1216>, milliseconds=499, 
>> contexts=) at GSRunLoopCtxt.m:430
>> #3  0x7f21b7af7030 in -[NSRunLoop acceptInputForMode:beforeDate:] 
>> (self=0x559d2e9ddc10, _cmd=0x7f21b7f95580 <_OBJC_SELECTOR_TABLE+1280>, 
>> mode=0x7f21b7f96350 <_OBJC_INSTANCE_2>, limit_date=) at 
>> NSRunLoop.m:1214
>> #4  0x7f21b7af74a9 in -[NSRunLoop runMode:beforeDate:] 
>> (self=0x559d2e9ddc10, _cmd=0x7f21b9655100 <_OBJC_SELECTOR_TABLE+1472>, 
>> mode=0x7f21b7f96350 <_OBJC_INSTANCE_2>, date=0x559d2e8c76f0) at 
>> NSRunLoop.m:1275
>> #5  0x7f21b931da8b in -[WOWatchDog run:argc:argv:] (self=0x559d2ea51c00, 
>> _cmd=0x7f21b96551f0 <_OBJC_SELECTOR_TABLE+1712>, newAppName=0x559d2d3bc160 
>> <_OBJC_INSTANCE_0>, newArgC=7, newArgV=0x7ffcefa4e2d8) at 
>> WOWatchDogApplicationMain.m:945
>> #6  0x7f21b931e149 in WOWatchDogApplicationMain (appName=0x559d2d3bc160 
>> <_OBJC_INSTANCE_0>, argc=7, argv=0x7ffcefa4e2d8) at 
>> WOWatchDogApplicationMain.m:1051
>> #7  0x559d2d1b3ce1 in main (argc=7, argv=0x7ffcefa4e2d8, 
>> env=0x7ffcefa4e318) at sogod.m:51
>> 
> That's the master sogod process, not a child doing work.

I don’t get it …

In the logs I have „sogod [9256]: [ERROR] <0x0x559d2ea51c00[WOWatchDog]> No 
child available to handle incoming request!“

I did use the PID 9256 of process  gdb -p 9256 and hit „bt“. The output are the 
lines above.

What am I missing?

/Götz 



smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] Tuning SOGo environment

2018-11-21 Thread Ludovic Marcotte

On 2018-11-21 5:10 AM, Götz Reinicke (goetz.reini...@filmakademie.de) wrote:



<…>

#0 0x7f21b3284ef0 in __poll_nocancel () from /lib64/libc.so.6
#1 0x7f21b7bb7e36 in poll (__timeout=499, __nfds=, 
__fds=) at /usr/include/bits/poll2.h:46
#2 -[GSRunLoopCtxt pollUntil:within:] (self=, 
_cmd=0x7f21b7f95540 <_OBJC_SELECTOR_TABLE+1216>, milliseconds=499, 
contexts=) at GSRunLoopCtxt.m:430
#3 0x7f21b7af7030 in -[NSRunLoop acceptInputForMode:beforeDate:] 
(self=0x559d2e9ddc10, _cmd=0x7f21b7f95580 <_OBJC_SELECTOR_TABLE+1280>, 
mode=0x7f21b7f96350 <_OBJC_INSTANCE_2>, limit_date=) at 
NSRunLoop.m:1214
#4 0x7f21b7af74a9 in -[NSRunLoop runMode:beforeDate:] 
(self=0x559d2e9ddc10, _cmd=0x7f21b9655100 <_OBJC_SELECTOR_TABLE+1472>, 
mode=0x7f21b7f96350 <_OBJC_INSTANCE_2>, date=0x559d2e8c76f0) at 
NSRunLoop.m:1275
#5 0x7f21b931da8b in -[WOWatchDog run:argc:argv:] 
(self=0x559d2ea51c00, _cmd=0x7f21b96551f0 <_OBJC_SELECTOR_TABLE+1712>, 
newAppName=0x559d2d3bc160 <_OBJC_INSTANCE_0>, newArgC=7, 
newArgV=0x7ffcefa4e2d8) at WOWatchDogApplicationMain.m:945
#6 0x7f21b931e149 in WOWatchDogApplicationMain 
(appName=0x559d2d3bc160 <_OBJC_INSTANCE_0>, argc=7, 
argv=0x7ffcefa4e2d8) at WOWatchDogApplicationMain.m:1051
#7 0x559d2d1b3ce1 in main (argc=7, argv=0x7ffcefa4e2d8, 
env=0x7ffcefa4e318) at sogod.m:51



That's the master sogod process, not a child doing work.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence 
(https://packetfence.org) and Fingerbank (https://fingerbank.org)

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

[SOGo] Once a event is made, tasks can't be made and vice versa

2018-11-21 Thread Kris von Mach
I run into a strange issue in Sogo 4.0.4 where if I create event in 
calendar, I can no longer create a task. I can create as many events as 
I want, but creating a task would give internal server error.


Nov 21 04:24:20 sogod [75969]: 220.129.60.87 "POST 
/SOGo/so/m...@swishmail.com/Calendar/personal/94C0-5BF48980-3-53FB8680.ics/saveAsAppointment 
HTTP/1.1" 200 21/521 0.062 - - -
Nov 21 04:24:29 sogod [75969]: 220.129.60.87 "POST 
/SOGo/so/m...@swishmail.com/Calendar/personal/94C0-5BF48980-3-53FB8680.ics/saveAsTask 
HTTP/1.1" 500 36/416 0.012 - - -


Now if I clear the database, and create a tasks, it will create it, but 
then I wont be able to make events.


Nov 21 04:27:00 sogod [86858]: 220.129.60.87 "POST 
/SOGo/so/m...@swishmail.com/Calendar/personal/94C0-5BF48980-3-53FB8680.ics/saveAsTask 
HTTP/1.1" 200 21/416 0.024 - - -
Nov 21 04:27:09 sogod [86858]: 220.129.60.87 "POST 
/SOGo/so/m...@swishmail.com/Calendar/personal/94C0-5BF48980-3-53FB8680.ics/saveAsAppointment 
HTTP/1.1" 500 36/521 0.011 - - -


So which ever you make first, is all you can continue making.

Using Thunderbird calendar however, I can make events and tasks without 
issue:


Nov 21 04:40:57 sogod [45772]: 220.129.60.87 "PUT 
/SOGo/dav/m...@swishmail.com/Calendar/personal/0482a82c-c6aa-4f87-a4cd-b4f1f9e67da8.ics 
HTTP/1.1" 201 0/534 0.114 - - -
Nov 21 04:40:57 sogod [45772]: 220.129.60.87 "REPORT 
/SOGo/dav/m...@swishmail.com/Calendar/personal/ HTTP/1.1" 207 960/290 
0.009 - - -


Nov 21 04:41:38 sogod [45772]: 220.129.60.87 "PUT 
/SOGo/dav/m...@swishmail.com/Calendar/personal/0e1764b5-a4aa-41ae-9a1f-8d3a5ec23c93.ics 
HTTP/1.1" 201 0/282 0.029 - - -
Nov 21 04:41:39 sogod [45772]: 220.129.60.87 "REPORT 
/SOGo/dav/m...@swishmail.com/Calendar/personal/ HTTP/1.1" 207 696/290 
0.008 - - -


Is this a bug or some sort of configuration I am missing?


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


Re: [SOGo] Tuning SOGo environment

2018-11-21 Thread goetz.reini...@filmakademie.de
Hi,

> Am 20.11.2018 um 20:54 schrieb Ludovic Marcotte (lmarco...@inverse.ca) 
> :
> 
> On 2018-11-20 5:10 AM, Götz Reinicke (goetz.reini...@filmakademie.de 
> ) wrote:
>> 
>> Checking the sogo log I can currently only see the old friend „No child 
>> available to handle incoming request!“ … but no other clues.
> When you see this, try to attach to the process using gdb (so "gdb -p 
> PID_OF_THE_PROCESS") and produce a stacktrace (by typing "bt"). Quit gdb 
> after and send us the stacktrace. It'll tell us where it's stuck. Install 
> SOPE/SOGo/GNUstep debugging symbols before doing that. See 
> https://sogo.nu/support/faq/how-do-i-debug-sogo.html 
>  for all nice details.

I’ll try to have a closer look ASAP.

>> 
>> That error shows up from time to time and than all sogod processes are using 
>> from 40 to 100% of cpu  …. 
>> 
>> My PREFORK is at 12, the server is a 12 GB 4 CPU VM. MySQL and Dovecot are 
>> on different VMs.
> My wild guess based on the symptoms you mention is your IMAP server is 
> running out of available connections. Or, you have EAS clients consuming all 
> sogod workers.

Hm, I’ll check the IMAP server too. 

As I currently don’t know how might use Active Sync (EAS), is there a easy way 
to see the clients in SOGo logs ?

Thx. Götz





smime.p7s
Description: S/MIME cryptographic signature


Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync Period" and inline images are not displayed

2018-11-21 Thread Riccardo Bicelli
Hi,
in outlook mail app collection ID is always 0, it seems you only can do
search in all folders.





Il giorno mar 20 nov 2018 alle ore 14:52 Thomas Führer  ha
scritto:

> Hi,
> can you try to find out under what circumstands the CollectionId=0 is
> included by the Outlook mobile app.
> If there is no CollectionId in the search request the server will search
> all folders. This could take longer than the client is willing to wait ...
> which then could result in the error you have mentioned.
> Does the problem always occure, regadless how large the mailbox is and how
> main imap-folder exists in the mailbox?
>
> I think that processSearchMailbox  needs to be changed to avoid looping
> over all folders and to return after the requested number of mails have
> been found.
>
> Regards,
> Thomas
>
> Am Montag, November 19, 2018 19:29 CET, "Riccardo Bicelli" (
> r.bice...@gmail.com)  schrieb:
>
>
> Hi!
> When searching in Gmail App the search through imap begins but after some
> seconds it throws an error in app itself.
>
>
> Through gmail app search is (from another folder in same level of INBOX):
>
>  http://www.microsoft.com/;>
> 
>  
>   Mailbox
>   
>
> Email
> aruba
>
>   
>   
>
>
>0-9
>
> 2
> 2
>
>   
>  
> 
>
> [ENDLESS IMAP SEARCH THROUGH ALL FOLDERS]
>
> C[0x7f77d23268c8]: 1681 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR
> Nov 19 19:08:54 sogod [13130]: [ERROR]
> <0x0x7f77d2363cf8[NGImap4Connection]> could not select URL:
> imaps://[MASKED]/Public/: {RawResponse = "{ResponseResult = {description =
> \"Mailbox doesn't exist: Public\"; result = no; tagId = 1684; }; ok =
> {CLOSED = \"Previous mailbox closed.\"; }; }"; reason = "Mailbox doesn't
> exist: Public"; result = 0; }
> Nov 19 19:08:54 sogod [13130]: [ERROR] <0x0x7f77d8d05928[NSDataMalloc]>
> xml2wbxmlFromContent: failed: Parsing of XML Document Failed
>
> Nov 19 19:08:54 sogod [13130]: [ERROR] <0x0x7f77d8d05928[NSDataMalloc]>
> Original data written to: /tmp/sogo_[MASKED]_334a_21a333b6_0.data
> Nov 19 19:08:54 sogod [13130]: |SOGo| request took 73.461711 seconds to
> execute
> Nov 19 19:08:54 sogod [13130]:[MASKED] "POST
> /SOGo/Microsoft-Server-ActiveSync?Cmd=Search=[MASKED]s=androidc1284692624=Android
> HTTP/1.1" 200 0/77 73.466 - - 111M
> Nov 19 19:09:32 sogod [13130]: |SOGo| starting method 'POST' on uri
> '/SOGo/Microsoft-Server-ActiveSync?Cmd=FolderSync=[MASKED]=androidc1284692624=Android'
> Nov 19 19:09:32 sogod [13130]:
> <0x0x7f77d23bf5b8[SOGoActiveSyncDispatcher]> EAS - request for device
> androidc1284692624: 
>  http://www.microsoft.com/;>
> 
>  sogoext_[MASKED]_1ab6_21a32de0_0
> 
>
>
> Searching in same folder from Outlook App: "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/;>
> 
>  
>   Mailbox
>   
>
> Email
> aruba
>
>   
>   
>
>
>0-9
>
> 2
> 2
>
>   
>  
> 
>
> [ENDLESS IMAP SESSION]
>
> Nov 19 19:22:08 sogod [13058]: [WARN] <0x0x7f77d1ef6a58[WOWatchDogChild]>
> safety belt -- sending KILL signal to pid 13482
> Nov 19 19:22:08 sogod [13058]: <0x0x7f77d1ef6a58[WOWatchDogChild]> child
> 13482 exited
> Nov 19 19:22:08 sogod [13058]: <0x0x7f77d1ef6a58[WOWatchDogChild]>
> (terminated due to signal 9)
> Nov 19 19:22:08 sogod [13058]: <0x0x7f77d1d42d08[WOWatchDog]> child
> spawned with pid 13788
> Nov 19 19:22:33 sogod [13058]: [WARN] <0x0x7f77d1f3aec8[WOWatchDogChild]>
> pid 13651 has been hanging in the same request for 2 minutes
>
> I'm not very sure if this safety belt is tied to my Activesync session.
>
> In Both cases I don't have CollectionID attribute in the request.
>
>
>
> Il giorno lun 19 nov 2018 alle ore 18:12 Thomas Führer  ha
> scritto:
>
>> Hi!
>> Regarding " 0") I think
>> this is a fault/bug of the Outlook mobile app.
>> -> 0 is not a valid CollecitonId for sogo and results in the "Mailbox
>> doesn't exists: (null).
>> As a "fix/workaround" we could search all folders when CollectionId=0,
>> similar when there is no CollectionId specified.
>>
>> Regarding no-result search with gmail app) I think you can do no other
>> things then debugging further on the system
>> .> e.g what do you get from:  UID SORT (REVERSE ARRIVAL) UTF-8 (NOT
>> DELETED OR (SUBJECT "citri") (FROM "citri"))
>>
>> Regards,
>> Thomas
>>
>> Am Montag, November 19, 2018 12:38 CET, "Riccardo Bicelli" (
>> r.bice...@gmail.com)  schrieb:
>>
>>
>> Hello!
>> CollectionID is unmasked, doing another search with outlook mobile app:
>>
>> 
>>  
>>   Mailbox
>>   
>>
>> Email
>> 0
>> citri
>>
>>   
>>   
>>
>> 2
>> 1048576
>>
>>> xmlns="RightsManagement:">1
>>
>>
>>0-49
>>   
>>  
>> 
>>
>> Same search, same no results but with gmail App:
>>
>> 
>>  
>>   Mailbox
>>   
>>
>> Email
>> citri
>>
>>   
>>   
>>
>>
>>0-9
>>
>> 2
>> 2
>>
>>   
>>  
>> 
>>
>>
>>
>> Doing a Search on another working system in gmail app:
>>
>> 
>>  
>>   Mailbox
>>   
>>