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

2018-11-30 Thread t...@aon.at

Hi Riccardo,
try the latest nightly build. It includes fixes for "inline images", "the xml 
parese error", and some search improvments.

Regards,
Thomas


Am Samstag, November 24, 2018 10:15 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 Thanks!Meanwhile I'm trying to compile with patch you sent but is not an easy 
task in CentOS.. Cheers Il giorno ven 23 nov 2018, 23:40 "Thomas Fuehrer" 
 ha scritto:
I’ve sent a few fixes to Ludovic for review….
 
Regards,
Thomas
 
Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Freitag, 23. November 2018 18:24
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed
 
Filed a bug.
Meanwhile I found other messages that cause parsing errors.
 
Cheers
 
Il giorno ven 23 nov 2018, 17:03 Thomas Führer  ha scritto:
Received your mail with an "empty" attached. Can you please resend it, or file 
a bug and attach it ... what ever you prefere ...

Thanks,
Thomas

Am Freitag, November 23, 2018 08:18 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 
Hi Thomas!
Attached the message.
 
For other problems regarding search, is it ok to file some bugs?
 
Cheers!
 
Il giorno gio 22 nov 2018 alle ore 21:01 Thomas Führer  ha 
scritto:
Riccardo, provide me the eml file. I can try to fix the xml parse error.
Regards, Thomas


 Riccardo Bicelli schrieb 
 
Hi Thomas!
Sure I can identify the message. If you need it can provide the .eml file from 
thunderbird.
 
Doing my tests I found that, regardless of what I set in sogo.conf or in httpd 
config, if the search takes more than 30 seconds it throws error on Gmail App 
but search continues on sogo process.
Isn't there a paged search option or a way to speedup search in dovecot with 
large mailboxes?
Same behavior on IOS App.
On outlook Side no way to test it due to the CollectionID=0 problem.
 
Cheers!
Riccardo
 
 
 
 
 
Il giorno gio 22 nov 2018 alle ore 18:26 Thomas Führer  ha 
scritto:
Hi Riccardo,
without access to to /tmp/rp_[masked]_dc4_21a6e764_0.data it's hard to find the 
problem.

What you can try is to identify the original email with the content of 
/tmp/rp_[masked]_dc4_21a6e764_0.data.
If you are able to tack down the problem to a specific mail you can then try  
rephrase the search pattern so that you get only that mail in the result.
When you know the culprit mail  you can try to identify the cause: a special 
formating, character, 

Regards,
Thomas

Am Donnerstag, November 22, 2018 14:41 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 
Hello, I went a little further.
I moved to gmail app where I don't have the "CollectionID Problem".
 
Using gmail app the IMAP Search rolls fine but at the time for response in the 
log appears
 
[0x5574ec51ac58]: 995 OK Sort completed (0.000 secs).
C[0x5574ec709a88]: 996 select "Archives/2015"
S[0x5574ec51ac58]: * OK [CLOSED] Previous Nov 22 14:32:19 sogod [3524]: [ERROR] 
<0x0x5574ec557918[NGImap4Connection]> could not select URL: 
imaps://[MASKED]/Public/: {RawResponse = "{ResponseResult = {description = 
\"Mailbox doesn't exist: Public\"; result = no; tagId = 1000; }; ok = {CLOSED = 
\"Previous mailbox closed.\"; }; }"; reason = "Mailbox doesn't exist: Public"; 
result = 0; }
Nov 22 14:32:20 sogod [3524]: [ERROR] <0x0x5574f13b17c8[NSDataMalloc]> 
xml2wbxmlFromContent: failed: Parsing of XML Document Failed
 
Checking document with xmllint:
 
xmllint --format /tmp/rp_[masked]_dc4_21a6e764_0.data
/tmp/rp_[masked]_dc4_21a6e764_0.data:450: parser error : PCDATA invalid Char 
value 4
ef="https://twitter.com/share?mid=41847&eid=CVMWR09023319&text=
                                                                               ^
/tmp/rp_[masked]_dc4_21a6e764_0.data:8960: parser error : PCDATA invalid Char 
value 4
quot; data-imagelibrary="%7B%22width%3A0 ꊧ         4.642275e-310ight%3A0 
                                                                               ^
/tmp/rp_[masked]_dc4_21a6e764_0.data:9680: parser error : PCDATA invalid Char 
value 4
quot; data-imagelibrary="%7B%22width%3A0 Ý         4.642275e-310ight%3A0 
 
Any help appreciated
 
Cheers
Riccardo
 
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 fol

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

2018-11-24 Thread Riccardo Bicelli
Thanks!
Meanwhile I'm trying to compile with patch you sent but is not an easy task
in CentOS..

Cheers

Il giorno ven 23 nov 2018, 23:40 "Thomas Fuehrer"  ha
scritto:

> I’ve sent a few fixes to Ludovic for review….
>
>
>
> Regards,
>
> Thomas
>
>
>
> *Von:* users-requ...@sogo.nu  *Im Auftrag von *Riccardo
> Bicelli
> *Gesendet:* Freitag, 23. November 2018 18:24
> *An:* users@sogo.nu
> *Betreff:* Re: [SOGo] ActiveSync: Search no longer shows more messages
> than "Sync Period" and inline images are not displayed
>
>
>
> Filed a bug.
>
> Meanwhile I found other messages that cause parsing errors.
>
>
>
> Cheers
>
>
>
> Il giorno ven 23 nov 2018, 17:03 Thomas Führer  ha scritto:
>
> Received your mail with an "empty" attached. Can you please resend it, or
> file a bug and attach it ... what ever you prefere ...
>
> Thanks,
> Thomas
>
> Am Freitag, November 23, 2018 08:18 CET, "Riccardo Bicelli" (
> r.bice...@gmail.com)  schrieb:
>
>
> Hi Thomas!
>
> Attached the message.
>
>
>
> For other problems regarding search, is it ok to file some bugs?
>
>
>
> Cheers!
>
>
>
> Il giorno gio 22 nov 2018 alle ore 21:01 Thomas Führer  ha
> scritto:
>
> Riccardo, provide me the eml file. I can try to fix the xml parse error.
>
> Regards, Thomas
>
>
>
>  Riccardo Bicelli schrieb 
>
>
> Hi Thomas!
>
> Sure I can identify the message. If you need it can provide the .eml file
> from thunderbird.
>
>
>
> Doing my tests I found that, regardless of what I set in sogo.conf or in
> httpd config, if the search takes more than 30 seconds it throws error on
> Gmail App but search continues on sogo process.
>
> Isn't there a paged search option or a way to speedup search in dovecot
> with large mailboxes?
>
> Same behavior on IOS App.
>
> On outlook Side no way to test it due to the CollectionID=0 problem.
>
>
>
> Cheers!
>
> Riccardo
>
>
>
>
>
>
>
>
>
>
>
> Il giorno gio 22 nov 2018 alle ore 18:26 Thomas Führer  ha
> scritto:
>
> Hi Riccardo,
> without access to to /tmp/rp_[masked]_dc4_21a6e764_0.data it's hard to
> find the problem.
>
> What you can try is to identify the original email with the content of
> /tmp/rp_[masked]_dc4_21a6e764_0.data.
> If you are able to tack down the problem to a specific mail you can then
> try  rephrase the search pattern so that you get only that mail in the
> result.
> When you know the culprit mail  you can try to identify the cause: a
> special formating, character, 
>
> Regards,
> Thomas
>
> Am Donnerstag, November 22, 2018 14:41 CET, "Riccardo Bicelli" (
> r.bice...@gmail.com)  schrieb:
>
>
> Hello, I went a little further.
>
> I moved to gmail app where I don't have the "CollectionID Problem".
>
>
>
> Using gmail app the IMAP Search rolls fine but at the time for response in
> the log appears
>
>
>
> [0x5574ec51ac58]: 995 OK Sort completed (0.000 secs).
>
> C[0x5574ec709a88]: 996 select "Archives/2015"
>
> S[0x5574ec51ac58]: * OK [CLOSED] Previous Nov 22 14:32:19 sogod [3524]:
> [ERROR] <0x0x5574ec557918[NGImap4Connection]> could not select URL:
> imaps://[MASKED]/Public/: {RawResponse = "{ResponseResult = {description =
> \"Mailbox doesn't exist: Public\"; result = no; tagId = 1000; }; ok =
> {CLOSED = \"Previous mailbox closed.\"; }; }"; reason = "Mailbox doesn't
> exist: Public"; result = 0; }
>
> Nov 22 14:32:20 sogod [3524]: [ERROR] <0x0x5574f13b17c8[NSDataMalloc]>
> xml2wbxmlFromContent: failed: Parsing of XML Document Failed
>
>
>
> Checking document with xmllint:
>
>
>
> xmllint --format /tmp/rp_[masked]_dc4_21a6e764_0.data
>
> /tmp/rp_[masked]_dc4_21a6e764_0.data:450: parser error : PCDATA invalid
> Char value 4
>
> ef="
> https://twitter.com/share?mid=41847&eid=CVMWR09023319&text=
>
>
>  ^
>
> /tmp/rp_[masked]_dc4_21a6e764_0.data:8960: parser error : PCDATA invalid
> Char value 4
>
> quot; data-imagelibrary="%7B%22width%3A0 ꊧ
>  4.642275e-310ight%3A0
>
>
>  ^
>
> /tmp/rp_[masked]_dc4_21a6e764_0.data:9680: parser error : PCDATA invalid
> Char value 4
>
> quot; data-imagelibrary="%7B%22width%3A0 Ý
>  4.642275e-310ight%3A0
>
>
>
> Any help appreciated
>
>
>
> Cheers
>
> Riccardo
>
>
>
> Il giorno mar 20 nov 2018 alle ore 14:52 Thomas Führer  ha
> scritto:
>
> Hi,
> can you try to find out under what circumst

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

2018-11-23 Thread "Thomas Fuehrer"
I’ve sent a few fixes to Ludovic for review….

 

Regards,

Thomas

 

Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Freitag, 23. November 2018 18:24
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed

 

Filed a bug.

Meanwhile I found other messages that cause parsing errors.

 

Cheers

 

Il giorno ven 23 nov 2018, 17:03 Thomas Führer mailto:users@sogo.nu> > ha scritto:

Received your mail with an "empty" attached. Can you please resend it, or file 
a bug and attach it ... what ever you prefere ...

Thanks,
Thomas

Am Freitag, November 23, 2018 08:18 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com <mailto:r.bice...@gmail.com> ) mailto:users@sogo.nu> > schrieb:
 

Hi Thomas!

Attached the message.

 

For other problems regarding search, is it ok to file some bugs?

 

Cheers!

 

Il giorno gio 22 nov 2018 alle ore 21:01 Thomas Führer mailto:users@sogo.nu> > ha scritto:

Riccardo, provide me the eml file. I can try to fix the xml parse error.

Regards, Thomas



 Riccardo Bicelli schrieb 
 

Hi Thomas!

Sure I can identify the message. If you need it can provide the .eml file from 
thunderbird.

 

Doing my tests I found that, regardless of what I set in sogo.conf or in httpd 
config, if the search takes more than 30 seconds it throws error on Gmail App 
but search continues on sogo process.

Isn't there a paged search option or a way to speedup search in dovecot with 
large mailboxes?

Same behavior on IOS App.

On outlook Side no way to test it due to the CollectionID=0 problem.

 

Cheers!

Riccardo

 

 

 

 

 

Il giorno gio 22 nov 2018 alle ore 18:26 Thomas Führer mailto:users@sogo.nu> > ha scritto:

Hi Riccardo,
without access to to /tmp/rp_[masked]_dc4_21a6e764_0.data it's hard to find the 
problem.

What you can try is to identify the original email with the content of 
/tmp/rp_[masked]_dc4_21a6e764_0.data.
If you are able to tack down the problem to a specific mail you can then try  
rephrase the search pattern so that you get only that mail in the result.
When you know the culprit mail  you can try to identify the cause: a special 
formating, character, 

Regards,
Thomas

Am Donnerstag, November 22, 2018 14:41 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com <mailto:r.bice...@gmail.com> ) mailto:users@sogo.nu> > schrieb:
 

Hello, I went a little further.

I moved to gmail app where I don't have the "CollectionID Problem".

 

Using gmail app the IMAP Search rolls fine but at the time for response in the 
log appears

 

[0x5574ec51ac58]: 995 OK Sort completed (0.000 secs).

C[0x5574ec709a88]: 996 select "Archives/2015"

S[0x5574ec51ac58]: * OK [CLOSED] Previous Nov 22 14:32:19 sogod [3524]: [ERROR] 
<0x0x5574ec557918[NGImap4Connection]> could not select URL: 
imaps://[MASKED]/Public/: {RawResponse = "{ResponseResult = {description = 
\"Mailbox doesn't exist: Public\"; result = no; tagId = 1000; }; ok = {CLOSED = 
\"Previous mailbox closed.\"; }; }"; reason = "Mailbox doesn't exist: Public"; 
result = 0; }

Nov 22 14:32:20 sogod [3524]: [ERROR] <0x0x5574f13b17c8[NSDataMalloc]> 
xml2wbxmlFromContent: failed: Parsing of XML Document Failed

 

Checking document with xmllint:

 

xmllint --format /tmp/rp_[masked]_dc4_21a6e764_0.data

/tmp/rp_[masked]_dc4_21a6e764_0.data:450: parser error : PCDATA invalid Char 
value 4

