[Kde-pim] trying to understand akonadi

Kevin Krammer krammer at kde.org
Wed Oct 16 19:06:16 BST 2013


Hi,

Am Mittwoch, 2013-10-16, 19:47:00 schrieb Martin Koller:
> Hi,
> 
> I have a problem with kmail (4.11.2) where my mbox resource (which is filled
> from an external program) often shows a mail with
> subject/sender/date:Unknown.
> 
> Currently I have such a mail and I try to find out what's going on in
> akonadi. This mbox file has a few other mails (e.g. grep ^Date: finds 4
> lines), but only 1 is shown (I assume the others are already marked/stored
> internally by the mbox resource as deleted, which is fine). The one shown
> is the "unknown" problem.

[snip analysis]

> I have no idea what this columns shall contain, but checking some other
> entries shows that the PLD:ENVELOPE record should contain something useful
> in the data field (Date, subject, etc.). So this situation would explain
> why I see "unknown" as the data holds "NIL ..."
> 
> Any idea why this can happen ?
> Who fills that fiels and when ?

One possible reason could be that the mbox resource is acting to quickly to 
the file change notification.
I.e. maybe the resource starts parsing the new mail before it is ready.

Does the other process replace the mbox file (atomic write using move) or does 
it append to the file?

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20131016/7b3e6aa6/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