After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 237002 - Ignoring PERMANENTFLAGS status from server causes flag setting failures
Ignoring PERMANENTFLAGS status from server causes flag setting failures
Status: RESOLVED DUPLICATE of bug 216927
Product: evolution
Classification: Applications
Component: Mailer
pre-1.5 (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2003-01-21 13:38 UTC by Rob Holland
Modified: 2003-02-19 06:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rob Holland 2003-01-21 13:38:41 UTC
Description of Problem:

Our cyrus imap server has the capability to do shared folders where most
flags are global but it stores \Seen per-user. The server sends a
PERMANENTFLAGS status message which tells the client which flags it will
accept for the folder.

Evolution seems to ignore this as its trying set the \Answered flags for
messages even when it has been told only \Seen is accepted. Because this
fails Evolution stops trying to set any more flags which means other
messages which should be marked as read aren't being.

This means that lots of our shared folders have messages which Evolution
won't mark as read.

Evolution shouldn't be trying to set the \Answered flag because it wasn't
in the PERMANENTFLAGS list.

It is stated in the IMAP4 rfc that a server can refuse a request to set
flags which weren't in the PERMANENTFLAGS response. Please get Evolution to
check this before trying to set the \Answered flag.

Steps to reproduce the problem:
1. Setup a shared folder on a Cyrus imapd 
2. View the folder with Evolution
3. Reply to one of the messages in the folder
4. Select a different folder in Evolution
5. You will get a permission denied error

How often does this happen? 

Every time I try to mark messages as read in a shared folder which has a
message in it which I have replied to.

Additional information:

I can provide a transaction log if need be.
Comment 1 Jeffrey Stedfast 2003-01-21 14:30:01 UTC
pretty sure we already do parse the permanantflags list and use it as
a mask, but it's possible that there are places that don't.
Comment 2 Rob Holland 2003-01-21 14:49:28 UTC
<1043161130<A00084 SELECT {48+}
Other Users/lists~bleh.com/internal/it
>1043161130>* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Seen)]  
* 263 EXISTS
* 0 RECENT
* OK [UNSEEN 135]  
* OK [UIDVALIDITY 1036674614]  
* OK [UIDNEXT 264]  
A00084 OK [READ-ONLY] Completed
<1043161130<A00085 FETCH 263 UID
>1043161130>* 263 FETCH (UID 263)
A00085 OK Completed
<1043161130<A00086 UID STORE 115,130,132,139,262 FLAGS.SILENT
(\Answered \Seen
>1043161130>A00086 NO Permission denied
<1043161136<A00087 UID STORE 115,130,132,139,262 FLAGS.SILENT
(\Answered \Seen)
>1043161136>A00087 NO Permission denied
<1043161137<A00088 LOGOUT
>1043161137>* BYE LOGOUT received
A00088 OK Completed
Comment 3 Rob Holland 2003-02-13 15:22:24 UTC
Is anyone looking at this? Its driving me mad. I get permission denied
messages all the time and Evo isn't setting the read flag on any of my
shared mailboxes below the last "answered" email.
Comment 4 Jeffrey Stedfast 2003-02-19 06:06:08 UTC

*** This bug has been marked as a duplicate of 216927 ***