ef="https://twitter.com/share?mid=41847 
<https://twitter.com/share?mid=41847&eid=CVMWR09023319&text=> 
&eid=CVMWR09023319&text=

   ^

/tmp/rp_[masked]_dc4_21a6e764_0.data:8960: parser error : PCDATA invalid Char 
value 4

quot; data-imagelibrary="%7B%22width%3A0 ꊧ 4.642275e-310ight%3A0 

   ^

/tmp/rp_[masked]_dc4_21a6e764_0.data:9680: parser error : PCDATA invalid Char 
value 4

quot; data-imagelibrary="%7B%22width%3A0 * 4.642275e-310ight%3A0 

 

Any help appreciated

 

Cheers

Riccardo

 

Il giorno mar 20 nov 2018 alle ore 14:52 Thomas Führer mailto:users@sogo.nu> > 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 fo

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

2018-11-23 Thread Riccardo Bicelli
nal
>>>>>>>Folder Name: Calendario personale
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Il giorno sab 17 nov 2018 alle ore 21:56 Thomas Führer <
>>>>>>> users@sogo.nu> ha scritto:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> please show the output of  sogo-tool.. listfolders.
>>>>>>>> The value of the attribute CollectionID in the search request is
>>>>>>>> translated to the imap folder with what is shown by listfolders.
>>>>>>>>
>>>>>>>> Regards, Thomas
>>>>>>>>
>>>>>>>>
>>>>>>>>  Riccardo Bicelli schrieb 
>>>>>>>>
>>>>>>>> I tried and everything seems ok:
>>>>>>>>
>>>>>>>> telnet localhost 143
>>>>>>>> Trying ::1...
>>>>>>>> Connected to localhost.
>>>>>>>> Escape character is '^]'.
>>>>>>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID
>>>>>>>> ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
>>>>>>>> a login user pass
>>>>>>>> a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID
>>>>>>>> ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS
>>>>>>>> THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT 
>>>>>>>> CHILDREN
>>>>>>>> NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH 
>>>>>>>> ESORT
>>>>>>>> SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE 
>>>>>>>> QUOTA
>>>>>>>> ACL RIGHTS=texk] Logged in
>>>>>>>> 1 select INBOX
>>>>>>>> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded
>>>>>>>> Forwarded receipt-handled $label1 $label2 $label4 rispondere $MDNSent
>>>>>>>> $label5 $label3 NonJunk JUNK $has_cal)
>>>>>>>> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
>>>>>>>> $Forwarded Forwarded receipt-handled $label1 $label2 $label4 rispondere
>>>>>>>> $MDNSent $label5 $label3 NonJunk JUNK $has_cal \*)] Flags permitted.
>>>>>>>> * 8113 EXISTS
>>>>>>>> * 0 RECENT
>>>>>>>> * OK [UNSEEN 8099] First unseen.
>>>>>>>> * OK [UIDVALIDITY 1500023700] UIDs valid
>>>>>>>> * OK [UIDNEXT 19035] Predicted next UID
>>>>>>>> * OK [HIGHESTMODSEQ 21050] Highest
>>>>>>>> 1 OK [READ-WRITE] Select completed (0.001 secs).
>>>>>>>> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT
>>>>>>>> "server") (FROM "pierf"))
>>>>>>>> * SORT 18995 18341 18283 18280 18252 18176 18165 18164 18159 18127
>>>>>>>> 18091 18076 18075 18074 18055 18054 18037 18035 18010 18008 17984 17949
>>>>>>>> 17937 17936 17904 17873 17872 17870 17868 17860 17832 17828 17827 17778
>>>>>>>> 17759 17746 17680 17678 17677 17676 17583 17519 17497 17288 17287 17248
>>>>>>>> 17247 17227 17070 17001 16974 16842 16841 16682 16614 16596 16590 16586
>>>>>>>> 16558 16499 16444 16442 16440 16434 16397 16331 16330 16329 16307 16303
>>>>>>>> 16302 16301 16300 16299 16292 16289 16288 16287 16252 16226 16215 16212
>>>>>>>> 16197 16193 16184 16121 16018 15977 15978 15684 15682 15678 15675 15662
>>>>>>>> 15661 15646 15630 15616 15615 15612 15610 15598 15586 15570 15567 15565
>>>>>>>> 15564 15563 15562 15561 15482 15481 15469 15468 15436 15435 15416 15413
>>>>>>>> 15412 15410 15365 15364 15361 15321 15315 15314 15309 15304 15276 15275
>>>>>>>> 15274 15273 15265 15256 15254 15252 15247 15246 15245 15237 15236 15235
>>>>>>>> 15233 15232 15230 15229 15228 15225 15218 15217 15182 15153 15120 15119
>>>>>>>> 15118 15117 15068 15028 15027 14975 14970 14964 14961 14954 14953 14949
>>>>>>>> 14939 14935 14934 14921 14920 14919 14918 14915 14913 14912 14909 14893
>>>>>>>> 14892 1

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

2018-11-23 Thread Riccardo Bicelli
Hello Christian, thanks for your response.

Even with Solr indexing the situation is the same. On large (10 GB+)
mailboxes dovecot takes some time to build the  response and if it takes
more than 30 secs the app goes timeout.

Cheers,
Riccardo

Il giorno ven 23 nov 2018 alle ore 10:01 Christian Mack  ha
scritto:

> Hello
>
>
> Am 22.11.18 um 19:24 schrieb Riccardo Bicelli (r.bice...@gmail.com):
> < ... >
> > Doing my tests I found that, regardless of what I set in sogo.conf or in
> > httpd config, if the search takes more than 30 seconds it throws error on
> > Gmail App but search continues on sogo process.
> > Isn't there a paged search option or a way to speedup search in dovecot
> > with large mailboxes?< cut >
>
> You can add full text search engines to dovecot.
> This will speed up server side searches a lot.
> https://wiki.dovecot.org/Plugins/FTS
>
>
> Kind regards,
> Christian Mack
>
> --
> Christian Mack
> Universität Konstanz
> Kommunikations-, Informations-, Medienzentrum (KIM)
> Abteilung Basisdienste
> 78457 Konstanz
> +49 7531 88-4416
>
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

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

2018-11-23 Thread t...@aon.at
; 
SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" 
DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" 
ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" 
PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 
OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" 
"/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace 
completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my 
sogo server are dedicated vm, could I solve my problem upgrading my 
installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 
Thomas Führer  ha scritto:Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 With sogo-tool everything seems ok. On another system,same version, search is 
working fine. Are there settings related to dovecot that I can play with? 
Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
 ha scritto:
Hi Riccardo,
attached is a patch for the inline image problem.
 
I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:
 
   sogo-tool -v manage-eas listdevices janedoe
   sogo-tool -v manage-eas listfolders janedoe androidc316986417
 
 
Cheers,
Thomas
 
Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed
 
Hi Thomas
Yes, I can test patches and I will be glad to try it.
 
With SOGoEASDebugEnabled = YES In the logs I have:
 
http://www.microsoft.com/";>

 
  Mailbox
  
   
    Email
    0
    pierfau
   
  
  
   
    2
    1048576
   
   1
   
   
   0-49
  
 

 
Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> 
could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: 
{RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: 
(null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: 
(null)"; result = 0; }
Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS 
- response for device 9EFD993C7C1E8054: 
http://www.microsoft.com/";>

 1
 
  
   1
   0-0
   0
  
 

 
I tested search in another another system and it works.
Could it be the Mailbox doesn't exist: (null) part in the log?
 
 
Il giorno ven 9 nov 2018, 15:41 Thomas Führer  ha scritto:
Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for " ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition to test a patch? Do you compile from source?
I could send you a patch which should improve the handling of inline images. It 
would be great if you could help to test the patch.

Cheers,
Thomas

Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 
Hello,
I'm aware that Activesync on mobile devices  synchronizes 1 month max of 
messages. But I remember that some time ago, when a I did a search, it returned 
older messages also.
Am I remembering wrong? Is annoying for mobile users not haveing the ability to 
access old messages.
 
I'm also facing a problem with Outlook for Android/iOS, gmail app and apple 
mail: when a message has inline images, instead of image a placeholder is 
displayed. If the image is attached it is ok to download and display it.
 
Cheers,
Riccardo
 
--
users@sogo.nu
https://inverse.ca/sogo/lists



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


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


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


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


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


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


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


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

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

2018-11-23 Thread Riccardo Bicelli
>>>>>>> 1 OK [READ-WRITE] Select completed (0.001 secs).
>>>>>>> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT
>>>>>>> "server") (FROM "pierf"))
>>>>>>> * SORT 18995 18341 18283 18280 18252 18176 18165 18164 18159 18127
>>>>>>> 18091 18076 18075 18074 18055 18054 18037 18035 18010 18008 17984 17949
>>>>>>> 17937 17936 17904 17873 17872 17870 17868 17860 17832 17828 17827 17778
>>>>>>> 17759 17746 17680 17678 17677 17676 17583 17519 17497 17288 17287 17248
>>>>>>> 17247 17227 17070 17001 16974 16842 16841 16682 16614 16596 16590 16586
>>>>>>> 16558 16499 16444 16442 16440 16434 16397 16331 16330 16329 16307 16303
>>>>>>> 16302 16301 16300 16299 16292 16289 16288 16287 16252 16226 16215 16212
>>>>>>> 16197 16193 16184 16121 16018 15977 15978 15684 15682 15678 15675 15662
>>>>>>> 15661 15646 15630 15616 15615 15612 15610 15598 15586 15570 15567 15565
>>>>>>> 15564 15563 15562 15561 15482 15481 15469 15468 15436 15435 15416 15413
>>>>>>> 15412 15410 15365 15364 15361 15321 15315 15314 15309 15304 15276 15275
>>>>>>> 15274 15273 15265 15256 15254 15252 15247 15246 15245 15237 15236 15235
>>>>>>> 15233 15232 15230 15229 15228 15225 15218 15217 15182 15153 15120 15119
>>>>>>> 15118 15117 15068 15028 15027 14975 14970 14964 14961 14954 14953 14949
>>>>>>> 14939 14935 14934 14921 14920 14919 14918 14915 14913 14912 14909 14893
>>>>>>> 14892 14826 14825 14824 14823 14774 14752 14707 14698 14682 14671 14657
>>>>>>> 14651 14650 14642 14641 14640 14639 14633 14632 14629 14628 14623 14617
>>>>>>> 14615 14608 14590 14589 14588 14550 14549 14548 14542 14522 14488 14472
>>>>>>> 14467 14466 14465 14463 14458 14447 14430 14429 14412 14411 14410 14409
>>>>>>> 14405 14404 14401 14397 14395 14394 14386 14382 14380 14378 14374 14342
>>>>>>> 14341 14340 14323 14320 14319 14318 14315 14314 14313 14312 14311 14297
>>>>>>> 14296 14286 14284 14282 14279 14242 14200 14164 14165 14153 14150 14149
>>>>>>> 14141 14135 14072 14056 13988 13972 13948 13897 13856 13827 13656 13654
>>>>>>> 13649 13648 13633 13625 13608 13601 13582 13535 13511 13415 13386 13375
>>>>>>> 13365 13345 13342 13321 13319 13317 13310 13287 13238 13173 13132 13095
>>>>>>> 13050 13022 13016 12954 12925 12903 12875 12802 12794 12780 12771 12770
>>>>>>> 12759 12752 12749 12745 12730 12723 12700 12699 12677 12675 12629 12625
>>>>>>> 12586 12582 12581 12427 12401 12391 12339 12338 12287 12243 12227 12179
>>>>>>> 12178 12112 12111 12110 12069 12063 12044 12000 11938 11935 11931 11925
>>>>>>> 11924 11899 11882 11778 11763 11702 11696 11585 11581 11579 11551 11487
>>>>>>> 11475 11438 11398 11397 11378 11298 11274 11247 11141 1 11107 11067
>>>>>>> 11020 11019 10874 10796 10670 10669 10583 10581 10574 10440 10392 10381
>>>>>>> 10358 10308 10242 10235 10180 10068 10067 9935 9933 9923 9908 9907 9905
>>>>>>> 9883 9713 9712 9465 9446 9440 9390 9355 9328 9277 9270 9239 9143 9142 
>>>>>>> 9104
>>>>>>> 9083 9082 8955 8886 8883 8875 8863 8850 8805 8804 8803 8802 8801 8799 
>>>>>>> 8798
>>>>>>> 8797 8796 8795 8756 8755 8719 8715 8688 8663 8661 8659 8658 8606 8605 
>>>>>>> 8585
>>>>>>> 8543 8539 8525 8523 8522 8520 8519 8467 8464 8443 8438 8435 8434 8421 
>>>>>>> 8407
>>>>>>> 8398 8389 8385 8381 8303 8253 8250 8195 8192 8073 8061 8047 7974 7932 
>>>>>>> 7931
>>>>>>> 7882 7800 7757 7722 7716 7692 7672
>>>>>>> 1 OK Sort completed (0.103 secs).
>>>>>>>
>>>>>>> I tried also moving sogo to a CentOS 7.5 machine and the problem
>>>>>>> persists.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Il giorno sab 17 nov 2018 alle ore 09:57 Thomas Führer <
>>>>>>> users@sogo.nu> ha scritto:
>>>>>>>
>>>>>>>> Hi Riccardo,
>>>>>>>> strange that there is no "UID SEARCH" in you log. You could try
>>>>>>>> following

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

2018-11-23 Thread Christian Mack
Hello


