Closed Bug 532327 Opened 16 years ago Closed 9 years ago

Can't retrieve new emails; "STORE Cannot Remove $MDNSent"

Categories

(MailNews Core :: Networking: IMAP, defect)

1.9.1 Branch
x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cay.horstmann, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 Build Identifier: I did a fair amount of offline work. When going back online, the mail client fails to retrieve my IMAP mail. The activity log shows multiple errors "STORE Cannot Remove $MDNSent". Reproducible: Always Steps to Reproduce: I wish I could give you exact steps to reproduce it, but I have a broken email client that can't retrieve mail. 1. 2. 3. Here is from the IMAP log: -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:ProcessCurrentURL:imap://Cay%2EHorstmann%40sjsu%2Eedu@notesmail1.sjsu.edu:143/select%3E%5Ctest: = currentUrl -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=0 needmore=1] -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=78 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:CreateNewLineFromSocket: * OK Domino IMAP4 Server Release 8.5FP1 ready Tue, 1 Dec 2009 21:09:22 -0800 -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:SendData: 1 capability -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=68 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:CreateNewLineFromSocket: * CAPABILITY IMAP4rev1 AUTH=PLAIN LITERAL+ NAMESPACE QUOTA UIDPLUS -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=27 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:CreateNewLineFromSocket: 1 OK CAPABILITY completed -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:SendData: 2 authenticate plain -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=4 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:CreateNewLineFromSocket: + -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:SendData: Logging suppressed for this command (it probably contained authentication information) -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=29 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:NA:CreateNewLineFromSocket: 2 OK AUTHENTICATE completed -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:SendData: 3 select "test" -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=12 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: * 0 EXISTS -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=12 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: * 0 RECENT -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=33 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: * OK [UIDVALIDITY 7] UIDs valid -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=37 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: * OK [UIDNEXT 1] Predicted next UID -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=52 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: * FLAGS (\Flagged \Seen \Answered \Deleted \Draft) -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=85 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: * OK [PERMANENTFLAGS (\Flagged \Seen \Answered \Deleted \Draft \*)] Permanent flags -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=36 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: 3 OK [READ-WRITE] SELECT completed -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:SendData: 4 getquotaroot "test" -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=21 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:CreateNewLineFromSocket: * QUOTAROOT test "" -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=36 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:CreateNewLineFromSocket: * QUOTA "" (STORAGE 94930 1024000) -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=29 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:CreateNewLineFromSocket: 4 OK GETQUOTAROOT completed -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:ProcessCurrentURL: entering -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:ProcessCurrentURL:imap://Cay%2EHorstmann%40sjsu%2Eedu@notesmail1.sjsu.edu:143/delete%3E%5Ctest: = currentUrl -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:SendData: 5 list "" "test\\*" -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=21 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:CreateNewLineFromSocket: 5 OK LIST completed -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:SendData: 6 close -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=22 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:S-test:CreateNewLineFromSocket: 6 OK CLOSE completed -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:SendData: 7 delete "test" -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=23 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: 7 OK DELETE completed -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:SendData: 8 unsubscribe "test" -1426064528[ad50ff80]: ReadNextLine [stream=b2cd00c8 nb=28 needmore=0] -1426064528[ad50ff80]: b0802800:notesmail1.sjsu.edu:A:CreateNewLineFromSocket: 8 OK UNSUBSCRIBE completed -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:ProcessCurrentURL: entering -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:ProcessCurrentURL:imap://Cay%2EHorstmann%40sjsu%2Eedu@notesmail1.sjsu.edu:143/liteselect%3E%5CINBOX: = currentUrl -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:SendData: 28 getquotaroot "INBOX" -1334838416[b1853660]: ReadNextLine [stream=b176a568 nb=22 needmore=0] -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:CreateNewLineFromSocket: * QUOTAROOT INBOX "" -1334838416[b1853660]: ReadNextLine [stream=b176a568 nb=36 needmore=0] -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:CreateNewLineFromSocket: * QUOTA "" (STORAGE 94930 1024000) -1334838416[b1853660]: ReadNextLine [stream=b176a568 nb=30 needmore=0] -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:CreateNewLineFromSocket: 28 OK GETQUOTAROOT completed -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:SendData: 29 UID fetch 5125:* (FLAGS) -1334838416[b1853660]: ReadNextLine [stream=b176a568 nb=33 needmore=0] -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:CreateNewLineFromSocket: * 124 FETCH (FLAGS () UID 5124) -1334838416[b1853660]: ReadNextLine [stream=b176a568 nb=23 needmore=0] -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:CreateNewLineFromSocket: 29 OK FETCH completed -1215514784[b7511060]: offline imap url succeeded :imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/liteselect>\INBOX -1215514784[b7511060]: queuing url:imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9 -1215514784[b7511060]: considering playing queued url:imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9 -1215514784[b7511060]: creating protocol instance to play queued url:imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9 -1215514784[b7511060]: failed creating protocol instance to play queued url:imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9 -1215514784[b7511060]: considering playing queued url:imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9 -1215514784[b7511060]: creating protocol instance to play queued url:imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9 -1215514784[b7511060]: playing queued url:imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9 -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:ProcessCurrentURL: entering -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:ProcessCurrentURL:imap://Cay%2EHorstmann%40sjsu%2Eedu@notesmail1.sjsu.edu:143/setmsgflags%3EUID%3E%5CINBOX%3E5109%3E9: = currentUrl -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:SendData: 30 uid store 5109 +Flags (\Seen \Deleted) -1334838416[b1853660]: ReadNextLine [stream=b176a568 nb=23 needmore=0] -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:CreateNewLineFromSocket: 30 OK STORE completed -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:SendData: 31 uid store 5109 -Flags (\Answered \Flagged \Draft $Forwarded $MDNSent) -1334838416[b1853660]: ReadNextLine [stream=b176a568 nb=37 needmore=0] -1334838416[b1853660]: b16ef000:notesmail1.sjsu.edu:S-INBOX:CreateNewLineFromSocket: 31 BAD STORE Cannot remove $MDNSent -1215514784[b7511060]: offline imap url failed :imap://Cay.Horstmann@sjsu.edu@notesmail1.sjsu.edu:143/setmsgflags>UID>\INBOX>5109>9
First of all, don't paste long data to bug. Attach text file, please. $MDNSent is defined by RFC 3503, and next example is presented. > http://www.faqs.org/rfcs/rfc3503.html > b) The server supports storing of the $MDNSent keyword > C: a100 select INBOX > S: * FLAGS (\Flagged \Draft \Deleted \Seen $MDNSent) > S: * OK [PERMANENTFLAGS (\Flagged \Draft \Deleted \Seen $MDNSent)] Your server's response(for "test"). > 3 select "test" > * FLAGS (\Flagged \Seen \Answered \Deleted \Draft) > * OK [PERMANENT9. FLAGS (\Flagged \Seen \Answered \Deleted \Draft \*)] Permanent flags No $MDNSent, and \*(arbitary keyword can be created). So, your IMAP sever says that RFC3503 is not supported. If no RFC3503 support, I think your IMAP server should treat $MDNSent as an arbitary keyword defined by RFC3501 (IMAP4rev1). Tb possibly considers $MDNSent is an arbitary keyword defined by RFC3501 (IMAP4rev1). Your server probably treats $MDNSent as flag defined by RFC3503 upon "store -Flag ($MDNSent)", even though your IMAP server says "no RFC3503 support".
Version: unspecified → 3.0
Component: General → Backend
Product: Thunderbird → MailNews Core
QA Contact: general → backend
Version: 3.0 → 1.9.1 Branch
(does not meet the criteria of critical. please see https://bugzilla.mozilla.org/page.cgi?id=fields.html#bug_severity ) Cay, I don't know that this is gone, but it's worth asking, do you still see this?
Severity: critical → major
Component: Backend → Networking: IMAP
Flags: needinfo?(cay.horstmann)
Summary: Can't retrieve new emails; activity log shows error STORE Cannot Remove $MDNSent → Can't retrieve new emails; "STORE Cannot Remove $MDNSent"
I have not seen this for quite a while, but I am no longer using Lotus Notes as an IMAP server.
Flags: needinfo?(cay.horstmann)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.