Re: [Evolution] IMAP and mail filters



On Sun, 2011-02-13 at 10:42 +0000, Pete Biggs wrote:

So the problem is that evolution makes COPY instead of MOVE.

There is no MOVE operation in IMAP, only COPY and DELETE. And of course
DELETE means "mark as Deleted". That's why the message still appears to
be in the Inbox (though it should be marked as deleted).

Ok. I switched off "Show deleted messages" and I see copy of your
message in both mailing list folder and inbox. So porobably problem is
"Evolution do not deletes" "moved" messages.

It's nothing to do with Evolution.  All Evolution does is to tell the
IMAP system to COPY the message, then DELETE the original.  The DELETE
just marks the message as deleted.  Any other client does EXACTLY the
same thing, there is no other way of doing it with IMAP.  What other
clients may do at the end is to EXPUNGE the deleted messages, or just
hide those messages from view until an EXPUNGE is performed.  

I made small debug session with dovecot. During this session one message
was received and filtered to Lists/gtk folder. Same message is still in
Inbox folder but marked as read (not touched by me).

Following log was generated with dovecot rawlog utility[1]:

A00128 SELECT INBOX
A00129 FETCH 6 UID
A00130 UID FETCH 1492:* (FLAGS RFC822.SIZE INTERNALDATE BODYSTRUCTURE
BODY.PEEK[HEADER])
A00131 UID FETCH 1492 BODY.PEEK[]
A00132 UID COPY 1492 Lists/gtk
A00133 SELECT Lists/gtk
A00134 FETCH 295 UID
A00135 UID FETCH 304:* (FLAGS RFC822.SIZE INTERNALDATE BODYSTRUCTURE
BODY.PEEK[HEADER])
A00136 NOOP
A00137 NOOP
A00138 UID SEARCH UID 304:304 BODY "antono"
A00139 SELECT INBOX
A00140 FETCH 7 UID
A00141 UID SEARCH UID 1492:1492 BODY "antono"
A00142 UID STORE 1492 FLAGS.SILENT (\Seen)
A00143 SELECT Lists/gtk
A00144 FETCH 296 UID
A00145 STATUS Lists/gtk (MESSAGES UNSEEN)
A00146 UID STORE 304 FLAGS.SILENT (\Seen)
A00147 SELECT INBOX
A00148 FETCH 7 UID
A00149 SELECT Lists/gtk
A00150 FETCH 296 UID
A00151 STATUS Lists/gtk (MESSAGES UNSEEN) 


Expunge doesn't help :( Any advice for debugging? 
In what way "doesn't help"?  Does an expunge actually remove the
messages marked as deleted?  If not, are there any error messages?

I suppose no messages was marked as deleted so expunge does not help to
keep my inbox clean from already filtered messages.


[1]: http://wiki.dovecot.org/Debugging/Rawlog






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]