From: Rob F. <rf...@fu...> - 2006-04-22 00:18:35
|
Ratan Nalumasu wrote: > Matthias: > > I think I understand the confusion on "read" vs. "unread" > status. > What I want is the mail on server to disappear and the mail on > laptop to have "read" or "unread" according to what was on the > server before the fetch started. What is happening is that the > mail on the server is disappearing (as I want), but all mail on > the laptop is unread (disconcerting). OK, so you're starting with a message in your mailbox with a header of "Status: RO". Programs on the server sees it as old and read. fetchmail downloads with IMAP, and you no longer have that Status header telling your local elm that it's old and read. I think the pop/imap server is the one removing the Status header, since that's just a feature of the mbox format that tells the mailreader (e.g. elm or the imap server) whether the mail is read. It isn't intended to be preserved outside the mbox. By the time fetchmail gets the message, that Status header is already gone; it has been translated into IMAP flags, which you're basically ignoring when you tell fetchmail to fetchall. If I'm correct, what you're asking for is basically for fetchmail to look at those IMAP flags and translate them back into a Status header to be added to the mail. I'm not sure that's a feature very likely to make it into fetchmail. -- ==============================| "A microscope locked in on one point Rob Funk <rf...@fu...> |Never sees what kind of room that it's in" http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind" |