Re: [Evolution] IMAP and mail filters



On Sun, 2011-02-13 at 19:50 -0430, Patrick O'Callaghan wrote:

As visible via logs from IMAP servers there is no DELETE command sent
to
server for original message in inbox. So it's not "move" but only
COPY.

The \Deleted flag is not usually updated to the IMAP server in real
time. Evo caches status updates and batches them to the server. The only
way to be sure they're updated is to Quit (though changing folders may
also do it). I suggest you repeat the experiment, including filtering a
message, and follow the debug on the server until Evo has quit and
closed the IMAP session.

I repeated the experiment (collected both evo and imap logs). I made
following steps:

0) Created filter for evolution-list
1) subscribed to evolution-list via web.
   visible result: confirmation request message was filtered
   and displayed with line through in inbox.
2) confirmed subscription with link via web.
   visible result: welcome message was filtered but has no line
   trhough.
3) exited evolution.
4) launched evolution again
   visible result: both confirmation and welcome messages are in
   inbox. no line through on request confirmation message. 



Filtering log from evolution:

----------------------------------------------------------------------
Applied filter "Nautilus List" to message from
nautilus-list-request gnome org - "confirm
b2afa345646016b2f84d27c56701368b09521b5c" at Mon, 14 Feb 2011 19:08:30
Action: Move to folder
email://1294813613 3198 4 ubook local/Lists/nautilus
Action: Stopped processing
Applied filter "Nautilus List" to message from
nautilus-list-request gnome org - "Welcome to the "nautilus-list"
mailing list" at Mon, 14 Feb 2011 19:09:17
Action: Move to folder
email://1294813613 3198 4 ubook local/Lists/nautilus
Action: Stopped processing
----------------------------------------------------------------------

So Evolution seems to apply filters to both messages.


Log from dovecot:

----------------------------------------------------------------------
A00220 SELECT INBOX
A00221 FETCH 5 UID
A00222 UID FETCH 391:* (FLAGS RFC822.SIZE INTERNALDATE BODYSTRUCTURE
BODY.PEEK[HEADER])
A00223 UID FETCH 1622 BODY.PEEK[]
A00224 UID COPY 1622 Lists/nautilus
A00225 SELECT Lists/nautilus
A00226 FETCH 1 UID
A00227 UID FETCH 2:* (FLAGS RFC822.SIZE INTERNALDATE BODYSTRUCTURE
BODY.PEEK[HEADER])
A00228 NOOP
A00229 NOOP
A00230 SELECT INBOX
A00231 FETCH 6 UID
A00232 UID STORE 1622 FLAGS.SILENT (\Seen)
A00233 SELECT Lists/nautilus
A00234 FETCH 2 UID
A00235 STATUS Lists/nautilus (MESSAGES UNSEEN)
A00236 SELECT INBOX
A00237 FETCH 6 UID
A00238 UID FETCH 1623:* (FLAGS RFC822.SIZE INTERNALDATE BODYSTRUCTURE
BODY.PEEK[HEADER])
A00239 UID FETCH 1623 BODY.PEEK[]
A00240 UID COPY 1623 Lists/nautilus
A00241 SELECT Lists/nautilus
A00242 FETCH 2 UID
A00243 UID FETCH 3:* (FLAGS RFC822.SIZE INTERNALDATE BODYSTRUCTURE
BODY.PEEK[HEADER])
A00244 NOOP
A00245 UID STORE 2 FLAGS.SILENT (\Seen)
A00246 NOOP
A00247 STATUS Lists/nautilus (MESSAGES UNSEEN)
A00248 UID STORE 3 FLAGS.SILENT (\Seen)
A00249 SELECT INBOX
A00250 FETCH 7 UID
A00251 SELECT Trash
A00252 FETCH 1216 UID
A00253 UID STORE 1234 FLAGS.SILENT (\Seen)
A00254 SELECT INBOX
A00255 FETCH 7 UID
A00256 UID STORE 1623 FLAGS.SILENT (\Seen)
----------------------------------------------------------------------

End of IMAP session.


No (\Deleted) flag stored :(



-- 
xmpp:self antono info
gopher://antono.info/
http://antono.info/




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