<<< Date Index >>>     <<< Thread Index >>>

Re: IMAP read-only mailbox and \Seen



|> We have a cyrus imapd 2.1.11 server setup and have configured some shared
|> folders as read-only (acls lrs). The 's' ACL should allow the \Seen flag
|> to be set for read-only mailboxes but in mutt that doesn't seem possible. As
|> far as I can tell messages in a read-only mailbox are always left as 'N' or
|> new. Testing with Evilution 1.2.x shows it does support \Seen on the 
|> read-only mailbox. 
|> 
|> Is this a known bug? Anyone one have a patch for it?
|
|I can get to the bug tracker today. I found this listed:
|
|#969: mutt-1.3.25i: Can't clear the 'N' (unseen) flag on read-only IMAP 
folders 
|Package: mutt ; Reported by: Rik Harris <Rik.Harris@xxxxxxxxxxxxxx>; 
|498 days old .


Hi, I'm running mutt  1.5.5.1-20040112+1 on debian/testing/unstable.

I've the same problem :

Mutt can't set the Seen flag on read-only imap mailboxes.

(I'm using courier-imap 1.4.3-2.3, quite old, yes, 
working, yes, stable, yes, debian stable, yes ;-))


Here is the mutt tcpflow dump : 

 LIST (\Noselect) "." "".
a0072 OK LIST completed..
a0073 SELECT "shared.lists.amanda-announce@amanda_org".
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent).
* OK [PERMANENTFLAGS ()] No permanent flags permitted.
* 1 EXISTS.
* 0 RECENT.
* OK [UIDVALIDITY 1076537731] Ok.
a0073 OK [READ-ONLY] Ok.
a0074 FETCH 1:1 (UID FLAGS INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS 
(DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE IN-REPLY-TO 
REPLY-TO LINES X-LABEL)]).
* 1 FETCH (UID 1 FLAGS (\Seen) INTERNALDATE "08-Jan-2004 17:05:19 -0500" 
RFC822.SIZE 4678 BODY[HEADER.FIELDS ("DATE" "FROM" "SUBJECT" "TO" "CC" 
"MESSAGE-ID" "REFERENCES" "CONTENT-TYPE" "IN-REPLY-TO" "REPLY-TO" "LINES" 
"X-LABEL")] {270}.
Date: Thu, 8 Jan 2004 14:59:48 -0500.
From: Jean-Louis Martineau <martinea@xxxxxxxxxxx>.
To: amanda-announce@xxxxxxxxxx
Subject: release of amanda-2.4.4p2.
Message-ID: <20040108195948.GA6965@xxxxxxxxxxxxxxxxxxxxxxxx>.
Content-Type: text/plain; charset=us-ascii.
.
).
a0074 OK FETCH completed..
a0075 STATUS "INBOX" (RECENT).
* STATUS "INBOX" (RECENT 0).
a0075 OK STATUS Completed..




It's not possible with mutt to set the Seen or the New flag...

Here is the dump with sylpheed as client of the same imap server :


7 SELECT shared.lists.amanda-announce@amand_org.
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent).
* OK [PERMANENTFLAGS ()] No permanent flags permitted.
* 1 EXISTS.
* 0 RECENT.
* OK [UIDVALIDITY 1076537731] Ok.
7 OK [READ-ONLY] Ok.
8 UID FETCH 1:* (UID FLAGS RFC822.SIZE RFC822.HEADER).
* 1 FETCH (UID 1 FLAGS (\Seen) RFC822.SIZE 4678 RFC822.HEADER {4022}.
>From ower-amandausers@xxxxxxxxx Thu Jan 08 17:05:19 2004.

[snip]

X-DIRO-MailScanner: Found to be clean.
X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0,.
.requis 5).
Sender: owner-amanda-announce@xxxxxxxxxx
X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on .
.pecos.8d.com.
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=ham version=2.61.
X-Spam-Level: .
.
).
8 OK FETCH completed..
9 UID STORE 1 -FLAGS.SILENT (\Seen).
9 OK STORE completed..
10 UID STORE 1 +FLAGS.SILENT (\Seen).
10 OK STORE completed..



As you can see, sylpheed  can and sets the flag Seen (or any other)

The imap server remember them (for courier, it's stocked as a file, with S at 
the end :
1076624329.13804.nest.8d.com:2,S -> 
/usr/local/mail/ntch.dyndns.org/shared-lists/.shorewall-devel@lists_shorewall_net/cur/1076624329.13804.nest.8d.com:2,S)

Is there any working solution for mutt to be able to set Seen/Answered... flag 
for read only Imap folders ?

thanks
-- 
xavier