[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] What is X-KMail-Identity header ?
From:       Daniel =?ISO-8859-1?Q?Vr=E1til?= <dvratil () redhat ! com>
Date:       2014-03-26 10:28:32
Message-ID: 17902703.s79IQyRoid () odin
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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@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
["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic