[Tickets #5054] IMAP backend filter rules can't modify/delete mails
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Mar 1 17:28:25 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5054
-----------------------------------------------------------------------
Ticket | 5054
Created By | kent at cpttm.org.mo
Summary | IMAP backend filter rules can't modify/delete mails
Queue | Ingo
Version | 1.0.1
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Owners |
-----------------------------------------------------------------------
kent at cpttm.org.mo (2007-03-01 17:28) wrote:
I've setup a filter rule (IMAP backend) to mark as seen (or delete) 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]
# 00000008 OK [READ-ONLY] Completed
# <1172543865<00000009 UID SEARCH UNDELETED SUBJECT [SPAM]
# >1172543865>* SEARCH 50116 50117
# 00000009 OK 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
More information about the bugs
mailing list