Bug 108299

Summary: Detecting a mailing list folder fails for IMAP folders
Product: [Applications] kmail Reporter: Daniel Hahler <kde-bugzilla>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: bjoern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Hahler 2005-06-29 02:45:50 UTC
Version:           1.1.1 (using KDE 3.4.1, Kubuntu Package 4:3.4.1-0ubuntu0hoary1 ())
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)
OS:                Linux (i686) release 2.6.10-5-k7

When I try to auto-detect a mailing list in an IMAP folder with the "Mailing list folder properties" I always get the error message that "KMail was unable to detect a mailing list in this folder. Please fill the addresses by hand.".

It works with a local mailing list folder.
Comment 1 Derek Broughton 2005-12-07 15:08:45 UTC
I can vouch that this doesn't happen for ALL IMAP folders (in KMail 1.9, - KDE 3.5 RC1), but it certainly happens for the folder containing kdepim-users - the mailing list FOR KMail!

I have at least two folders - subfolders of 'lists', which is in turn a subfolder of 'inbox' which contain Mailman lists.  The first (which has the List-ID header: "List-Id: Discussion of the Acadian Sail voyage on Europa <acadiansail_pointerstop.ca.pointerstop.ca>") is detected fine, the second ("List-Id: For discussion about KDE PIM applications <kdepim-users.kde.org>") gives the message "KMail was unable to detect a mailing list in this folder. Please fill the addresses by hand."

There's not a clear difference between the two List-IDs.
Comment 2 Derek Broughton 2006-05-12 14:05:08 UTC
1) This happens any time I try to redetect mailing lists after kmail/kontact has crashed and lost all my per-folder information (a whole separate bug...)
2) If I exit kmail after setting the "Folder holds a mailing list" checkbox and restart kmail, it sometimes works
3) If, in fact, the folder also contains messages that are _not_ from the mailing list, you _must_ have a message selected that _is_ from the mailing list.

It would be nice if, on the first try, it doesn't detect list headers it could prompt to say something like "the selected message is not from a mailing list, do you want to check all messages?"  This would be slow, but users would get the idea that they need to have either the first or selected message having the list header.
Comment 3 Björn Ruberg 2009-12-21 16:00:51 UTC
Is this still an issue in a recent kmail?