Mailing List Archive

[PATCH] properly update flags on imap copies
Hello everyone,

This is against the dbmail-1.2 cvs again, and it includes my transaction
patch from yesterday.

I noticed that when copying messages over imap from cyrus into dbmail,
the message flags were not preserved. This is because ic_append was
skipping over the flags as spec'd by the client, and the mysql
db_imap_append func was always setting the message to read.

dbmail 2.0 seems to do the same (just reading code, haven't tried it).

Patch below fixes things for me, postgres is again left as an exercise
for the reader, or at least someone who can test the resulting code.

-chris