Bug 263479

Summary: List-Id is not regognised anymore when creating a filter
Product: [Applications] kmail2 Reporter: m.wege
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jlayt, montel, tokoe
Priority: NOR    
Version: 2.0.89   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***