Summary | IMAP backend filter rules can't modify/delete mails |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | |
Requester | kent (at) cpttm (dot) org (dot) mo |
Created | 03/02/2007 (6673 days ago) |
Due | |
Updated | 03/02/2007 (6673 days ago) |
Assigned | 03/02/2007 (6673 days ago) |
Resolved | 03/02/2007 (6673 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
http://lists.horde.org/archives/cvs/Week-of-Mon-20070226/065682.html
Version ⇒ HEAD
Queue ⇒ IMP
State ⇒ Resolved
http://lists.horde.org/archives/cvs/Week-of-Mon-20070226/065680.html
State ⇒ Feedback
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ IMAP backend filter rules can't modify/delete mails
Queue ⇒ Ingo
State ⇒ Unconfirmed
mails containing the word "[SPAM]" in their subjects, but it is not
working. The rule is activated (as I can see the notes saying some
mails have been acted on) but the mails are still in the inbox
unchanged.
After some investigation I found that reason is that it is using the
EXAMINE imap command to open the inbox instead of SELECT. As a result,
the inbox will be marked as read-only. The protocol log is shown
below. I am using ingo1 (1.0.1-1sarge1) on Debian.
# <1172543865<00000008 EXAMINE INBOX
# >1172543865>* FLAGS (\Answered \Flagged \Draft \Deleted \Seen Junk NonJunk)
# * OK [PERMANENTFLAGS ()]
# * 2 EXISTS
# * 0 RECENT
# * OK [UNSEEN 2]
# * OK [UIDVALIDITY 1149562632]
# * OK [UIDNEXT 50118]
# 00000008OK [READ-ONLY] Completed# <1172543865<00000009 UID SEARCH UNDELETED SUBJECT [SPAM]
# >1172543865>* SEARCH 50116 50117
# 00000009OK Completed (2 msgs in 0.000 secs)# <1172543865<0000000a UID STORE 50116,50117 +Flags (\Seen)
# >1172543865>0000000a NO Permission denied
# <1172543865<0000000b STATUS INBOX (MESSAGES RECENT UNSEEN UIDNEXT)
# >1172543865>* STATUS INBOX (MESSAGES 2 RECENT 0 UIDNEXT 50118 UNSEEN 1)
# 0000000b OK Completed
# <1172543865<0000000c LOGOUT
# >1172543865>* BYE LOGOUT received
# 0000000c OK Completed