[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with latest imap stuff



nnimap almost works for me now (nnimap-0.32, pgnus-0.34 plus the fix
to gnus-remove-from-range).  Now I have what may be an IMAP server
bug.  I'd appreciate any tips on how to get around this last problem.

When I read a message, they get marked as 'seen' on the server.  The
imap server sticks a "Status: 0" flag header in each message.  I think
the relevant portion of *imap-log* for this is:


A181 SELECT IMAP/monty
* 100 EXISTS
j
* OK [UIDVALIDITY 907577819] UID validity status
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
* 1 RECENT
A181 OK [READ-WRITE] SELECT completed
A182 UID STORE 3 -FLAGS (\Flagged)
* 3 FETCH (FLAGS (\Seen) UID 3)
A182 OK UID STORE completed
A183 UID STORE 99:100 +FLAGS (\Seen)
* 99 FETCH (FLAGS (\Seen) UID 99)
* 100 FETCH (FLAGS (\Recent \Seen) UID 100)
A184 CLOSE
A184 OK CLOSE completed


But the next time I enter the group, the message is still marked
unread in gnus.  It seems the server still thinks UIDs 99 and 100 are
not seen:


A185 SELECT IMAP/monty
* 100 EXISTS
* OK [UIDVALIDITY 907577819] UID validity status
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen)] Permanent flags
* 1 RECENT
A185 OK [READ-WRITE] SELECT completed
A186 UID SEARCH UNSEEN UNDELETED
* SEARCH 99 100
A186 OK UID SEARCH completed
A187 UID SEARCH SEEN
* SEARCH 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
A187 OK UID SEARCH completed



I'm not sure what server software I'm connecting to.  For what it is
worth, this is what hte beginning of *imap-log* looks like:


A1 CAPABILITY
* OK quark.geoworks.com IMAP4 Service 8.1(133) at Tue, 13 Oct 1998 13:24:52 -0700 (PDT)
* CAPABILITY IMAP4 STATUS SCAN AUTH-LOGIN
A1 OK CAPABILITY completed


I don't have this problem with Netscape.  In fact, once I visit the
folder with Netscape and read the messages, they are marked with a
"Status: RO" header on the server and Gnus no longer shows them as
unread.  I'm not sure what IMAP flag gets associated with 'R' or why
Netscape is setting it.


-- 
matta