Am 22.11.18 um 19:24 schrieb Riccardo Bicelli (r.bice...@gmail.com):
< ... >
> Doing my tests I found that, regardless of what I set in sogo.conf or in
> httpd config, if the search takes more than 30 seconds it throws error on
> Gmail App but search continues on sogo process.
> Isn't there a paged search option or a way to speedup search in dovecot
> with large mailboxes?< cut >

You can add full text search engines to dovecot.
This will speed up server side searches a lot.
https://wiki.dovecot.org/Plugins/FTS


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


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

2018-11-22 Thread t...@aon.at
ing my installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer <users@sogo.nu> ha scritto:Hi Riccardo,Can you  search mails via the WebUI?If there is no obvious difference between the environments you could setImapDebugEnabled = YES to see the IMAP commands sent and their results.Cheers,ThomasAm Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" (r.bice...@gmail.com) <users@sogo.nu> schrieb: With sogo-tool everything seems ok. On another system,same version, search is working fine. Are there settings related to dovecot that I can play with? Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" <users@sogo.nu> ha scritto:Hi Riccardo,attached is a patch for the inline image problem. I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but you can investigate with sogo-tool:    sogo-tool -v manage-eas listdevices janedoe   sogo-tool -v manage-eas listfolders janedoe androidc316986417  Cheers,Thomas Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von Riccardo BicelliGesendet: Montag, 12. November 2018 10:19An: users@sogo.nuBetreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync Period" and inline images are not displayed Hi ThomasYes, I can test patches and I will be glad to try it. With SOGoEASDebugEnabled = YES In the logs I have: http://www.microsoft.com/">   Mailbox         Email    0    pierfau              2    1048576      1         0-49    Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: (null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: (null)"; result = 0; }Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS - response for device 9EFD993C7C1E8054: http://www.microsoft.com/"> 1      1   0-0   0    I tested search in another another system and it works.Could it be the Mailbox doesn't exist: (null) part in the log?  Il giorno ven 9 nov 2018, 15:41 Thomas Führer <users@sogo.nu> ha scritto:Hi Riccardo,you could test the search with SOGoEASDebugEnabled = YES . This should give you more details in sogo.log when you search for mail messages on your phone.Search for " ..." in sogo.log.Regarding the problem with inline images ...Are you in the possition to test a patch? Do you compile from source?I could send you a patch which should improve the handling of inline images. It would be great if you could help to test the patch.Cheers,ThomasAm Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" (r.bice...@gmail.com) <users@sogo.nu> schrieb: Hello,I'm aware that Activesync on mobile devices  synchronizes 1 month max of messages. But I remember that some time ago, when a I did a search, it returned older messages also.Am I remembering wrong? Is annoying for mobile users not haveing the ability to access old messages. I'm also facing a problem with Outlook for Android/iOS, gmail app and apple mail: when a message has inline images, instead of image a placeholder is displayed. If the image is attached it is ok to download and display it. Cheers,Riccardo --users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists 
-- users@sogo.nuhttps://inverse.ca/sogo/lists
-- users@sogo.nuhttps://inverse.ca/sogo/lists
-- users@sogo.nuhttps://inverse.ca/sogo/lists

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

2018-11-22 Thread Riccardo Bicelli
>
>>>>>>
>>>>>>  Riccardo Bicelli schrieb 
>>>>>>
>>>>>> I tried and everything seems ok:
>>>>>>
>>>>>> telnet localhost 143
>>>>>> Trying ::1...
>>>>>> Connected to localhost.
>>>>>> Escape character is '^]'.
>>>>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
>>>>>> a login user pass
>>>>>> a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>>> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS 
>>>>>> THREAD=ORDEREDSUBJECT
>>>>>> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
>>>>>> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
>>>>>> WITHIN
>>>>>> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk]
>>>>>> Logged in
>>>>>> 1 select INBOX
>>>>>> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded
>>>>>> Forwarded receipt-handled $label1 $label2 $label4 rispondere $MDNSent
>>>>>> $label5 $label3 NonJunk JUNK $has_cal)
>>>>>> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
>>>>>> $Forwarded Forwarded receipt-handled $label1 $label2 $label4 rispondere
>>>>>> $MDNSent $label5 $label3 NonJunk JUNK $has_cal \*)] Flags permitted.
>>>>>> * 8113 EXISTS
>>>>>> * 0 RECENT
>>>>>> * OK [UNSEEN 8099] First unseen.
>>>>>> * OK [UIDVALIDITY 1500023700] UIDs valid
>>>>>> * OK [UIDNEXT 19035] Predicted next UID
>>>>>> * OK [HIGHESTMODSEQ 21050] Highest
>>>>>> 1 OK [READ-WRITE] Select completed (0.001 secs).
>>>>>> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT "server")
>>>>>> (FROM "pierf"))
>>>>>> * SORT 18995 18341 18283 18280 18252 18176 18165 18164 18159 18127
>>>>>> 18091 18076 18075 18074 18055 18054 18037 18035 18010 18008 17984 17949
>>>>>> 17937 17936 17904 17873 17872 17870 17868 17860 17832 17828 17827 17778
>>>>>> 17759 17746 17680 17678 17677 17676 17583 17519 17497 17288 17287 17248
>>>>>> 17247 17227 17070 17001 16974 16842 16841 16682 16614 16596 16590 16586
>>>>>> 16558 16499 16444 16442 16440 16434 16397 16331 16330 16329 16307 16303
>>>>>> 16302 16301 16300 16299 16292 16289 16288 16287 16252 16226 16215 16212
>>>>>> 16197 16193 16184 16121 16018 15977 15978 15684 15682 15678 15675 15662
>>>>>> 15661 15646 15630 15616 15615 15612 15610 15598 15586 15570 15567 15565
>>>>>> 15564 15563 15562 15561 15482 15481 15469 15468 15436 15435 15416 15413
>>>>>> 15412 15410 15365 15364 15361 15321 15315 15314 15309 15304 15276 15275
>>>>>> 15274 15273 15265 15256 15254 15252 15247 15246 15245 15237 15236 15235
>>>>>> 15233 15232 15230 15229 15228 15225 15218 15217 15182 15153 15120 15119
>>>>>> 15118 15117 15068 15028 15027 14975 14970 14964 14961 14954 14953 14949
>>>>>> 14939 14935 14934 14921 14920 14919 14918 14915 14913 14912 14909 14893
>>>>>> 14892 14826 14825 14824 14823 14774 14752 14707 14698 14682 14671 14657
>>>>>> 14651 14650 14642 14641 14640 14639 14633 14632 14629 14628 14623 14617
>>>>>> 14615 14608 14590 14589 14588 14550 14549 14548 14542 14522 14488 14472
>>>>>> 14467 14466 14465 14463 14458 14447 14430 14429 14412 14411 14410 14409
>>>>>> 14405 14404 14401 14397 14395 14394 14386 14382 14380 14378 14374 14342
>>>>>> 14341 14340 14323 14320 14319 14318 14315 14314 14313 14312 14311 14297
>>>>>> 14296 14286 14284 14282 14279 14242 14200 14164 14165 14153 14150 14149
>>>>>> 14141 14135 14072 14056 13988 13972 13948 13897 13856 13827 13656 13654
>>>>>> 13649 13648 13633 13625 13608 13601 13582 13535 13511 13415 13386 13375
>>>>>> 13365 13345 13342 13321 13319 13317 13310 13287 13238 13173 13132 13095
>>>>>> 13050 13022 13016 12954 12925 12903 12875 12802 12794 12780 12771 12770
>>>>>> 12759 12752 12749 12745 12730 12723 12700 12699 12677 12675 12629 12625
>>>>>> 12586 12582 12581 12427 12401 12391 12339 12338 12287 1

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

2018-11-22 Thread t...@aon.at
 8385 8381 8303 8253 8250 8195 8192 8073 8061 
8047 7974 7932 7931 7882 7800 7757 7722 7716 7692 76721 OK Sort completed 
(0.103 secs). I tried also moving sogo to a CentOS 7.5 machine and the problem 
persists. Thanks Il giorno sab 17 nov 2018 alle ore 09:57 Thomas Führer 
 ha scritto:Hi Riccardo,
strange that there is no "UID SEARCH" in you log. You could try  following 
commads and compare working with non-working env.

telnet localhost 143
Trying ::1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 
STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
1 login  

1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in

1 select inbox

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded \*)] 
Flags permitted.
* 23 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1509265452] UIDs valid
* OK [UIDNEXT 2147] Predicted next UID
* OK [HIGHESTMODSEQ 5864] Highest
1 OK [READ-WRITE] Select completed (0.000 secs).



1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT "") 
(FROM ""))

* SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails containing the 
search string
1 OK Sort completed (0.000 secs).


1 capability
* CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk
1 OK Capability completed.




Regards,
Thomas
Am Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 Hi,searching in Web UI is fine, below a transcript of IMAP session of web ui 
search: S[0x55c6babe5078]: 2 OK Capability completed.S[0x55c6babe5078]: * ID 
("name" "Dovecot")S[0x55c6babe5078]: 3 OK ID completed.S[0x55c6babe5078]: * 
NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" 
"/"))S[0x55c6babe5078]: 4 OK Namespace completed.S[0x55c6babe5078]: * LIST 
(\Noselect) "/" ""S[0x55c6babe5078]: 5 OK List completed.[And session goes 
on...] Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9): 
S[0x55c6baefedb8]: 2 OK Capability completed.S[0x55c6baefedb8]: * ID ("name" 
"Dovecot")S[0x55c6baefedb8]: 3 OK ID completed.S[0x55c6baefedb8]: * NAMESPACE 
(("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c6baefedb8]: 4 OK 
Namespace completed.S[0x55c6baefedb8]: * LIST (\Noselect) "/" 
""S[0x55c6baefedb8]: 5 OK List completed.S[0x55c6baefedb8]: 6 NO Mailbox 
doesn't exist: (null)S[0x55c6baefedb8]: * BYE Logging out[And Session Stops] 
And this is a session with a working Activesync installation (sogo 
4.0.1.20180806-1.el7.centos on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability 
completed.S[0x55c14c282830]: * ID ("name" "Dovecot")S[0x55c14c282830]: 3 OK ID 
completed.S[0x55c14c282830]: * LIST (\Noselect) "/" ""S[0x55c14c282830]: 4 OK 
List completed.S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" 
TrashS[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" 
SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" 
DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" 
ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" 
PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 
OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" 
"/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace 
completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my 
sogo server are dedicated vm, could I solve my problem upgrading my 
installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 
Thomas Führer  ha scritto:Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 With sogo-tool everything seems ok. On another system,same

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

2018-11-22 Thread Riccardo Bicelli
; 14892 14826 14825 14824 14823 14774 14752 14707 14698 14682 14671 14657
>>>>> 14651 14650 14642 14641 14640 14639 14633 14632 14629 14628 14623 14617
>>>>> 14615 14608 14590 14589 14588 14550 14549 14548 14542 14522 14488 14472
>>>>> 14467 14466 14465 14463 14458 14447 14430 14429 14412 14411 14410 14409
>>>>> 14405 14404 14401 14397 14395 14394 14386 14382 14380 14378 14374 14342
>>>>> 14341 14340 14323 14320 14319 14318 14315 14314 14313 14312 14311 14297
>>>>> 14296 14286 14284 14282 14279 14242 14200 14164 14165 14153 14150 14149
>>>>> 14141 14135 14072 14056 13988 13972 13948 13897 13856 13827 13656 13654
>>>>> 13649 13648 13633 13625 13608 13601 13582 13535 13511 13415 13386 13375
>>>>> 13365 13345 13342 13321 13319 13317 13310 13287 13238 13173 13132 13095
>>>>> 13050 13022 13016 12954 12925 12903 12875 12802 12794 12780 12771 12770
>>>>> 12759 12752 12749 12745 12730 12723 12700 12699 12677 12675 12629 12625
>>>>> 12586 12582 12581 12427 12401 12391 12339 12338 12287 12243 12227 12179
>>>>> 12178 12112 12111 12110 12069 12063 12044 12000 11938 11935 11931 11925
>>>>> 11924 11899 11882 11778 11763 11702 11696 11585 11581 11579 11551 11487
>>>>> 11475 11438 11398 11397 11378 11298 11274 11247 11141 1 11107 11067
>>>>> 11020 11019 10874 10796 10670 10669 10583 10581 10574 10440 10392 10381
>>>>> 10358 10308 10242 10235 10180 10068 10067 9935 9933 9923 9908 9907 9905
>>>>> 9883 9713 9712 9465 9446 9440 9390 9355 9328 9277 9270 9239 9143 9142 9104
>>>>> 9083 9082 8955 8886 8883 8875 8863 8850 8805 8804 8803 8802 8801 8799 8798
>>>>> 8797 8796 8795 8756 8755 8719 8715 8688 8663 8661 8659 8658 8606 8605 8585
>>>>> 8543 8539 8525 8523 8522 8520 8519 8467 8464 8443 8438 8435 8434 8421 8407
>>>>> 8398 8389 8385 8381 8303 8253 8250 8195 8192 8073 8061 8047 7974 7932 7931
>>>>> 7882 7800 7757 7722 7716 7692 7672
>>>>> 1 OK Sort completed (0.103 secs).
>>>>>
>>>>> I tried also moving sogo to a CentOS 7.5 machine and the problem
>>>>> persists.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Il giorno sab 17 nov 2018 alle ore 09:57 Thomas Führer 
>>>>> ha scritto:
>>>>>
>>>>>> Hi Riccardo,
>>>>>> strange that there is no "UID SEARCH" in you log. You could try
>>>>>> following commads and compare working with non-working env.
>>>>>>
>>>>>> telnet localhost 143
>>>>>> Trying ::1...
>>>>>> Connected to localhost.
>>>>>> Escape character is '^]'.
>>>>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
>>>>>> 1 login  
>>>>>>
>>>>>> 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>>> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS 
>>>>>> THREAD=ORDEREDSUBJECT
>>>>>> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
>>>>>> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
>>>>>> WITHIN
>>>>>> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk]
>>>>>> Logged in
>>>>>>
>>>>>> 1 select inbox
>>>>>>
>>>>>> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
>>>>>> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
>>>>>> $Forwarded \*)] Flags permitted.
>>>>>> * 23 EXISTS
>>>>>> * 0 RECENT
>>>>>> * OK [UIDVALIDITY 1509265452] UIDs valid
>>>>>> * OK [UIDNEXT 2147] Predicted next UID
>>>>>> * OK [HIGHESTMODSEQ 5864] Highest
>>>>>> 1 OK [READ-WRITE] Select completed (0.000 secs).
>>>>>>
>>>>>>
>>>>>>
>>>>>> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT ">>>>> string>") (FROM ""))
>>>>>>
>>>>>> * SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails
>>>>>> containing the search string
>>>>>> 1 OK Sort completed (0.000 secs).
>>>>>>
>>>>>&

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

