You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I seem to be unable to set Permanent Flags on a ftgate-IMAP Server.
When a '\delete' is issued over 'mailbox.Addflags' the client sends an empty Flag-Store Command to the Server when it should send 'UID STORE +FLAGS ( \deleted )' .
Platform (please complete the following information):
Expected behavior
The mails should receive the '\deleted' flag and be expunged.
Protocol Logs
Connectedtoxxxxxxxxxxxxxxxxxxxxxxxxxxxx/?starttls=when-available
S:* OK IMAP4 IMAP4rev1 Server
C: A00000000 CAPABILITY
S:* CAPABILITY IMAP4 IMAP4REV1 AUTH=CRAM-MD5 AUTH=LOGIN IDLE XTRASH XLIST
S: A00000000 OK CAPABILITY completed
C: A00000001 AUTHENTICATE CRAM-MD5
....
S: A00000001 OK AUTHorisation successful
C: A00000002 CAPABILITY
S:*CAPABILITY IMAP4 IMAP4REV1 AUTH=CRAM-MD5 AUTH=LOGIN IDLE XTRASH XLIST
S: A00000002 OK CAPABILITY completed
C: A00000003 LIST "" ""
S:* LIST (\NoSelect)"/"""
S:A00000003 OK List Completed
C: A00000004 LIST """INBOX"
S:*LIST(\NoInferiors) NIL INBOX
S: A00000004 OK List Completed
C: A00000005 XLIST """*"
S:*LIST(\Drafts) "/" "Drafts"
S:*LIST() "/" "INBOX"
S:*LIST(\Sent) "/" "Sent Items"
S: A00000005 OK List Completed
Capabilities=IMAP4, IMAP4rev1, Status, Idle, XList
C: A00000006 SELECT INBOX
S:*FLAGS(\answered\flagged \deleted \seen \draft)
S:*3 EXISTS
S:*3 RECENT
S:*OK[UNSEEN6] Message 6is the first unseen
S:* OK [UIDNEXT 9] Predicted next uid
S:* OK [UIDVALIDITY 1634801892] UIDs VALID
S:* OK [PERMANENTFLAGS (\seen \answered \flagged \deleted \draft \new)]
S: A00000006 OK [READ-WRITE] SELECT COMPLETED
PermanentFlags = None
AcceptedFlags = None
C: A00000007 UID SEARCH ALL
S:* SEARCH 678
S: A00000007 OK Search Complete
C: A00000008 UID STORE 6:8+FLAGS.SILENT()S:A00000008OK UID STORE completed
C: A00000009 EXPUNGE
S: A00000009 OK EXPUNGE completed
C: A00000010 LOGOUT
S:* BYE Server closing connection
S: A00000010 OK LOGOUT completed
Additional context
I am able to set random custom-flags. I tried to 'cheat' the system by issuing the '\deleted' flag over the custom flag system, but MailKit seems to escape known permanent flags in custom-flags.
I can delete E-mails fine if i use a telnet-connection.
The text was updated successfully, but these errors were encountered:
The problem is that your IMAP server is using all-lowercase flag names and MailKit was not handling that correctly (It handles it correctly for everything other than flag names, funnily enough).
Describe the bug
I seem to be unable to set Permanent Flags on a ftgate-IMAP Server.
When a '\delete' is issued over 'mailbox.Addflags' the client sends an empty Flag-Store Command to the Server when it should send 'UID STORE +FLAGS ( \deleted )' .
Platform (please complete the following information):
To Reproduce
Expected behavior
The mails should receive the '\deleted' flag and be expunged.
Protocol Logs
Additional context
The text was updated successfully, but these errors were encountered: