[Dovecot] Change/add mail header via IMAP
public-mail at alekciy.ru
Mon Apr 4 23:43:03 EEST 2011
Some program modify can header. Example LDA. And I thought why not?
Why I can't do this?
I use web interface RoundCube and same time Mozilla Thunderbird. In
Mozilla Thunderbird I can add tag. But this tag I can't see in RC (now
RC no support tag, only favorite, but I can write plugin). Thunderbird
save tags in own local database, RC in own. It's two different
database. If I set tag via Thunderbird, I don't see this change in RC
database. I think it not right. Information about mail should stored
in one place. Imho, this place is email header. In this case I can see
same tag in all my email clients.
So I'm trying add header in existing messages. Maybe there's another
way stored tag in one place and indicate email client use it? Maybe
2011/4/4 Timo Sirainen <tss at iki.fi>:
> On Mon, 2011-04-04 at 19:40 +0400, Алексей Сундуков wrote:
>> May be if save mail in new file it can break index dovecot files,
>> because file name change?
> If the filename changes, it becomes a new mail. You don't break index
> files, but clients see it as a new message.
>> Mail is text file, if I add one line (like
>> X-Mozilla-Keys: test) how its can break mail?
> IMAP protocol requires that mails never change. Clients might cache the
> message's size, and when it suddenly becomes larger they might not
> download the entire message. Things like that.
> Why do you want to modify existing messages anyway?
More information about the dovecot