I modified program/lib/imap.inc to disable SORT capability:
function iil_C_GetCapability(&$conn, $name)
{
if($name == "SORT") return false;
[...]
When I use /installer/ php scripts, I have:
Connecting to imap.free.fr...
IMAP connect: OK(SORT capability: no)
So, right now, SORT capability should be disabled.
But I'm still unable to get any email list
I will try to figure out what's happening...
Please find attached my console logs from imap.inc...