[imapfilter-devel] IMAPFilter 2.1

William Faulk wfaulk at cortina-systems.com
Wed Nov 25 23:59:00 EET 2009


On 11/25/2009 04:53 PM, William Faulk wrote:
>
> the only guaranteed way to know what messages have
> actually arrived during an IMAP session is to follow EXISTS and EXPUNGE
> responses.

Actually, thinking about it some more, that's not true.  IMAPFilter does 
seem to compare UIDs it knows about with UIDs the server knows about, so 
UIDs that the server knows about but that IMAPFilter doesn't should be 
newly arrived messages.

Still, my point is that the \Recent and \Seen flags, and, therefore, the 
is_recent() and is_seen() functions, are not guaranteed to indicate 
which messages arrived in this session.

-Bitt


More information about the Imapfilter-devel mailing list