I understand. I see that there are several flags one can set, plus custom
flags, if the server supports it. Using Michelle's solution, what flag would be
set?
-porkchop
On Mon, Jun 20, 2005 at 07:50:37PM +0100, Rob MacGregor wrote:
On 20/06/05, porkchop(_at_)optimist(_dot_)hostomega(_dot_)com
<porkchop(_at_)optimist(_dot_)hostomega(_dot_)com> wrote:
This status is just "read" or "unread" right?
This mailbox has been in use for over a year, I'm attempting to archive it
all. All the mail in the mailbox already has the "read" flag. Unless you're
talking about another flag I don't know about?
There are a number of IMAP flags (see
http://www.faqs.org/rfcs/rfc3501.html). One of them is the delete
state of the message. Under IMAP a deleted message is only removed
once an EXPUNGE command is issued. This means that Michelle's
approach is potentially risky - while fetchmail won't mark mail as
deleted, the use of the expunge option means it will issue an expunge
command, removing any mail already marked for deletion.