2018-11-21 Thread Riccardo Bicelli
7 11378 11298 11274 11247 11141 1 11107 11067
>>>>> 11020 11019 10874 10796 10670 10669 10583 10581 10574 10440 10392 10381
>>>>> 10358 10308 10242 10235 10180 10068 10067 9935 9933 9923 9908 9907 9905
>>>>> 9883 9713 9712 9465 9446 9440 9390 9355 9328 9277 9270 9239 9143 9142 9104
>>>>> 9083 9082 8955 8886 8883 8875 8863 8850 8805 8804 8803 8802 8801 8799 8798
>>>>> 8797 8796 8795 8756 8755 8719 8715 8688 8663 8661 8659 8658 8606 8605 8585
>>>>> 8543 8539 8525 8523 8522 8520 8519 8467 8464 8443 8438 8435 8434 8421 8407
>>>>> 8398 8389 8385 8381 8303 8253 8250 8195 8192 8073 8061 8047 7974 7932 7931
>>>>> 7882 7800 7757 7722 7716 7692 7672
>>>>> 1 OK Sort completed (0.103 secs).
>>>>>
>>>>> I tried also moving sogo to a CentOS 7.5 machine and the problem
>>>>> persists.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Il giorno sab 17 nov 2018 alle ore 09:57 Thomas Führer 
>>>>> ha scritto:
>>>>>
>>>>>> Hi Riccardo,
>>>>>> strange that there is no "UID SEARCH" in you log. You could try
>>>>>> following commads and compare working with non-working env.
>>>>>>
>>>>>> telnet localhost 143
>>>>>> Trying ::1...
>>>>>> Connected to localhost.
>>>>>> Escape character is '^]'.
>>>>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
>>>>>> 1 login  
>>>>>>
>>>>>> 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>>> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS 
>>>>>> THREAD=ORDEREDSUBJECT
>>>>>> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
>>>>>> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
>>>>>> WITHIN
>>>>>> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk]
>>>>>> Logged in
>>>>>>
>>>>>> 1 select inbox
>>>>>>
>>>>>> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
>>>>>> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
>>>>>> $Forwarded \*)] Flags permitted.
>>>>>> * 23 EXISTS
>>>>>> * 0 RECENT
>>>>>> * OK [UIDVALIDITY 1509265452] UIDs valid
>>>>>> * OK [UIDNEXT 2147] Predicted next UID
>>>>>> * OK [HIGHESTMODSEQ 5864] Highest
>>>>>> 1 OK [READ-WRITE] Select completed (0.000 secs).
>>>>>>
>>>>>>
>>>>>>
>>>>>> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT ">>>>> string>") (FROM ""))
>>>>>>
>>>>>> * SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails
>>>>>> containing the search string
>>>>>> 1 OK Sort completed (0.000 secs).
>>>>>>
>>>>>>
>>>>>> 1 capability
>>>>>> * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>>> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS 
>>>>>> THREAD=ORDEREDSUBJECT
>>>>>> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
>>>>>> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
>>>>>> WITHIN
>>>>>> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk
>>>>>> 1 OK Capability completed.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> Thomas
>>>>>> Am Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" (
>>>>>> r.bice...@gmail.com)  schrieb:
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>> searching in Web UI is fine, below a transcript of IMAP session of
>>>>>> web ui search:
>>>>>>
>>>>>> S[0x55c6babe5078]: 2 OK Capability completed.
>>>>>> S[0x55c6babe5078]: * ID ("name" "Dovecot")
>>>>>> S[0x55c6babe5078]: 3 OK ID completed.
>&

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

2018-11-20 Thread t...@aon.at
t;Dovecot")S[0x55c6babe5078]: 3 OK ID completed.S[0x55c6babe5078]: * 
NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" 
"/"))S[0x55c6babe5078]: 4 OK Namespace completed.S[0x55c6babe5078]: * LIST 
(\Noselect) "/" ""S[0x55c6babe5078]: 5 OK List completed.[And session goes 
on...] Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9): 
S[0x55c6baefedb8]: 2 OK Capability completed.S[0x55c6baefedb8]: * ID ("name" 
"Dovecot")S[0x55c6baefedb8]: 3 OK ID completed.S[0x55c6baefedb8]: * NAMESPACE 
(("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c6baefedb8]: 4 OK 
Namespace completed.S[0x55c6baefedb8]: * LIST (\Noselect) "/" 
""S[0x55c6baefedb8]: 5 OK List completed.S[0x55c6baefedb8]: 6 NO Mailbox 
doesn't exist: (null)S[0x55c6baefedb8]: * BYE Logging out[And Session Stops] 
And this is a session with a working Activesync installation (sogo 
4.0.1.20180806-1.el7.centos on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability 
completed.S[0x55c14c282830]: * ID ("name" "Dovecot")S[0x55c14c282830]: 3 OK ID 
completed.S[0x55c14c282830]: * LIST (\Noselect) "/" ""S[0x55c14c282830]: 4 OK 
List completed.S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" 
TrashS[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" 
SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" 
DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" 
ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" 
PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 
OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" 
"/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace 
completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my 
sogo server are dedicated vm, could I solve my problem upgrading my 
installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 
Thomas Führer  ha scritto:Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 With sogo-tool everything seems ok. On another system,same version, search is 
working fine. Are there settings related to dovecot that I can play with? 
Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
 ha scritto:
Hi Riccardo,
attached is a patch for the inline image problem.
 
I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:
 
   sogo-tool -v manage-eas listdevices janedoe
   sogo-tool -v manage-eas listfolders janedoe androidc316986417
 
 
Cheers,
Thomas
 
Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed
 
Hi Thomas
Yes, I can test patches and I will be glad to try it.
 
With SOGoEASDebugEnabled = YES In the logs I have:
 
http://www.microsoft.com/";>

 
  Mailbox
  
   
    Email
    0
    pierfau
   
  
  
   
    2
    1048576
   
   1
   
   
   0-49
  
 

 
Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> 
could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: 
{RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: 
(null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: 
(null)"; result = 0; }
Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS 
- response for device 9EFD993C7C1E8054: 
http://www.microsoft.com/";>

 1
 
  
   1
   0-0
   0
  
 

 
I tested search in another another system and it works.
Could it be the Mailbox doesn't exist: (null) part in the log?
 
 
Il giorno ven 9 nov 2018, 15:41 Thomas Führer  ha scritto:
Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for " ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition to test a patch? Do you compile from source?
I could send you a patch which should improve the handling of inline images. It 
would be great if you could help to test the patch.

Cheers,
Thomas

Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)

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

2018-11-19 Thread Riccardo Bicelli
;>>> 15233 15232 15230 15229 15228 15225 15218 15217 15182 15153 15120 15119
>>>> 15118 15117 15068 15028 15027 14975 14970 14964 14961 14954 14953 14949
>>>> 14939 14935 14934 14921 14920 14919 14918 14915 14913 14912 14909 14893
>>>> 14892 14826 14825 14824 14823 14774 14752 14707 14698 14682 14671 14657
>>>> 14651 14650 14642 14641 14640 14639 14633 14632 14629 14628 14623 14617
>>>> 14615 14608 14590 14589 14588 14550 14549 14548 14542 14522 14488 14472
>>>> 14467 14466 14465 14463 14458 14447 14430 14429 14412 14411 14410 14409
>>>> 14405 14404 14401 14397 14395 14394 14386 14382 14380 14378 14374 14342
>>>> 14341 14340 14323 14320 14319 14318 14315 14314 14313 14312 14311 14297
>>>> 14296 14286 14284 14282 14279 14242 14200 14164 14165 14153 14150 14149
>>>> 14141 14135 14072 14056 13988 13972 13948 13897 13856 13827 13656 13654
>>>> 13649 13648 13633 13625 13608 13601 13582 13535 13511 13415 13386 13375
>>>> 13365 13345 13342 13321 13319 13317 13310 13287 13238 13173 13132 13095
>>>> 13050 13022 13016 12954 12925 12903 12875 12802 12794 12780 12771 12770
>>>> 12759 12752 12749 12745 12730 12723 12700 12699 12677 12675 12629 12625
>>>> 12586 12582 12581 12427 12401 12391 12339 12338 12287 12243 12227 12179
>>>> 12178 12112 12111 12110 12069 12063 12044 12000 11938 11935 11931 11925
>>>> 11924 11899 11882 11778 11763 11702 11696 11585 11581 11579 11551 11487
>>>> 11475 11438 11398 11397 11378 11298 11274 11247 11141 1 11107 11067
>>>> 11020 11019 10874 10796 10670 10669 10583 10581 10574 10440 10392 10381
>>>> 10358 10308 10242 10235 10180 10068 10067 9935 9933 9923 9908 9907 9905
>>>> 9883 9713 9712 9465 9446 9440 9390 9355 9328 9277 9270 9239 9143 9142 9104
>>>> 9083 9082 8955 8886 8883 8875 8863 8850 8805 8804 8803 8802 8801 8799 8798
>>>> 8797 8796 8795 8756 8755 8719 8715 8688 8663 8661 8659 8658 8606 8605 8585
>>>> 8543 8539 8525 8523 8522 8520 8519 8467 8464 8443 8438 8435 8434 8421 8407
>>>> 8398 8389 8385 8381 8303 8253 8250 8195 8192 8073 8061 8047 7974 7932 7931
>>>> 7882 7800 7757 7722 7716 7692 7672
>>>> 1 OK Sort completed (0.103 secs).
>>>>
>>>> I tried also moving sogo to a CentOS 7.5 machine and the problem
>>>> persists.
>>>>
>>>> Thanks
>>>>
>>>> Il giorno sab 17 nov 2018 alle ore 09:57 Thomas Führer 
>>>> ha scritto:
>>>>
>>>>> Hi Riccardo,
>>>>> strange that there is no "UID SEARCH" in you log. You could try
>>>>> following commads and compare working with non-working env.
>>>>>
>>>>> telnet localhost 143
>>>>> Trying ::1...
>>>>> Connected to localhost.
>>>>> Escape character is '^]'.
>>>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
>>>>> 1 login  
>>>>>
>>>>> 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>>>> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
>>>>> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
>>>>> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN
>>>>> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk]
>>>>> Logged in
>>>>>
>>>>> 1 select inbox
>>>>>
>>>>> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
>>>>> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
>>>>> $Forwarded \*)] Flags permitted.
>>>>> * 23 EXISTS
>>>>> * 0 RECENT
>>>>> * OK [UIDVALIDITY 1509265452] UIDs valid
>>>>> * OK [UIDNEXT 2147] Predicted next UID
>>>>> * OK [HIGHESTMODSEQ 5864] Highest
>>>>> 1 OK [READ-WRITE] Select completed (0.000 secs).
>>>>>
>>>>>
>>>>>
>>>>> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT ">>>> string>") (FROM ""))
>>>>>
>>>>> * SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails
>>>>> containing the search string
>>>>> 1 OK Sort completed (0.000 secs).
>>>>>
>>>>>
>>>>> 1 capability
>>>>> * CAPAB

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

2018-11-19 Thread t...@aon.at
DREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in

1 select inbox

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded \*)] 
Flags permitted.
* 23 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1509265452] UIDs valid
* OK [UIDNEXT 2147] Predicted next UID
* OK [HIGHESTMODSEQ 5864] Highest
1 OK [READ-WRITE] Select completed (0.000 secs).



1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT "") 
(FROM ""))

* SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails containing the 
search string
1 OK Sort completed (0.000 secs).


1 capability
* CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk
1 OK Capability completed.




