Bug 370644 - Subfolders on Domino servers do not work properly
Summary: Subfolders on Domino servers do not work properly
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-13 11:30 UTC by Jörg Walter
Modified: 2023-01-01 05:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Walter 2016-10-13 11:30:04 UTC
When having folders with subfolders on an IBM Lotus domino IMAP server, mails in subfolders are not always shown.

More specifically, it seems that only mails moved by akonadi are visible. Mails put into the mailboxes by other means (other clients, server-side filtering) are not visible to akonadi. When opening the progress display, an error message is visible briefly.

Top-level folders behave properly, all mails are visible, no error messages appear.



Reproducible: Always

Steps to Reproduce:
1. Set up a Domino server
2. Create folders with subfolders
3. Move mails into them with e.g. Thunderbird, IBM Notes, ...
4. Look at folders in kmail

Actual Results:  
No mails are shown in kmail, mails are shown in Notes.

Expected Results:  
Mails are shown in kmail.

This excerpt from akonadi's KIMAP_LOGFILE shows a kmail session from akonadictl restart, then selecting a (broken) subfolder, then selecting a (working) top-level folder.

C: A000003 CAPABILITY
S: * CAPABILITY IMAP4rev1 AUTH=PLAIN LITERAL+ NAMESPACE QUOTA UIDPLUS
S: A000003 OK CAPABILITY completed
C: A000004 NAMESPACE
S: * NAMESPACE ( ("" "\\") ) ( ("Andere Benutzer\\" "\\") ) ( ("&ANY-ffentliche Ordner\\" "\\") )
S: A000004 OK NAMESPACE completed
C: A000005 LIST "" *
[... partially redacted ...]
S: * LIST ( \Noinferiors \HasNoChildren ) \ Inbox
S: * LIST ( \HasNoChildren ) \ Organisatorisches
S: * LIST ( \HasChildren ) \ Projekte
S: * LIST ( \HasNoChildren ) \ Projekte\Diss
S: * LIST ( \HasNoChildren ) \ Sent
S: * LIST ( \HasNoChildren ) \ Spam
S: * LIST ( \Noinferiors \HasNoChildren ) \ Trash
S: A000005 OK LIST completed
C: A000006 SELECT "Projekte\\Diss"
S: * 204 EXISTS
S: * 0 RECENT
S: * OK UIDs valid [ UIDVALIDITY 33554470  ]
S: * OK Predicted next UID [ UIDNEXT 205  ]
S: * FLAGS ( \Flagged \Seen \Answered \Deleted \Draft )
S: * OK Permanent flags [ PERMANENTFLAGS ( \Flagged \Seen \Answered \Deleted \Draft \* )  ]
S: A000006 OK SELECT completed [ READ-WRITE  ]
C: A000007 EXPUNGE
S: A000007 OK EXPUNGE completed
C: A000008 SELECT "Projekte\\\\Diss"
S: A000008 NO SELECT failure, cannot select mailbox: Folder not found in IMAP name space
C: A000009 GETQUOTAROOT "Projekte\\Diss"
S: * QUOTAROOT Projekte\Diss
S: * QUOTA  ( STORAGE 634624 25600000 )
S: A000009 OK GETQUOTAROOT completed
C: A000010 SELECT "Projekte\\Diss"
S: * 204 EXISTS
S: * 0 RECENT
S: * OK UIDs valid [ UIDVALIDITY 33554470  ]
S: * OK Predicted next UID [ UIDNEXT 205  ]
S: * FLAGS ( \Flagged \Seen \Answered \Deleted \Draft )
S: * OK Permanent flags [ PERMANENTFLAGS ( \Flagged \Seen \Answered \Deleted \Draft \* )  ]
S: A000010 OK SELECT completed [ READ-WRITE  ]
C: A000011 EXPUNGE
S: A000011 OK EXPUNGE completed
C: A000012 SELECT "Projekte\\\\Diss"
S: A000012 NO SELECT failure, cannot select mailbox: Folder not found in IMAP name space
C: A000013 GETQUOTAROOT "Projekte\\Diss"
S: * QUOTAROOT Projekte\Diss
S: * QUOTA  ( STORAGE 634624 25600000 )
S: A000013 OK GETQUOTAROOT completed
C: A000014 SELECT "Organisatorisches"
S: * 399 EXISTS
S: * 0 RECENT
S: * OK UIDs valid [ UIDVALIDITY 33554465  ]
S: * OK Predicted next UID [ UIDNEXT 400  ]
S: * FLAGS ( \Flagged \Seen \Answered \Deleted \Draft )
S: * OK Permanent flags [ PERMANENTFLAGS ( \Flagged \Seen \Answered \Deleted \Draft \* )  ]
S: A000014 OK SELECT completed [ READ-WRITE  ]
C: A000015 EXPUNGE
S: A000015 OK EXPUNGE completed
C: A000016 SELECT "Organisatorisches"
S: * 399 EXISTS
S: * 0 RECENT
S: * OK UIDs valid [ UIDVALIDITY 33554465  ]
S: * OK Predicted next UID [ UIDNEXT 400  ]
S: * FLAGS ( \Flagged \Seen \Answered \Deleted \Draft )
S: * OK Permanent flags [ PERMANENTFLAGS ( \Flagged \Seen \Answered \Deleted \Draft \* )  ]
S: A000016 OK SELECT completed [ READ-WRITE  ]
C: A000017 GETQUOTAROOT "Organisatorisches"
S: * QUOTAROOT Organisatorisches
S: * QUOTA  ( STORAGE 634624 25600000 )
S: A000017 OK GETQUOTAROOT completed
C: A000018 EXPUNGE
S: A000018 OK EXPUNGE completed
C: A000019 SELECT "Organisatorisches"
S: * 399 EXISTS
S: * 0 RECENT
S: * OK UIDs valid [ UIDVALIDITY 33554465  ]
S: * OK Predicted next UID [ UIDNEXT 400  ]
S: * FLAGS ( \Flagged \Seen \Answered \Deleted \Draft )
S: * OK Permanent flags [ PERMANENTFLAGS ( \Flagged \Seen \Answered \Deleted \Draft \* )  ]
S: A000019 OK SELECT completed [ READ-WRITE  ]
C: A000020 GETQUOTAROOT "Organisatorisches"
S: * QUOTAROOT Organisatorisches
S: * QUOTA  ( STORAGE 634624 25600000 )
S: A000020 OK GETQUOTAROOT completed

Note the inconsistent usage of double / quadruple backslashes in SELECT commands.
Comment 1 Alexander Stehlik 2018-10-25 13:37:23 UTC
I can confirm this problem.

The same server works fine with other clients (e.g. Thunderbird).

I had the same suspicion as Jörg that the problem might be related to the double encoded backslashes.
Comment 2 Christophe Marin 2018-10-25 13:58:23 UTC
The original report is quite old, what's your kimap version ?
Comment 3 Alexander Stehlik 2018-10-25 15:25:28 UTC
The problem still seems to be present in current versions (tested on Fedora 28):

kf5-kimap-18.04.3-1.fc28.src.rpm
KMail: 5.8.3
KDE Frameworks 5.48.0
Qt 5.11.1
Comment 4 Justin Zobel 2022-12-02 01:23:10 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-12-17 05:13:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-01-01 05:20:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!