Re: Patch to conditionally set IMAP \Seen flag
Charles Cazabon <[email protected]>
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
Robert Tsai <[email protected]> wrote: > > Version 4.52.0 introduced an "EXPERIMENTAL" feature to set the \Seen flag > when deleting from an IMAP mailbox, documented in the CHANGELOG as > accommodating MSExchange Indeed. > However, this doesn't work very well if getmail runs before the message is > seen by the primary client, such as if getmail is run very frequently as an > incremental backup application (e.g., every 5 minutes). In this case: > > - Setting \Seen is likely to "incorrectly" mark a message as read before > the "primary" client has a chance to see it. There's something I'm not understanding here. This setting of the \Seen flag only happens when getmail is deleting the message from the IMAP server. So other clients shouldn't see the message at all unless they get to it before getmail does. Is this really causing a problem for you? Can you explain it so that I understand? I ask because that change has been in getmail for more than 2 years, and besides me not personally seeing how it could affet you, I've had zero complaints from getmail users since it was introduced. Charles -- ----------------------------------------------------------------------- Charles Cazabon GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------