Regards,
Thomas
Am Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 Hi,searching in Web UI is fine, below a transcript of IMAP session of web ui 
search: S[0x55c6babe5078]: 2 OK Capability completed.S[0x55c6babe5078]: * ID 
("name" "Dovecot")S[0x55c6babe5078]: 3 OK ID completed.S[0x55c6babe5078]: * 
NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" 
"/"))S[0x55c6babe5078]: 4 OK Namespace completed.S[0x55c6babe5078]: * LIST 
(\Noselect) "/" ""S[0x55c6babe5078]: 5 OK List completed.[And session goes 
on...] Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9): 
S[0x55c6baefedb8]: 2 OK Capability completed.S[0x55c6baefedb8]: * ID ("name" 
"Dovecot")S[0x55c6baefedb8]: 3 OK ID completed.S[0x55c6baefedb8]: * NAMESPACE 
(("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c6baefedb8]: 4 OK 
Namespace completed.S[0x55c6baefedb8]: * LIST (\Noselect) "/" 
""S[0x55c6baefedb8]: 5 OK List completed.S[0x55c6baefedb8]: 6 NO Mailbox 
doesn't exist: (null)S[0x55c6baefedb8]: * BYE Logging out[And Session Stops] 
And this is a session with a working Activesync installation (sogo 
4.0.1.20180806-1.el7.centos on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability 
completed.S[0x55c14c282830]: * ID ("name" "Dovecot")S[0x55c14c282830]: 3 OK ID 
completed.S[0x55c14c282830]: * LIST (\Noselect) "/" ""S[0x55c14c282830]: 4 OK 
List completed.S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" 
TrashS[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" 
SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" 
DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" 
ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" 
PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 
OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" 
"/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace 
completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my 
sogo server are dedicated vm, could I solve my problem upgrading my 
installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 
Thomas Führer  ha scritto:Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 With sogo-tool everything seems ok. On another system,same version, search is 
working fine. Are there settings related to dovecot that I can play with? 
Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
 ha scritto:
Hi Riccardo,
attached is a patch for the inline image problem.
 
I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:
 
   sogo-tool -v manage-eas listdevices janedoe
   sogo-tool -v manage-eas listfolders janedoe androidc316986417
 
 
Cheers,
Thomas
 
Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed
 
Hi Thomas
Yes, I can test patches and I will be glad to try it.
 
With SOGoEASDebugEnabled = YES In

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

2018-11-19 Thread Riccardo Bicelli
t; r.bice...@gmail.com)  schrieb:
>>>>
>>>>
>>>> Hi,
>>>> searching in Web UI is fine, below a transcript of IMAP session of web
>>>> ui search:
>>>>
>>>> S[0x55c6babe5078]: 2 OK Capability completed.
>>>> S[0x55c6babe5078]: * ID ("name" "Dovecot")
>>>> S[0x55c6babe5078]: 3 OK ID completed.
>>>> S[0x55c6babe5078]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>>>> (("Public/" "/"))
>>>> S[0x55c6babe5078]: 4 OK Namespace completed.
>>>> S[0x55c6babe5078]: * LIST (\Noselect) "/" ""
>>>> S[0x55c6babe5078]: 5 OK List completed.
>>>> [And session goes on...]
>>>>
>>>> Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9):
>>>>
>>>> S[0x55c6baefedb8]: 2 OK Capability completed.
>>>> S[0x55c6baefedb8]: * ID ("name" "Dovecot")
>>>> S[0x55c6baefedb8]: 3 OK ID completed.
>>>> S[0x55c6baefedb8]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>>>> (("Public/" "/"))
>>>> S[0x55c6baefedb8]: 4 OK Namespace completed.
>>>> S[0x55c6baefedb8]: * LIST (\Noselect) "/" ""
>>>> S[0x55c6baefedb8]: 5 OK List completed.
>>>> S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null)
>>>> S[0x55c6baefedb8]: * BYE Logging out
>>>> [And Session Stops]
>>>>
>>>> And this is a session with a working Activesync installation (sogo
>>>> *4.0.1.20180806-1.el7.centos *on CentOS 7.5)
>>>> S[0x55c14c282830]: 2 OK Capability completed.
>>>> S[0x55c14c282830]: * ID ("name" "Dovecot")
>>>> S[0x55c14c282830]: 3 OK ID completed.
>>>> S[0x55c14c282830]: * LIST (\Noselect) "/" ""
>>>> S[0x55c14c282830]: 4 OK List completed.
>>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" Trash
>>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" Sent
>>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" Drafts
>>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" Archive
>>>> S[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" Public
>>>> S[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOX
>>>> S[0x55c14c282830]: 5 OK List completed.
>>>> S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>>>> (("Public/" "/"))
>>>> S[0x55c14c282830]: 6 OK Namespace completed.
>>>> S[0x55c14c282830]: 7 OK List completed.
>>>> [And Search goes on]
>>>>
>>>> Since my sogo server are dedicated vm, could I solve my problem
>>>> upgrading my installation to CentOS 7.5?
>>>>
>>>> Cheers!
>>>>
>>>> Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer 
>>>> ha scritto:
>>>>
>>>>> Hi Riccardo,
>>>>> Can you  search mails via the WebUI?
>>>>> If there is no obvious difference between the environments you could
>>>>> set
>>>>> ImapDebugEnabled = YES to see the IMAP commands sent and their results.
>>>>> Cheers,
>>>>> Thomas
>>>>>
>>>>>
>>>>> Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" (
>>>>> r.bice...@gmail.com)  schrieb:
>>>>>
>>>>>
>>>>> With sogo-tool everything seems ok.
>>>>>
>>>>> On another system,same version, search is working fine. Are there
>>>>> settings related to dovecot that I can play with?
>>>>>
>>>>> Cheers
>>>>>
>>>>>
>>>>>
>>>>> Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" <
>>>>> users@sogo.nu> ha scritto:
>>>>>
>>>>>> Hi Riccardo,
>>>>>>
>>>>>> attached is a patch for the inline image problem.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I don’t think that "Mailbox doesn't exist: (null)" is causing a
>>>>>> problem, but you can investigate with sogo-tool:
>>>>>>
>>>>>>
>>>>>>
>>>>>>sogo-tool -v manage-eas listdevices janedoe
>>>>>>
>>>>>>sogo-tool -v manage-eas listfolders janedoe androidc316986417
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Thomas
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Von:* users-requ...@sogo.nu  *Im Auftrag von
>>>>>> *Riccardo Bicelli
>>>>>> *Gesendet:* Montag, 12. November 2018 10:19
>>>>>> *An:* users@sogo.nu
>>>>>> *Betreff:* Re: [SOGo] ActiveSync: Search no longer shows more
>>>>>> messages than "Sync Period" and inline images are not displayed
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Thomas
>>>>>>
>>>>>> Yes, I can test patches and I will be glad to try it.
>>>>>>
>>>>>>
>>>>>>
>>>>>> With SOGoEASDebugEnabled = YES In the logs I have:
>>>>>>
>>>>>>
>>>>>>
>>>>>> >>>>> http://www.microsoft.com/";>
>>>>>>
>>>>>> 
>>>>>>
>>>>>>  
>>>>>>
>>>>>>   Mailbox
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>> Email
>>>>>>
>>>>>> 0
>>>>>>
>>>>>> pierfau
>>>>>>
>>>>>>
>>>>>>
>>>>>>   
>>>>>>
>>>>>>   
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2
>>>>>>
>>>>>> 1048576
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>> xmlns="RightsManagement:">1
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>0-49
>>>>>>
>>>>>>   
>>>>>>
>>>>>>  
>>>>>>
>>>>>> 
>>>>>>
>>>>>>
>>>>>>
>>>>>> Nov 12 10:06:30 sogod [25771]: [ERROR]
>>>>>> <0x0x55ec61d7b458[NGImap4Connection]> could not select URL:
>>>>>> imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: {RawResponse =
>>>>>> "{ResponseResult = {description = \"Mailbox doesn't exist: (null)\"; 
>>>>>> result
>>>>>> = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: (null)"; result 
>>>>>> =
>>>>>> 0; }
>>>>>>
>>>>>> Nov 12 10:06:30 sogod [25771]:
>>>>>> <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS - response for device
>>>>>> 9EFD993C7C1E8054: 
>>>>>>
>>>>>> >>>>> http://www.microsoft.com/";>
>>>>>>
>>>>>> 
>>>>>>
>>>>>>  1
>>>>>>
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>
>>>>>>1
>>>>>>
>>>>>>0-0
>>>>>>
>>>>>>0
>>>>>>
>>>>>>   
>>>>>>
>>>>>>  
>>>>>>
>>>>>> 
>>>>>>
>>>>>>
>>>>>>
>>>>>> I tested search in another another system and it works.
>>>>>>
>>>>>> Could it be the Mailbox doesn't exist: (null) part in the log?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Il giorno ven 9 nov 2018, 15:41 Thomas Führer  ha
>>>>>> scritto:
>>>>>>
>>>>>> Hi Riccardo,
>>>>>> you could test the search with SOGoEASDebugEnabled = YES . This
>>>>>> should give you more details in sogo.log when you search for mail 
>>>>>> messages
>>>>>> on your phone.
>>>>>> Search for " ..." in sogo.log.
>>>>>>
>>>>>> Regarding the problem with inline images ...
>>>>>> Are you in the possition to test a patch? Do you compile from source?
>>>>>> I could send you a patch which should improve the handling of inline
>>>>>> images. It would be great if you could help to test the patch.
>>>>>>
>>>>>> Cheers,
>>>>>> Thomas
>>>>>>
>>>>>> Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" (
>>>>>> r.bice...@gmail.com)  schrieb:
>>>>>>
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I'm aware that Activesync on mobile devices  synchronizes 1 month max
>>>>>> of messages. But I remember that some time ago, when a I did a search, it
>>>>>> returned older messages also.
>>>>>>
>>>>>> Am I remembering wrong? Is annoying for mobile users not haveing the
>>>>>> ability to access old messages.
>>>>>>
>>>>>>
>>>>>>
>>>>>> I'm also facing a problem with Outlook for Android/iOS, gmail app and
>>>>>> apple mail: when a message has inline images, instead of image a
>>>>>> placeholder is displayed. If the image is attached it is ok to download 
>>>>>> and
>>>>>> display it.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Riccardo
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> users@sogo.nu
>>>>>> https://inverse.ca/sogo/lists
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> users@sogo.nu
>>>>>> https://inverse.ca/sogo/lists
>>>>>>
>>>>>> --
>>>>>> users@sogo.nu
>>>>>> https://inverse.ca/sogo/lists
>>>>>> --
>>>>>> users@sogo.nu
>>>>>> https://inverse.ca/sogo/lists
>>>>>>
>>>>> --
>>>>> users@sogo.nu
>>>>> https://inverse.ca/sogo/lists
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> users@sogo.nu
>>>>> https://inverse.ca/sogo/lists
>>>>>
>>>> --
>>>> users@sogo.nu
>>>> https://inverse.ca/sogo/lists
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> users@sogo.nu
>>>> https://inverse.ca/sogo/lists
>>>>
>>> --
>>> users@sogo.nu
>>> https://inverse.ca/sogo/lists
>>> --
>>> users@sogo.nu
>>> https://inverse.ca/sogo/lists
>>>
>> --
>> users@sogo.nu
>> https://inverse.ca/sogo/lists
>> --
>> users@sogo.nu
>> https://inverse.ca/sogo/lists
>>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
>
>
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

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

2018-11-18 Thread t...@aon.at
amstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 Hi,searching in Web UI is fine, below a transcript of IMAP session of web ui 
search: S[0x55c6babe5078]: 2 OK Capability completed.S[0x55c6babe5078]: * ID 
("name" "Dovecot")S[0x55c6babe5078]: 3 OK ID completed.S[0x55c6babe5078]: * 
NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" 
"/"))S[0x55c6babe5078]: 4 OK Namespace completed.S[0x55c6babe5078]: * LIST 
(\Noselect) "/" ""S[0x55c6babe5078]: 5 OK List completed.[And session goes 
on...] Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9): 
S[0x55c6baefedb8]: 2 OK Capability completed.S[0x55c6baefedb8]: * ID ("name" 
"Dovecot")S[0x55c6baefedb8]: 3 OK ID completed.S[0x55c6baefedb8]: * NAMESPACE 
(("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c6baefedb8]: 4 OK 
Namespace completed.S[0x55c6baefedb8]: * LIST (\Noselect) "/" 
""S[0x55c6baefedb8]: 5 OK List completed.S[0x55c6baefedb8]: 6 NO Mailbox 
doesn't exist: (null)S[0x55c6baefedb8]: * BYE Logging out[And Session Stops] 
And this is a session with a working Activesync installation (sogo 
4.0.1.20180806-1.el7.centos on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability 
completed.S[0x55c14c282830]: * ID ("name" "Dovecot")S[0x55c14c282830]: 3 OK ID 
completed.S[0x55c14c282830]: * LIST (\Noselect) "/" ""S[0x55c14c282830]: 4 OK 
List completed.S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" 
TrashS[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" 
SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" 
DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" 
ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" 
PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 
OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" 
"/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace 
completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my 
sogo server are dedicated vm, could I solve my problem upgrading my 
installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 
Thomas Führer  ha scritto:Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 With sogo-tool everything seems ok. On another system,same version, search is 
working fine. Are there settings related to dovecot that I can play with? 
Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
 ha scritto:
Hi Riccardo,
attached is a patch for the inline image problem.
 
I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:
 
   sogo-tool -v manage-eas listdevices janedoe
   sogo-tool -v manage-eas listfolders janedoe androidc316986417
 
 
Cheers,
Thomas
 
Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed
 
Hi Thomas
Yes, I can test patches and I will be glad to try it.
 
With SOGoEASDebugEnabled = YES In the logs I have:
 
http://www.microsoft.com/";>

 
  Mailbox
  
   
    Email
    0
    pierfau
   
  
  
   
    2
    1048576
   
   1
   
   
   0-49
  
 

 
Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> 
could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: 
{RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: 
(null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: 
(null)"; result = 0; }
Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS 
- response for device 9EFD993C7C1E8054: 
http://www.microsoft.com/";>

 1
 
  
   1
   0-0
   0
  
 

 
I tested search in another another system and it works.
Could it be the Mailbox doesn't exist: (null) part in the log?
 
 
Il giorno ven 9 nov 2018, 15:41 Thomas Führer  ha scritto:
Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for " ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition 

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

2018-11-18 Thread Riccardo Bicelli
7;.
>>> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>> IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
>>> 1 login  
>>>
>>> 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
>>> IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
>>> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
>>> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN
>>> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk]
>>> Logged in
>>>
>>> 1 select inbox
>>>
>>> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
>>> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
>>> $Forwarded \*)] Flags permitted.
>>> * 23 EXISTS
>>> * 0 RECENT
>>> * OK [UIDVALIDITY 1509265452] UIDs valid
>>> * OK [UIDNEXT 2147] Predicted next UID
>>> * OK [HIGHESTMODSEQ 5864] Highest
>>> 1 OK [READ-WRITE] Select completed (0.000 secs).
>>>
>>>
>>>
>>> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT ">> string>") (FROM ""))
>>>
>>> * SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails containing
>>> the search string
>>> 1 OK Sort completed (0.000 secs).
>>>
>>>
>>> 1 capability
>>> * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
>>> SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
>>> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
>>> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN
>>> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk
>>> 1 OK Capability completed.
>>>
>>>
>>>
>>>
>>> Regards,
>>> Thomas
>>> Am Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" (
>>> r.bice...@gmail.com)  schrieb:
>>>
>>>
>>> Hi,
>>> searching in Web UI is fine, below a transcript of IMAP session of web
>>> ui search:
>>>
>>> S[0x55c6babe5078]: 2 OK Capability completed.
>>> S[0x55c6babe5078]: * ID ("name" "Dovecot")
>>> S[0x55c6babe5078]: 3 OK ID completed.
>>> S[0x55c6babe5078]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>>> (("Public/" "/"))
>>> S[0x55c6babe5078]: 4 OK Namespace completed.
>>> S[0x55c6babe5078]: * LIST (\Noselect) "/" ""
>>> S[0x55c6babe5078]: 5 OK List completed.
>>> [And session goes on...]
>>>
>>> Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9):
>>>
>>> S[0x55c6baefedb8]: 2 OK Capability completed.
>>> S[0x55c6baefedb8]: * ID ("name" "Dovecot")
>>> S[0x55c6baefedb8]: 3 OK ID completed.
>>> S[0x55c6baefedb8]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>>> (("Public/" "/"))
>>> S[0x55c6baefedb8]: 4 OK Namespace completed.
>>> S[0x55c6baefedb8]: * LIST (\Noselect) "/" ""
>>> S[0x55c6baefedb8]: 5 OK List completed.
>>> S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null)
>>> S[0x55c6baefedb8]: * BYE Logging out
>>> [And Session Stops]
>>>
>>> And this is a session with a working Activesync installation (sogo
>>> *4.0.1.20180806-1.el7.centos *on CentOS 7.5)
>>> S[0x55c14c282830]: 2 OK Capability completed.
>>> S[0x55c14c282830]: * ID ("name" "Dovecot")
>>> S[0x55c14c282830]: 3 OK ID completed.
>>> S[0x55c14c282830]: * LIST (\Noselect) "/" ""
>>> S[0x55c14c282830]: 4 OK List completed.
>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" Trash
>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" Sent
>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" Drafts
>>> S[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" Archive
>>> S[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" Public
>>> S[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOX
>>> S[0x55c14c282830]: 5 OK List completed.
>>> S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>>> (("Public/" "/")

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

2018-11-18 Thread t...@aon.at
N/" "/")) (("Public/" "/"))S[0x55c6baefedb8]: 4 OK Namespace completed.S[0x55c6baefedb8]: * LIST (\Noselect) "/" ""S[0x55c6baefedb8]: 5 OK List completed.S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null)S[0x55c6baefedb8]: * BYE Logging out[And Session Stops] And this is a session with a working Activesync installation (sogo 4.0.1.20180806-1.el7.centos on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability completed.S[0x55c14c282830]: * ID ("name" "Dovecot")S[0x55c14c282830]: 3 OK ID completed.S[0x55c14c282830]: * LIST (\Noselect) "/" ""S[0x55c14c282830]: 4 OK List completed.S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" TrashS[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my sogo server are dedicated vm, could I solve my problem upgrading my installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer <users@sogo.nu> ha scritto:Hi Riccardo,Can you  search mails via the WebUI?If there is no obvious difference between the environments you could setImapDebugEnabled = YES to see the IMAP commands sent and their results.Cheers,ThomasAm Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" (r.bice...@gmail.com) <users@sogo.nu> schrieb: With sogo-tool everything seems ok. On another system,same version, search is working fine. Are there settings related to dovecot that I can play with? Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" <users@sogo.nu> ha scritto:Hi Riccardo,attached is a patch for the inline image problem. I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but you can investigate with sogo-tool:    sogo-tool -v manage-eas listdevices janedoe   sogo-tool -v manage-eas listfolders janedoe androidc316986417  Cheers,Thomas Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von Riccardo BicelliGesendet: Montag, 12. November 2018 10:19An: users@sogo.nuBetreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync Period" and inline images are not displayed Hi ThomasYes, I can test patches and I will be glad to try it. With SOGoEASDebugEnabled = YES In the logs I have: http://www.microsoft.com/">   Mailbox         Email    0    pierfau              2    1048576      1         0-49    Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: {RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: (null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: (null)"; result = 0; }Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS - response for device 9EFD993C7C1E8054: http://www.microsoft.com/"> 1      1   0-0   0    I tested search in another another system and it works.Could it be the Mailbox doesn't exist: (null) part in the log?  Il giorno ven 9 nov 2018, 15:41 Thomas Führer <users@sogo.nu> ha scritto:Hi Riccardo,you could test the search with SOGoEASDebugEnabled = YES . This should give you more details in sogo.log when you search for mail messages on your phone.Search for " ..." in sogo.log.Regarding the problem with inline images ...Are you in the possition to test a patch? Do you compile from source?I could send you a patch which should improve the handling of inline images. It would be great if you could help to test the patch.Cheers,ThomasAm Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" (r.bice...@gmail.com) <users@sogo.nu> schrieb: Hello,I'm aware that Activesync on mobile devices  synchronizes 1 month max of messages. But I remember that some time ago, when a I did a search, it returned older messages also.Am I remembering wrong? Is annoying for mobile users not haveing the ability to access old messages. I'm also facing a problem with Outlook for Android/iOS, gmail app and apple mail: when a message has inline images, instead of image a placeholder is displayed. If the image is attached it is ok to download and display it. Cheers,Riccardo --users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists --users@sogo.nuhttps://inverse.ca/sogo/lists--users@sogo.nuhttps://inverse.ca/sogo/lists 
-- users@sogo.nuhttps://inverse.ca/sogo/lists
-- users@sogo.nuhttps://inverse.ca/sogo/lists
-- users@sogo.nuhttps://inverse.ca/sogo/lists
-- users@sogo.nuhttps://inverse.ca/sogo/lists
-- users@sogo.nuhttps://inverse.ca/sogo/lists

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

2018-11-18 Thread Riccardo Bicelli
completed.
>>
>>
>>
>>
>> Regards,
>> Thomas
>> Am Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" (
>> r.bice...@gmail.com)  schrieb:
>>
>>
>> Hi,
>> searching in Web UI is fine, below a transcript of IMAP session of web ui
>> search:
>>
>> S[0x55c6babe5078]: 2 OK Capability completed.
>> S[0x55c6babe5078]: * ID ("name" "Dovecot")
>> S[0x55c6babe5078]: 3 OK ID completed.
>> S[0x55c6babe5078]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>> (("Public/" "/"))
>> S[0x55c6babe5078]: 4 OK Namespace completed.
>> S[0x55c6babe5078]: * LIST (\Noselect) "/" ""
>> S[0x55c6babe5078]: 5 OK List completed.
>> [And session goes on...]
>>
>> Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9):
>>
>> S[0x55c6baefedb8]: 2 OK Capability completed.
>> S[0x55c6baefedb8]: * ID ("name" "Dovecot")
>> S[0x55c6baefedb8]: 3 OK ID completed.
>> S[0x55c6baefedb8]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>> (("Public/" "/"))
>> S[0x55c6baefedb8]: 4 OK Namespace completed.
>> S[0x55c6baefedb8]: * LIST (\Noselect) "/" ""
>> S[0x55c6baefedb8]: 5 OK List completed.
>> S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null)
>> S[0x55c6baefedb8]: * BYE Logging out
>> [And Session Stops]
>>
>> And this is a session with a working Activesync installation (sogo
>> *4.0.1.20180806-1.el7.centos *on CentOS 7.5)
>> S[0x55c14c282830]: 2 OK Capability completed.
>> S[0x55c14c282830]: * ID ("name" "Dovecot")
>> S[0x55c14c282830]: 3 OK ID completed.
>> S[0x55c14c282830]: * LIST (\Noselect) "/" ""
>> S[0x55c14c282830]: 4 OK List completed.
>> S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" Trash
>> S[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" Sent
>> S[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" Drafts
>> S[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" Archive
>> S[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" Public
>> S[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOX
>> S[0x55c14c282830]: 5 OK List completed.
>> S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
>> (("Public/" "/"))
>> S[0x55c14c282830]: 6 OK Namespace completed.
>> S[0x55c14c282830]: 7 OK List completed.
>> [And Search goes on]
>>
>> Since my sogo server are dedicated vm, could I solve my problem upgrading
>> my installation to CentOS 7.5?
>>
>> Cheers!
>>
>> Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer 
>> ha scritto:
>>
>>> Hi Riccardo,
>>> Can you  search mails via the WebUI?
>>> If there is no obvious difference between the environments you could set
>>> ImapDebugEnabled = YES to see the IMAP commands sent and their results.
>>> Cheers,
>>> Thomas
>>>
>>>
>>> Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" (
>>> r.bice...@gmail.com)  schrieb:
>>>
>>>
>>> With sogo-tool everything seems ok.
>>>
>>> On another system,same version, search is working fine. Are there
>>> settings related to dovecot that I can play with?
>>>
>>> Cheers
>>>
>>>
>>>
>>> Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
>>> ha scritto:
>>>
>>>> Hi Riccardo,
>>>>
>>>> attached is a patch for the inline image problem.
>>>>
>>>>
>>>>
>>>> I don’t think that "Mailbox doesn't exist: (null)" is causing a
>>>> problem, but you can investigate with sogo-tool:
>>>>
>>>>
>>>>
>>>>sogo-tool -v manage-eas listdevices janedoe
>>>>
>>>>sogo-tool -v manage-eas listfolders janedoe androidc316986417
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Thomas
>>>>
>>>>
>>>>
>>>> *Von:* users-requ...@sogo.nu  *Im Auftrag von 
>>>> *Riccardo
>>>> Bicelli
>>>> *Gesendet:* Montag, 12. November 2018 10:19
>>>> *An:* users@sogo.nu
>>>&g

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

2018-11-17 Thread t...@aon.at
BLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in1 select inbox* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded \*)] Flags permitted.* 23 EXISTS* 0 RECENT* OK [UIDVALIDITY 1509265452] UIDs valid* OK [UIDNEXT 2147] Predicted next UID* OK [HIGHESTMODSEQ 5864] Highest1 OK [READ-WRITE] Select completed (0.000 secs).1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT "") (FROM ""))* SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails containing the search string1 OK Sort completed (0.000 secs).1 capability* CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk1 OK Capability completed.Regards,ThomasAm Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" (r.bice...@gmail.com) <users@sogo.nu> schrieb: Hi,searching in Web UI is fine, below a transcript of IMAP session of web ui search: S[0x55c6babe5078]: 2 OK Capability completed.S[0x55c6babe5078]: * ID ("name" "Dovecot")S[0x55c6babe5078]: 3 OK ID completed.S[0x55c6babe5078]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c6babe5078]: 4 OK Namespace completed.S[0x55c6babe5078]: * LIST (\Noselect) "/" ""S[0x55c6babe5078]: 5 OK List completed.[And session goes on...] Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9): S[0x55c6baefedb8]: 2 OK Capability completed.S[0x55c6baefedb8]: * ID ("name" "Dovecot")S[0x55c6baefedb8]: 3 OK ID completed.S[0x55c6baefedb8]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c6baefedb8]: 4 OK Namespace completed.S[0x55c6baefedb8]: * LIST (\Noselect) "/" ""S[0x55c6baefedb8]: 5 OK List completed.S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null)S[0x55c6baefedb8]: * BYE Logging out[And Session Stops] And this is a session with a working Activesync installation (sogo 4.0.1.20180806-1.el7.centos on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability completed.S[0x55c14c282830]: * ID ("name" "Dovecot")S[0x55c14c282830]: 3 OK ID completed.S[0x55c14c282830]: * LIST (\Noselect) "/" ""S[0x55c14c282830]: 4 OK List completed.S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" TrashS[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my sogo server are dedicated vm, could I solve my problem upgrading my installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer <users@sogo.nu> ha scritto:Hi Riccardo,Can you  search mails via the WebUI?If there is no obvious difference between the environments you could setImapDebugEnabled = YES to see the IMAP commands sent and their results.Cheers,ThomasAm Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" (r.bice...@gmail.com) <users@sogo.nu> schrieb: With sogo-tool everything seems ok. On another system,same version, search is working fine. Are there settings related to dovecot that I can play with? Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" <users@sogo.nu> ha scritto:Hi Riccardo,attached is a patch for the inline image problem. I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but you can investigate with sogo-tool:    sogo-tool -v manage-eas listdevices janedoe   sogo-tool -v manage-eas listfolders janedoe androidc316986417  Cheers,Thomas Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von Riccardo BicelliGesendet: Montag, 12. November 2018 10:19An: users@sogo.nuBetreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync Period" 

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

2018-11-17 Thread Riccardo Bicelli
; LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN
> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk]
> Logged in
>
> 1 select inbox
>
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded
> \*)] Flags permitted.
> * 23 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1509265452] UIDs valid
> * OK [UIDNEXT 2147] Predicted next UID
> * OK [HIGHESTMODSEQ 5864] Highest
> 1 OK [READ-WRITE] Select completed (0.000 secs).
>
>
>
> 1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT " string>") (FROM ""))
>
> * SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails containing
> the search string
> 1 OK Sort completed (0.000 secs).
>
>
> 1 capability
> * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
> SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
> MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
> LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN
> CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk
> 1 OK Capability completed.
>
>
>
>
> Regards,
> Thomas
> Am Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" (
> r.bice...@gmail.com)  schrieb:
>
>
> Hi,
> searching in Web UI is fine, below a transcript of IMAP session of web ui
> search:
>
> S[0x55c6babe5078]: 2 OK Capability completed.
> S[0x55c6babe5078]: * ID ("name" "Dovecot")
> S[0x55c6babe5078]: 3 OK ID completed.
> S[0x55c6babe5078]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
> (("Public/" "/"))
> S[0x55c6babe5078]: 4 OK Namespace completed.
> S[0x55c6babe5078]: * LIST (\Noselect) "/" ""
> S[0x55c6babe5078]: 5 OK List completed.
> [And session goes on...]
>
> Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9):
>
> S[0x55c6baefedb8]: 2 OK Capability completed.
> S[0x55c6baefedb8]: * ID ("name" "Dovecot")
> S[0x55c6baefedb8]: 3 OK ID completed.
> S[0x55c6baefedb8]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
> (("Public/" "/"))
> S[0x55c6baefedb8]: 4 OK Namespace completed.
> S[0x55c6baefedb8]: * LIST (\Noselect) "/" ""
> S[0x55c6baefedb8]: 5 OK List completed.
> S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null)
> S[0x55c6baefedb8]: * BYE Logging out
> [And Session Stops]
>
> And this is a session with a working Activesync installation (sogo
> *4.0.1.20180806-1.el7.centos *on CentOS 7.5)
> S[0x55c14c282830]: 2 OK Capability completed.
> S[0x55c14c282830]: * ID ("name" "Dovecot")
> S[0x55c14c282830]: 3 OK ID completed.
> S[0x55c14c282830]: * LIST (\Noselect) "/" ""
> S[0x55c14c282830]: 4 OK List completed.
> S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" Trash
> S[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" Sent
> S[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" Drafts
> S[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" Archive
> S[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" Public
> S[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOX
> S[0x55c14c282830]: 5 OK List completed.
> S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
> (("Public/" "/"))
> S[0x55c14c282830]: 6 OK Namespace completed.
> S[0x55c14c282830]: 7 OK List completed.
> [And Search goes on]
>
> Since my sogo server are dedicated vm, could I solve my problem upgrading
> my installation to CentOS 7.5?
>
> Cheers!
>
> Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer  ha
> scritto:
>
>> Hi Riccardo,
>> Can you  search mails via the WebUI?
>> If there is no obvious difference between the environments you could set
>> ImapDebugEnabled = YES to see the IMAP commands sent and their results.
>> Cheers,
>> Thomas
>>
>>
>> Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" (
>> r.bice...@gmail.com)  schrieb:
>>
>>
>> With sogo-tool everything seems ok.
>>
>> On another system,same version, search is working fine. Are there
>> settings related to dovecot that I can play with?
>>
>> Cheers
>>
>>
>>
>> Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
>> ha scritto:
>>
>>>

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

2018-11-17 Thread t...@aon.at

Hi Riccardo,
strange that there is no "UID SEARCH" in you log. You could try  following 
commads and compare working with non-working env.

telnet localhost 143
Trying ::1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 
STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
1 login  

1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in

1 select inbox

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded \*)] 
Flags permitted.
* 23 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1509265452] UIDs valid
* OK [UIDNEXT 2147] Predicted next UID
* OK [HIGHESTMODSEQ 5864] Highest
1 OK [READ-WRITE] Select completed (0.000 secs).



1 UID SORT (REVERSE ARRIVAL) UTF-8 (NOT DELETED OR (SUBJECT "") 
(FROM ""))

* SORT 2146 2145 2140 2126 2124 2115 2097  <<<< UIDs of mails containing the 
search string
1 OK Sort completed (0.000 secs).


1 capability
* CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT 
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND 
URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED 
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH 
LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk
1 OK Capability completed.




Regards,
Thomas
Am Samstag, November 17, 2018 00:52 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 Hi,searching in Web UI is fine, below a transcript of IMAP session of web ui 
search: S[0x55c6babe5078]: 2 OK Capability completed.S[0x55c6babe5078]: * ID 
("name" "Dovecot")S[0x55c6babe5078]: 3 OK ID completed.S[0x55c6babe5078]: * 
NAMESPACE (("" "/")) (("shared/DOMAIN/" "/")) (("Public/" 
"/"))S[0x55c6babe5078]: 4 OK Namespace completed.S[0x55c6babe5078]: * LIST 
(\Noselect) "/" ""S[0x55c6babe5078]: 5 OK List completed.[And session goes 
on...] Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9): 
S[0x55c6baefedb8]: 2 OK Capability completed.S[0x55c6baefedb8]: * ID ("name" 
"Dovecot")S[0x55c6baefedb8]: 3 OK ID completed.S[0x55c6baefedb8]: * NAMESPACE 
(("" "/")) (("shared/DOMAIN/" "/")) (("Public/" "/"))S[0x55c6baefedb8]: 4 OK 
Namespace completed.S[0x55c6baefedb8]: * LIST (\Noselect) "/" 
""S[0x55c6baefedb8]: 5 OK List completed.S[0x55c6baefedb8]: 6 NO Mailbox 
doesn't exist: (null)S[0x55c6baefedb8]: * BYE Logging out[And Session Stops] 
And this is a session with a working Activesync installation (sogo 
4.0.1.20180806-1.el7.centos on CentOS 7.5) S[0x55c14c282830]: 2 OK Capability 
completed.S[0x55c14c282830]: * ID ("name" "Dovecot")S[0x55c14c282830]: 3 OK ID 
completed.S[0x55c14c282830]: * LIST (\Noselect) "/" ""S[0x55c14c282830]: 4 OK 
List completed.S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" 
TrashS[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" 
SentS[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" 
DraftsS[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" 
ArchiveS[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" 
PublicS[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOXS[0x55c14c282830]: 5 
OK List completed.S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" 
"/")) (("Public/" "/"))S[0x55c14c282830]: 6 OK Namespace 
completed.S[0x55c14c282830]: 7 OK List completed.[And Search goes on] Since my 
sogo server are dedicated vm, could I solve my problem upgrading my 
installation to CentOS 7.5? Cheers!  Il giorno ven 16 nov 2018 alle ore 12:06 
Thomas Führer  ha scritto:Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 With sogo-tool everything seems ok. On another system,same version, search is 
working fine. Are there settings related to dovecot that I can play with? 
Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
 ha scritto:
Hi Riccardo,
attached is a patch for the inline image problem.
 
I don’t think that "Mailbox doesn't

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

2018-11-16 Thread Riccardo Bicelli
Hi,
searching in Web UI is fine, below a transcript of IMAP session of web ui
search:

S[0x55c6babe5078]: 2 OK Capability completed.
S[0x55c6babe5078]: * ID ("name" "Dovecot")
S[0x55c6babe5078]: 3 OK ID completed.
S[0x55c6babe5078]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
(("Public/" "/"))
S[0x55c6babe5078]: 4 OK Namespace completed.
S[0x55c6babe5078]: * LIST (\Noselect) "/" ""
S[0x55c6babe5078]: 5 OK List completed.
[And session goes on...]

Searching with Activesync (sogo 4.0.4.20181114-1.centos6 on CentOS 6.9):

S[0x55c6baefedb8]: 2 OK Capability completed.
S[0x55c6baefedb8]: * ID ("name" "Dovecot")
S[0x55c6baefedb8]: 3 OK ID completed.
S[0x55c6baefedb8]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
(("Public/" "/"))
S[0x55c6baefedb8]: 4 OK Namespace completed.
S[0x55c6baefedb8]: * LIST (\Noselect) "/" ""
S[0x55c6baefedb8]: 5 OK List completed.
S[0x55c6baefedb8]: 6 NO Mailbox doesn't exist: (null)
S[0x55c6baefedb8]: * BYE Logging out
[And Session Stops]

And this is a session with a working Activesync installation (sogo
*4.0.1.20180806-1.el7.centos *on CentOS 7.5)
S[0x55c14c282830]: 2 OK Capability completed.
S[0x55c14c282830]: * ID ("name" "Dovecot")
S[0x55c14c282830]: 3 OK ID completed.
S[0x55c14c282830]: * LIST (\Noselect) "/" ""
S[0x55c14c282830]: 4 OK List completed.
S[0x55c14c282830]: * LIST (\HasNoChildren \Trash) "/" Trash
S[0x55c14c282830]: * LIST (\HasNoChildren \Sent) "/" Sent
S[0x55c14c282830]: * LIST (\HasNoChildren \Drafts) "/" Drafts
S[0x55c14c282830]: * LIST (\HasNoChildren \Archive) "/" Archive
S[0x55c14c282830]: * LIST (\Noselect \HasNoChildren) "/" Public
S[0x55c14c282830]: * LIST (\HasNoChildren) "/" INBOX
S[0x55c14c282830]: 5 OK List completed.
S[0x55c14c282830]: * NAMESPACE (("" "/")) (("shared/DOMAIN/" "/"))
(("Public/" "/"))
S[0x55c14c282830]: 6 OK Namespace completed.
S[0x55c14c282830]: 7 OK List completed.
[And Search goes on]

Since my sogo server are dedicated vm, could I solve my problem upgrading
my installation to CentOS 7.5?

Cheers!

Il giorno ven 16 nov 2018 alle ore 12:06 Thomas Führer  ha
scritto:

> Hi Riccardo,
> Can you  search mails via the WebUI?
> If there is no obvious difference between the environments you could set
> ImapDebugEnabled = YES to see the IMAP commands sent and their results.
> Cheers,
> Thomas
>
>
> Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" (
> r.bice...@gmail.com)  schrieb:
>
>
> With sogo-tool everything seems ok.
>
> On another system,same version, search is working fine. Are there settings
> related to dovecot that I can play with?
>
> Cheers
>
>
>
> Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
> ha scritto:
>
>> Hi Riccardo,
>>
>> attached is a patch for the inline image problem.
>>
>>
>>
>> I don’t think that "Mailbox doesn't exist: (null)" is causing a problem,
>> but you can investigate with sogo-tool:
>>
>>
>>
>>sogo-tool -v manage-eas listdevices janedoe
>>
>>sogo-tool -v manage-eas listfolders janedoe androidc316986417
>>
>>
>>
>>
>>
>> Cheers,
>>
>> Thomas
>>
>>
>>
>> *Von:* users-requ...@sogo.nu  *Im Auftrag von 
>> *Riccardo
>> Bicelli
>> *Gesendet:* Montag, 12. November 2018 10:19
>> *An:* users@sogo.nu
>> *Betreff:* Re: [SOGo] ActiveSync: Search no longer shows more messages
>> than "Sync Period" and inline images are not displayed
>>
>>
>>
>> Hi Thomas
>>
>> Yes, I can test patches and I will be glad to try it.
>>
>>
>>
>> With SOGoEASDebugEnabled = YES In the logs I have:
>>
>>
>>
>> > http://www.microsoft.com/";>
>>
>> 
>>
>>  
>>
>>   Mailbox
>>
>>   
>>
>>
>>
>> Email
>>
>> 0
>>
>> pierfau
>>
>>
>>
>>   
>>
>>   
>>
>>
>>
>> 2
>>
>> 1048576
>>
>>
>>
>>> xmlns="RightsManagement:">1
>>
>>
>>
>>
>>
>>0-49
>>
>>   
>>
>>  
>>
>> 
>>
>>
>>
>> Nov 12 10:06:30 sogod [25771]: [ERROR]
>> <0x0x55ec61d7b458[NGImap4Connection]> could not select URL:
>&

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

2018-11-16 Thread t...@aon.at

Hi Riccardo,
Can you  search mails via the WebUI?
If there is no obvious difference between the environments you could set
ImapDebugEnabled = YES to see the IMAP commands sent and their results.
Cheers,
Thomas


Am Donnerstag, November 15, 2018 14:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 With sogo-tool everything seems ok. On another system,same version, search is 
working fine. Are there settings related to dovecot that I can play with? 
Cheers   Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
 ha scritto:
Hi Riccardo,
attached is a patch for the inline image problem.
 
I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:
 
   sogo-tool -v manage-eas listdevices janedoe
   sogo-tool -v manage-eas listfolders janedoe androidc316986417
 
 
Cheers,
Thomas
 
Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed
 
Hi Thomas
Yes, I can test patches and I will be glad to try it.
 
With SOGoEASDebugEnabled = YES In the logs I have:
 
http://www.microsoft.com/";>

 
  Mailbox
  
   
    Email
    0
    pierfau
   
  
  
   
    2
    1048576
   
   1
   
   
   0-49
  
 

 
Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> 
could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: 
{RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: 
(null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: 
(null)"; result = 0; }
Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS 
- response for device 9EFD993C7C1E8054: 
http://www.microsoft.com/";>

 1
 
  
   1
   0-0
   0
  
 

 
I tested search in another another system and it works.
Could it be the Mailbox doesn't exist: (null) part in the log?
 
 
Il giorno ven 9 nov 2018, 15:41 Thomas Führer  ha scritto:
Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for " ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition to test a patch? Do you compile from source?
I could send you a patch which should improve the handling of inline images. It 
would be great if you could help to test the patch.

Cheers,
Thomas

Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 
Hello,
I'm aware that Activesync on mobile devices  synchronizes 1 month max of 
messages. But I remember that some time ago, when a I did a search, it returned 
older messages also.
Am I remembering wrong? Is annoying for mobile users not haveing the ability to 
access old messages.
 
I'm also facing a problem with Outlook for Android/iOS, gmail app and apple 
mail: when a message has inline images, instead of image a placeholder is 
displayed. If the image is attached it is ok to download and display it.
 
Cheers,
Riccardo
 
--
users@sogo.nu
https://inverse.ca/sogo/lists



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


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

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

2018-11-15 Thread Riccardo Bicelli
With sogo-tool everything seems ok.

On another system,same version, search is working fine. Are there settings
related to dovecot that I can play with?

Cheers



Il giorno mar 13 nov 2018 alle ore 08:16 "Thomas Fuehrer" 
ha scritto:

> Hi Riccardo,
>
> attached is a patch for the inline image problem.
>
>
>
> I don’t think that "Mailbox doesn't exist: (null)" is causing a problem,
> but you can investigate with sogo-tool:
>
>
>
>sogo-tool -v manage-eas listdevices janedoe
>
>sogo-tool -v manage-eas listfolders janedoe androidc316986417
>
>
>
>
>
> Cheers,
>
> Thomas
>
>
>
> *Von:* users-requ...@sogo.nu  *Im Auftrag von *Riccardo
> Bicelli
> *Gesendet:* Montag, 12. November 2018 10:19
> *An:* users@sogo.nu
> *Betreff:* Re: [SOGo] ActiveSync: Search no longer shows more messages
> than "Sync Period" and inline images are not displayed
>
>
>
> Hi Thomas
>
> Yes, I can test patches and I will be glad to try it.
>
>
>
> With SOGoEASDebugEnabled = YES In the logs I have:
>
>
>
>  http://www.microsoft.com/";>
>
> 
>
>  
>
>   Mailbox
>
>   
>
>
>
> Email
>
> 0
>
> pierfau
>
>
>
>   
>
>   
>
>
>
> 2
>
> 1048576
>
>
>
> xmlns="RightsManagement:">1
>
>
>
>
>
>0-49
>
>   
>
>  
>
> 
>
>
>
> Nov 12 10:06:30 sogod [25771]: [ERROR]
> <0x0x55ec61d7b458[NGImap4Connection]> could not select URL:
> imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: {RawResponse =
> "{ResponseResult = {description = \"Mailbox doesn't exist: (null)\"; result
> = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: (null)"; result =
> 0; }
>
> Nov 12 10:06:30 sogod [25771]:
> <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS - response for device
> 9EFD993C7C1E8054: 
>
>  http://www.microsoft.com/";>
>
> 
>
>  1
>
>  
>
>   
>
>1
>
>0-0
>
>0
>
>   
>
>  
>
> 
>
>
>
> I tested search in another another system and it works.
>
> Could it be the Mailbox doesn't exist: (null) part in the log?
>
>
>
>
>
> Il giorno ven 9 nov 2018, 15:41 Thomas Führer  ha scritto:
>
> Hi Riccardo,
> you could test the search with SOGoEASDebugEnabled = YES . This should
> give you more details in sogo.log when you search for mail messages on your
> phone.
> Search for " ..." in sogo.log.
>
> Regarding the problem with inline images ...
> Are you in the possition to test a patch? Do you compile from source?
> I could send you a patch which should improve the handling of inline
> images. It would be great if you could help to test the patch.
>
> Cheers,
> Thomas
>
> Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" (
> r.bice...@gmail.com)  schrieb:
>
>
> Hello,
>
> I'm aware that Activesync on mobile devices  synchronizes 1 month max of
> messages. But I remember that some time ago, when a I did a search, it
> returned older messages also.
>
> Am I remembering wrong? Is annoying for mobile users not haveing the
> ability to access old messages.
>
>
>
> I'm also facing a problem with Outlook for Android/iOS, gmail app and
> apple mail: when a message has inline images, instead of image a
> placeholder is displayed. If the image is attached it is ok to download and
> display it.
>
>
>
> Cheers,
>
> Riccardo
>
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
>
>
>
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

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

2018-11-12 Thread "Thomas Fuehrer"
Hi Riccardo,

attached is a patch for the inline image problem.

 

I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:

 

   sogo-tool -v manage-eas listdevices janedoe

   sogo-tool -v manage-eas listfolders janedoe androidc316986417

 

 

Cheers,

Thomas

 

Von: users-requ...@sogo.nu <mailto:users-requ...@sogo.nu>  
mailto:users-requ...@sogo.nu> > Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: users@sogo.nu <mailto:users@sogo.nu> 
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed

 

Hi Thomas

Yes, I can test patches and I will be glad to try it.

 

With SOGoEASDebugEnabled = YES In the logs I have:

 

http://www.microsoft.com/";>



 

  Mailbox

  

   

Email

0

pierfau

   

  

  

   

2

1048576

   

   1

   

   

   0-49

  

 



 

Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> 
could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: 
{RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: 
(null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: 
(null)"; result = 0; }

Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS 
- response for device 9EFD993C7C1E8054: 

http://www.microsoft.com/";>



 1

 

  

   1

   0-0

   0

  

 



 

I tested search in another another system and it works.

Could it be the Mailbox doesn't exist: (null) part in the log?

 

 

Il giorno ven 9 nov 2018, 15:41 Thomas Führer mailto:users@sogo.nu> > ha scritto:

Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for " ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition to test a patch? Do you compile from source?
I could send you a patch which should improve the handling of inline images. It 
would be great if you could help to test the patch.

Cheers,
Thomas

Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com <mailto:r.bice...@gmail.com> ) mailto:users@sogo.nu> > schrieb:
 

Hello,

I'm aware that Activesync on mobile devices  synchronizes 1 month max of 
messages. But I remember that some time ago, when a I did a search, it returned 
older messages also.

Am I remembering wrong? Is annoying for mobile users not haveing the ability to 
access old messages.

 

I'm also facing a problem with Outlook for Android/iOS, gmail app and apple 
mail: when a message has inline images, instead of image a placeholder is 
displayed. If the image is attached it is ok to download and display it.

 

Cheers,

Riccardo

 

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




  

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

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

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

inline_images.diff
Description: Binary data


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

2018-11-12 Thread "Thomas Fuehrer"
Hi Riccardo,

attached is a patch for the inline image problem.

 

I don’t think that "Mailbox doesn't exist: (null)" is causing a problem, but 
you can investigate with sogo-tool:

 

   sogo-tool -v manage-eas listdevices janedoe

   sogo-tool -v manage-eas listfolders janedoe androidc316986417

 

 

Cheers,

Thomas

 

Von: users-requ...@sogo.nu  Im Auftrag von Riccardo 
Bicelli
Gesendet: Montag, 12. November 2018 10:19
An: users@sogo.nu
Betreff: Re: [SOGo] ActiveSync: Search no longer shows more messages than "Sync 
Period" and inline images are not displayed

 

Hi Thomas

Yes, I can test patches and I will be glad to try it.

 

With SOGoEASDebugEnabled = YES In the logs I have:

 

http://www.microsoft.com/";>



 

  Mailbox

  

   

Email

0

pierfau

   

  

  

   

2

1048576

   

   1

   

   

   0-49

  

 



 

Nov 12 10:06:30 sogod [25771]: [ERROR] <0x0x55ec61d7b458[NGImap4Connection]> 
could not select URL: imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: 
{RawResponse = "{ResponseResult = {description = \"Mailbox doesn't exist: 
(null)\"; result = no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: 
(null)"; result = 0; }

Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]> EAS 
- response for device 9EFD993C7C1E8054: 

http://www.microsoft.com/";>



 1

 

  

   1

   0-0

   0

  

 



 

I tested search in another another system and it works.

Could it be the Mailbox doesn't exist: (null) part in the log?

 

 

Il giorno ven 9 nov 2018, 15:41 Thomas Führer mailto:users@sogo.nu> > ha scritto:

Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for " ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition to test a patch? Do you compile from source?
I could send you a patch which should improve the handling of inline images. It 
would be great if you could help to test the patch.

Cheers,
Thomas

Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com <mailto:r.bice...@gmail.com> ) mailto:users@sogo.nu> > schrieb:
 

Hello,

I'm aware that Activesync on mobile devices  synchronizes 1 month max of 
messages. But I remember that some time ago, when a I did a search, it returned 
older messages also.

Am I remembering wrong? Is annoying for mobile users not haveing the ability to 
access old messages.

 

I'm also facing a problem with Outlook for Android/iOS, gmail app and apple 
mail: when a message has inline images, instead of image a placeholder is 
displayed. If the image is attached it is ok to download and display it.

 

Cheers,

Riccardo

 

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




  

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

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

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

inline_images.diff
Description: Binary data


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

2018-11-12 Thread Riccardo Bicelli
Hi Thomas
Yes, I can test patches and I will be glad to try it.

With SOGoEASDebugEnabled = YES In the logs I have:

http://www.microsoft.com/";>

 
  Mailbox
  
   
Email
0
pierfau
   
  
  
   
2
1048576
   
   1
   
   
   0-49
  
 


Nov 12 10:06:30 sogod [25771]: [ERROR]
<0x0x55ec61d7b458[NGImap4Connection]> could not select URL:
imaps://[REMOVED FOR PRIVACY PURPOSE]/%28null%29/: {RawResponse =
"{ResponseResult = {description = \"Mailbox doesn't exist: (null)\"; result
= no; tagId = 6; }; }"; reason = "Mailbox doesn't exist: (null)"; result =
0; }
Nov 12 10:06:30 sogod [25771]: <0x0x55ec620240a8[SOGoActiveSyncDispatcher]>
EAS - response for device 9EFD993C7C1E8054: 
http://www.microsoft.com/";>

 1
 
  
   1
   0-0
   0
  
 


