On Wed, 2003-04-02 at 16:55, Ken Murchison wrote:
> Alexander Brill wrote:
> > 
> > I am trying to set the internaldate for a message, but it doesn't store
> > properly.
> > 
> > This is what I try (using python)
> > imap.store(1,"+FLAGS","INTERNALDATE 22-Mar-2003 02:10:31 +0100")
> > > ('OK', ['1 (FLAGS (INTERNALDATE 22-Mar-2003 02:10:31 +0100))'])
> > It replies with an OK (prefixed with an >), and that the INTERNALDATE
> > has been altered.
> > 
> > But when I try to fetch the same message it tells me that the
> > INTERNALDATE is:
> > ('OK', ['1 (INTERNALDATE "25-Mar-2003 02:10:31 +0100")'])
> > 
> > So it doesn't store the values, even though it returns an OK. Any hints?
> 
> You can't change INTERNALDATE with STORE, only flags can be changed (see
> sec 6.4.6 of RFC 3501).  Typically, INTERNALDATE is a read-only
> attribute which is set when a message gets stored in a mailbox, either
> by SMTP/LMTP, COPY or APPEND (see sec 2.3.3 of RFC 3501).

Is there some other way of setting it then? I have a bunch of mails
dated the 25 of March :)

-- 
Alexander Brill <[EMAIL PROTECTED]>
http://www.project23.no
PGP-key: http://www.nettstudio.no/pgp/alexander.brill.asc

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to