--===============7619028211455695626== Content-Type: multipart/signed; boundary="nextPart1707608.iWOfFDdsOv"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart1707608.iWOfFDdsOv Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" 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 singl= e > message in a unique way (as the current way for the remote ids by usi= ng the > position inside the file is very bad, as all remoteIds must be change= d > whenever an item above it is removed). Is it allowed to add new heade= rs to > mails ? >=20 > E.g. I'm thinking about the following: When the mbox resource reads t= he 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 bac= k 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 afte= r every=20 single change (and subsequent compaction). I don't have a better soluti= on=20 though. Dan =2D-=20 Daniel Vr=E1til | 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 --nextPart1707608.iWOfFDdsOv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJTMqvQAAoJEMWdYU9vSuNIXzMH/Raa5Wp7dzQRTFk+Pk0R2nNn 5hvUogIxSgifp5+S2gLucGgaRIg7KNG7okeb+i3rq2uPVuD4+NitYmpADlu0gA1o MBZnmARQSGSdtYCMnG0aUFAsnhD8Nn8gRQN/kvuua1QiMsWiaqrXLAyFim9TNHvX fsAQs9PnR33byaE1Bcv0/a45n4sYW/XP/OFELDSwI1B3ajDtTnk+43KysQSLUYLv 6mukVYyC0fyaqfqky2FysAt6H92qgjGRSgHhBK/KeXnC0LB+TTHeJpdX2U0OpDQx e182wEhzqkpas17Eg+ZbOp0xHXct+NeJWMkiuxmpli+X2Uf4PmwyV9JhRGxekkA= =T4xq -----END PGP SIGNATURE----- --nextPart1707608.iWOfFDdsOv-- --===============7619028211455695626== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/ --===============7619028211455695626==--