[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-dev
Subject:    IMAP read-only mailbox and \Seen
From:       xavier <list.mutt-dev () natch ! dyndns ! org>
Date:       2004-02-24 12:29:50
Message-ID: 20040224122950.GA15084 () pecos ! 8d ! com
[Download RAW message or body]



> > 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@fulcrum.com.au>; 
> 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@iro.umon.ca>.
To: amanda-announce@amnda.org.
Subject: release of amanda-2.4.4p2.
Message-ID: <20040108195948.GA6965@minifee.iro.umontreal.ca>.
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@amada.org 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@amada.org.
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic