Bug 263479 - List-Id is not regognised anymore when creating a filter
Summary: List-Id is not regognised anymore when creating a filter
Status: RESOLVED DUPLICATE of bug 258117
Alias: None
Product: kmail2
Classification: Applications
Component: filtering (show other bugs)
Version: 2.0.89
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 22:19 UTC by m.wege
Modified: 2011-05-31 09:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2011-01-17 22:19:22 UTC
Version:           2.0.89 (using KDE 4.5.95) 
OS:                Linux

In Kmail1 it was a very useful feature when creating a filter that one could just right-click on a mail which was from a mailinglist and choose to create a filter that Kmail recognised a mailinglist through its list-id and offer this as a filter criteria. This recognition does not happen anymore.

Reproducible: Always




OS: Linux (i686) release 2.6.37-11-generic-pae
Compiler: cc
Comment 1 Laurent Montel 2011-01-19 19:50:38 UTC
tring MailingList::name( const KMime::Message::Ptr &message,
                           QByteArray &headerName, QString &headerValue )
{
  QString mailingList;
  headerName = QByteArray();
  headerValue.clear();
  if ( !message )
    return QString();
  for ( int i = 0; i < num_detectors; i++ ) {
    mailingList = magic_detector[i]( message, headerName, headerValue );
    if ( !mailingList.isNull() )
      return mailingList;
  }
  return QString();
}
There is a bug in magic_detector. Don't know why for the moment.
Comment 2 Tobias Koenig 2011-05-31 09:46:06 UTC

*** This bug has been marked as a duplicate of bug 258117 ***