[Tutor] imaplib and mutt flags

Alan Gauld alan.gauld at btinternet.com
Thu Jan 30 10:27:33 CET 2014


On 30/01/14 02:45, Bill Campbell wrote:
> I'm writing a python script which uses imaplib

We don't get many messages about imaplib so I'm
not sure how many folks here know about it.

> After some trial and error, I've figured out how to remove the
> \Seen flag from messages I want to look at manually,

Then it's probably a good idea to post at least a code
extract showing us how you are going about that.
We work better when we have code to look at...

> have a bit of a problem in that when I open the folder with mutt
> using direct access to the Maildir folder in the file system,
> mutt flags these parsed but unseen messages with the 'O' instead
> of 'N' which is uses for new messages.

We have some mutt users so they may be able to p[itch in here.

> The mail server is using courier-imap with Maildir stores on
> CentOS Linux.  Mutt access is direct on the file system, not via
> IMAP.

OK, Final missing piece is which Python version?

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos



More information about the Tutor mailing list