>>>>> "Uday" == Uday S Reddy <[email protected]> writes:
Uday> John Stoffel writes:
>>
>> And the other issue I notice is that when I do 'L'
>> (vm-list-imap-folders) in VM to view my
>> various folders to see which have new email on my server (based on
>> dovecot) I seem to be getting lots of new emails marked SEEN, so I
>> don't always notice when I actually have new emails. Frustrating.
Uday> Indeed, it is not VM doing it. VM is just showing you the output from the
Uday> IMAP server.
Yup, I figure it's got to be something my iphone is doing when it also
checks for mail on the dovecot server and then it changes messages
from UNSEEN to SEEN. Totally annoying.
I tried hacking VM to use something like this, but it broken even
harder:
quad:~/elisp/vm-8.2.0c/lisp> diff -u ~/elisp/vm-8.2.0b/lisp/vm-imap.el
vm-imap.el
--- /home/john/elisp/vm-8.2.0b/lisp/vm-imap.el 2017-03-17 10:32:24.000000000
-0400
+++ vm-imap.el 2017-03-13 11:45:55.000000000 -0400
@@ -4382,7 +4382,7 @@
;;-----------------------------
(vm-imap-send-command
process
- (format "STATUS %s (MESSAGES RECENT)"
(vm-imap-quote-string mailbox)))
+ (format "STATUS %s (MESSAGES RECENT UNSEEN)"
(vm-imap-quote-string mailbox)))
(while need-ok
(setq response
(vm-imap-read-response-and-verify process "STATUS"))
(cond ((vm-imap-response-matches
response 'VM 'OK)