[kmail2] [Bug 312074] kmail can not detect mailing lists in imap folders

Stefan Brüns stefan.bruens at rwth-aachen.de
Wed Nov 20 01:01:41 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=312074

Stefan Brüns <stefan.bruens at rwth-aachen.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefan.bruens at rwth-aachen.d
                   |                            |e

--- Comment #9 from Stefan Brüns <stefan.bruens at rwth-aachen.de> ---
Ok, here is some analysis what is happening inside KMail/Akonadi:

(see kdepim/kmail/collectionpage/collectionmailinlistpage.cpp for source code)
1. KMail requests the headers from Akonadi -
CollectionMailingListPage::slotDetectMailingList()
2. Akonadi returns the stored headers -
CollectionMailingListPage::slotFetchDone( KJob* job )
3. Headers are checked for List-Id and so on.

The problematic part is 2 - apparently Akonadi does not return all headers. I
have dumped the returned headers, and only the following headers are returned
(contents obfuscated):

Date: xxx
From: xxx
Subject: xxx
In-reply-to: xxxx
To: xxx
Message-id: xxx
References: xxx yyy zzz

Now, if i go to the *oldest* message and use "View Source [V]", then start the
detection again, everything works, as Akonadi returns *all* headers.

This is a quite old installation, and IIRC Akonadi fetches the full headers as
of late only.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list