I tested search in another another system and it works.
Could it be the Mailbox doesn't exist: (null) part in the log?


Il giorno ven 9 nov 2018, 15:41 Thomas Führer  ha scritto:

> Hi Riccardo,
> you could test the search with SOGoEASDebugEnabled = YES . This should
> give you more details in sogo.log when you search for mail messages on your
> phone.
> Search for " ..." in sogo.log.
>
> Regarding the problem with inline images ...
> Are you in the possition to test a patch? Do you compile from source?
> I could send you a patch which should improve the handling of inline
> images. It would be great if you could help to test the patch.
>
> Cheers,
> Thomas
>
> Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" (
> r.bice...@gmail.com)  schrieb:
>
>
> Hello,
> I'm aware that Activesync on mobile devices  synchronizes 1 month max of
> messages. But I remember that some time ago, when a I did a search, it
> returned older messages also.
> Am I remembering wrong? Is annoying for mobile users not haveing the
> ability to access old messages.
>
> I'm also facing a problem with Outlook for Android/iOS, gmail app and
> apple mail: when a message has inline images, instead of image a
> placeholder is displayed. If the image is attached it is ok to download and
> display it.
>
> Cheers,
> Riccardo
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
>
>
>
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

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

2018-11-09 Thread t...@aon.at

Hi Riccardo,
you could test the search with SOGoEASDebugEnabled = YES . This should give you 
more details in sogo.log when you search for mail messages on your phone.
Search for " ..." in sogo.log.

