Ticket #1229 (assigned defect)

Opened 14 years ago

Last modified 14 years ago

CPSMailAccess and imap.free.fr problem with folders

Reported by: the.edouard.mercier@… Owned by: tziade
Priority: P2 Milestone: CPS 3.5.7
Component: CPSMailAccess Version: unspecified
Severity: normal Keywords: free.fr folder imap
Cc: the.edouard.mercier@…


It seems that the analyzis of the Free ('imap.free.fr') folders breaks the product.

This occurs under CPSMailAccess/imapconnection.py, in class 'IMAPConnection', line 220: it is assumed that an IMAP folder entry has always the pattern '() "/" *.*', whereas, under Free it may happen that the name is '() "/" INBOX/Zope', for instance (the forward slash makes the difference).

Maybe, this could be improved and fixed by also considering the forward slash '/' as a folder separator token... Or by making this customizable.

This happens with CPSMailAccess V1.2.0, package release 4...

Change History

comment:1 Changed 14 years ago by tziade

  • Cc the.edouard.mercier@… added

right, it hasn't been tested with all IMAP servers out there. could you send me in private (tz_at_nuxeo.com) the list that comes out from Free ?

here's the code to do that in Python from the prompt:

>>> import imaplib
>>> server = imaplib.IMAP4('mail.free.fr')
>>> server.login('login', 'password')
('OK', ['LOGIN Ok.'])
>>> server.select('INBOX')
('OK', ['5010'])
>>> server.list('""', '*')


comment:2 Changed 14 years ago by tziade

  • Milestone changed from unspecified to CPS 3.4.1

fixed in [31183],you should try again. It will probably brake on some other places or after this call in the synchronisation process.

Please let me know, as we can quickly fix it togheter in order to make it work with free's imap server

comment:3 Changed 14 years ago by tziade

  • Status changed from new to assigned

comment:4 Changed 14 years ago by tziade

  • Milestone changed from CPS 3.4.1 to CPS 3.5.0

beside this problem that has been fixed, imap.free.fr doesn't provide all headers used in mailaccess when fetching mails info, we need therefore to test the imap server and change the behavior, based on supported header info.

This is quite an important change and is planned to be done later, for CPS 3.5.0

Note: See TracTickets for help on using tickets.