[Kde-pim] What is X-KMail-Identity header ?

Daniel Vrátil dvratil at redhat.com
Wed Mar 26 10:28:32 GMT 2014


On Monday 24 of March 2014 19:18:44 Martin Koller wrote:
> What is the mail header X-KMail-Identity used for ?

I *think* it's ID of the KMail Identity from which the message was sent.

> I'm thinking how I can solve the item removal problems we have in the mbox
> resource and I think a way would be to be able to identify each single
> message in a unique way (as the current way for the remote ids by using the
> position inside the file is very bad, as all remoteIds must be changed
> whenever an item above it is removed). Is it allowed to add new headers to
> mails ?
> 
> E.g. I'm thinking about the following: When the mbox resource reads the mbox
> file, it checks each mail if a special header exists (let's call it
> X-Akonadi-Id) and if not it adds that header and writes all mails back into
> the mbox file. The X-Akonadi-Id header would contain some unique id, e.g.
> the Akonadi::Item id()

This sounds rather expensive and will cause a huge slowdown and IO after every 
single change (and subsequent compaction). I don't have a better solution 
though.

Dan


-- 
Daniel Vrátil | dvratil at redhat.com | dvratil on #kde-devel, #kontact, #akonadi
KDE Desktop Team
Associate Software Engineer, Red Hat, Inc.

GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20140326/8329af96/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list