internaldate
Alexander Brill
kiowa at project23.no
Fri Apr 4 15:28:24 EST 2003
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 <kiowa at project23.no>
http://www.project23.no
PGP-key: http://www.nettstudio.no/pgp/alexander.brill.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030404/a12dc1c2/attachment.bin
More information about the Info-cyrus
mailing list