Regarding the problem with inline images ...
Are you in the possition to test a patch? Do you compile from source?
I could send you a patch which should improve the handling of inline images. It 
would be great if you could help to test the patch.

Cheers,
Thomas

Am Mittwoch, November 07, 2018 08:44 CET, "Riccardo Bicelli" 
(r.bice...@gmail.com)  schrieb:
 Hello,I'm aware that Activesync on mobile devices  synchronizes 1 month max of 
messages. But I remember that some time ago, when a I did a search, it returned 
older messages also.Am I remembering wrong? Is annoying for mobile users not 
haveing the ability to access old messages. I'm also facing a problem with 
Outlook for Android/iOS, gmail app and apple mail: when a message has inline 
images, instead of image a placeholder is displayed. If the image is attached 
it is ok to download and display it. Cheers,Riccardo --
users@sogo.nu
https://inverse.ca/sogo/lists


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

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

2018-11-07 Thread Riccardo Bicelli
Hello,
I'm aware that Activesync on mobile devices  synchronizes 1 month max of
messages. But I remember that some time ago, when a I did a search, it
returned older messages also.
Am I remembering wrong? Is annoying for mobile users not haveing the
ability to access old messages.

I'm also facing a problem with Outlook for Android/iOS, gmail app and apple
mail: when a message has inline images, instead of image a placeholder is
displayed. If the image is attached it is ok to download and display it.

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