some question and thoughts about imap and uids

[email protected] (Kamil Jońca)
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
I have read imap.c code and (it is possible I have overlooked something)

1. (imap_search)
   sometimes fetchmail issues "SEARCH UNSEEN" and sometimes "SEARCH
   UNSEEN UNDELETED" (it depends on "keep" flag )
   What is use case to issue "SEARCH UNSEEN" (without undeleted?)

2. After fetchin we set "\Seen" flag. Will be this neccessary with uids
tracking?

3. my first idea is to keep "not seen" ranges attached to (host,folder)
ie something like 5:6,1000:* this can easilly be mapped to
SEARCH UNSEEN UNDELETED UID <ranges here>

Any comments?
KJ


-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
"Turn on, tune up, rock out."
		-- Billy Gibbons
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.