Featured post
web crawler - How reliable are IMAP UIDs? -
i'm writing imap crawler, part of open source app, , incremental crawling i'd use message uids find out whether i've seen particular message or not.
now found a post 2007 says imap uids aren't reliable. more specifically, if flag uidnotsticky set, can't assume uids same. question is, have take case uidnotsticky=true seriously, or imap servers non-sticky uids legacy stuff , not in (widespread) use anymore?
if uidnotsticky response code returned during select or examine, you'll see uidvalidity value on mailbox (the imap term folder) changes every time select or examine mailbox. have check change in uidvalidity anyway since mailbox's uidvalidity not guaranteed immutable, , such change invalidates cached uids. yes, uidvalidity values generally don't change. code's going have deal case, , doing you'll have covered uidnotsticky case.
- Get link
- X
- Other Apps
Comments
Post a Comment