Re: Patch to conditionally set IMAP \Seen flag
mick crane <[email protected]>
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
On 2019-01-09 16:13, Robert Tsai wrote: > On Wed, Jan 9, 2019 at 7:48 AM Charles Cazabon < > [email protected]> wrote: > >> Robert Tsai <[email protected]> wrote: >> > > >> > > I *think* what you're saying is that you've configured getmail to pull >> > > mail from a Gmail-specific virtual IMAP folder which consists of >> messages >> > > that have the NotBackedUp label applied to them. getmail sets \Seen >> and >> > > \Deleted on the messages after retrieving them, to delete them. But >> > > Gmail's magic folder/label confusion causes the copy of the message in >> > > your INBOX to *also* be marked read. >> > > >> > > Do I understand you correctly? >> > >> > Yes, that is exactly it. Marking a message as \Seen in the NotBackedUp >> > "folder" also causes the same message in "Inbox" to also be marked read. >> >> Unfortunately, your problem is due entirely to Gmail's nonstandard >> extensions >> to IMAP - the folder/label confusion. As Google/Gmail have for years >> now >> > > I understand the problem, and understand your response (especially the > "just add another option"). > > Thanks for your response, > --Rob I wondered about this myself ( getting gmails with getmail locally and maybe reading them on a phone if out ) and gave up. for me deleted mails are still kept in ALL MAIL on google servers which I then go into their webpage and delete and then again delete them from bin. The only answer I could think of was having local mail server accessible from the internet but I didn't want the hassle. mick -- Key ID C7D6E24C