[Dovecot] Change/add mail header via IMAP

Timo Sirainen tss at iki.fi
Mon Apr 4 16:20:08 EEST 2011


On Mon, 2011-04-04 at 15:52 +0400, Алексей Сундуков wrote:

> I create RoundCube plugin and I have question. I want add mail header
> and I see 2 way:
> 
> 1) change file via filesystem (mailbox in maildir format);
> 2) change header via dovecot.
> 
> I think 1) bad way. But I do not know dovecot support change head
> information or not? My by via IMAP commant? same programm (LDA?)? May
> be it impossible via dovecot?

It's not possible to modify existing messages. If you manually modify
mail files in filesystem Dovecot will complain and users' IMAP clients
may break. The best you can do is save a new modified message and delete
the old one.




More information about the dovecot mailing list