Skip to content

MailKit returns duplicate folders from SmarterMail 13.0 server #149

Description

@vzhusel

I guess this is SmarterMail issue, but wanted to check if there's a solution how to prevent this from happening using MailKit.

Structure on server:
Inbox
- 2222
- TTT
Deleted Items
Junk E-Mail
Sent Items

But from mail kit I get:
Inbox
Deleted Items
- 2222
- TTT
- 2222
- TTT
Junk E-Mail
Sent Items
- 2222
- TTT

Here's a log
Connected to imap://10.211.55.4:143/
S: * OK IMAP4rev1 SmarterMail
C: E00000000 CAPABILITY
S: * CAPABILITY IMAP4rev1 UIDPLUS XLIST
S: E00000000 OK CAPABILITY completed
C: E00000001 LOGIN admin@zzz 123qwe
S: * CAPABILITY IMAP4rev1 UIDPLUS XLIST
S: E00000001 OK LOGIN completed
C: E00000002 LIST "" ""
S: * LIST (\Noselect) "/" ""
S: E00000002 OK LIST completed
C: E00000003 LIST "" "INBOX"
S: * LIST (\Unmarked) "/" "Inbox"
S: E00000003 OK LIST completed
C: E00000004 XLIST "" "*"
S: * XLIST (\Unmarked \Trash) "/" "Deleted Items"
S: * XLIST (\Unmarked \Inbox) "/" "Inbox"
S: * XLIST (\Unmarked \Spam) "/" "Junk E-Mail"
S: * XLIST (\Unmarked \Sent) "/" "Sent Items"
S: * XLIST (\Unmarked) "/" "Inbox/TTT"
S: * XLIST (\Unmarked) "/" "Inbox/2222"
S: E00000004 OK XLIST completed
C: E00000005 LIST "" "%"
S: * LIST (\Unmarked) "/" "Deleted Items"
S: * LIST (\Unmarked) "/" "Inbox"
S: * LIST (\Unmarked) "/" "Junk E-Mail"
S: * LIST (\Unmarked) "/" "Sent Items"
S: E00000005 OK LIST completed
C: E00000006 LIST "" "Deleted Items/%"
S: * LIST (\Unmarked) "/" "Inbox/TTT"
S: * LIST (\Unmarked) "/" "Inbox/2222"
S: E00000006 OK LIST completed
C: E00000007 LIST "" "Inbox/TTT/%"
S: E00000007 OK LIST completed
C: E00000008 LIST "" "Inbox/2222/%"
S: E00000008 OK LIST completed
C: E00000009 LIST "" "Inbox/%"
S: * LIST (\Unmarked) "/" "Inbox/TTT"
S: * LIST (\Unmarked) "/" "Inbox/2222"
S: E00000009 OK LIST completed
C: E00000010 LIST "" "Inbox/TTT/%"
S: E00000010 OK LIST completed
C: E00000011 LIST "" "Inbox/2222/%"
S: E00000011 OK LIST completed
C: E00000012 LIST "" "Junk E-Mail/%"
S: * LIST (\Unmarked) "/" "Inbox/TTT"
S: * LIST (\Unmarked) "/" "Inbox/2222"
S: E00000012 OK LIST completed
C: E00000013 LIST "" "Inbox/TTT/%"
S: E00000013 OK LIST completed
C: E00000014 LIST "" "Inbox/2222/%"
S: E00000014 OK LIST completed
C: E00000015 LIST "" "Sent Items/%"
S: * LIST (\Unmarked) "/" "Inbox/TTT"
S: * LIST (\Unmarked) "/" "Inbox/2222"
S: E00000015 OK LIST completed
C: E00000016 LIST "" "Inbox/TTT/%"
S: E00000016 OK LIST completed
C: E00000017 LIST "" "Inbox/2222/%"
S: E00000017 OK LIST completed

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility with existing softwareserver-bugThe bug appears to be in the serverserver/smarter-mailSmarterMail IMAP server

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions