Some more hacking done:

IMAP APPEND now handles the optional flag list and internal date. I have the feeling it's a bit of a hack, but it works ;)

This should probably tackle the problem of messages having wrong dates after having been copied (in an IMAP-client) from one server to another.

Why this behaviour wasn't there before is not clear.. According to the RFC, it should've been in there.

Please test it (and break it..)

Ilja


Ilja Booij wrote:

Hi,

I've just fixed a bug in IMAP APPEND:
db_imap_append() used to send the \Seen flag of a message to '1', but RFC 3501 says that the \Recent flag should be set to '1'. It says nothing about the \Seen flag, only that it can be set by the APPEND command using the optional flags parameter.

Next step is to implement handling of the flags parameter, because that is not handled by our IMAP code at the moment. At the same time, I'll make sure the APPEND can also take INTERNALDATE values, which it should

Ilja
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to