Bug 119221

Summary: KMail hangs on start after deleting email account used in mail-filter
Product: [Applications] kmail Reporter: Jens Zurheide <jens.zurheide>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bjoern
Priority: NOR    
Version: 1.9.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jens Zurheide 2005-12-30 10:25:36 UTC
Version:           1.9.1 (using KDE 3.5.0, compiled sources)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24-smp

When deleting an email account that is explicitely activated for mail processing in a filter it is not possible to restart kmail again. The last message in a console is: kmail: pPopFilter set

Removing the account id from the mail filter inside the kmailrc fixed the problem

The filter definition causing the problem was something like:
[Filter #xy]
Applicability=2
...
accounts-set=...,...,<deleted account id>,...,...
...

The <deleted account id> should be deleted together with the account.

As a side note the icons of the filters that were added to the toolbar disappeared after deleting the email-account from the GUI but reappeared again after 'fixing' kmailrc.

Thanks,
Jens
Comment 1 Luiz Angelo De Luca 2006-02-03 02:49:49 UTC
I've got the same problem.

Luiz Angelo
Comment 2 Andreas Gungl 2007-03-24 18:48:07 UTC
Does the problem persist in KMail 1.9.6? Does it perhaps crash as described in https://bugs.kde.org/show_bug.cgi?id=137667 ?
Comment 3 Björn Ruberg 2009-12-24 15:57:08 UTC
Closing as is the related bug. Please report if the problem still occurs.