Bug 198565

Summary: Filter to external command (pipe through) not working with D-IMAP and server-side filters
Product: [Applications] kmail Reporter: Hrishikesh Mehendale (हृषीकेश मेहेंदळे) <hashinclude>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bjoern, tomastrnka
Priority: NOR    
Version: 1.11.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hrishikesh Mehendale (हृषीकेश मेहेंदळे) 2009-07-01 20:45:43 UTC
Version:           1.11.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

I have Kmail connecting to an Exchange server using Disconnected-IMAPS. I have some mail filters specified on the server side (e.g. all "bugzilla" mails go to a specific mail folder on the server). In addition, I have a filter rule as

"All incoming mail matching (headers, contain, x-bugzilla), pipe through external command /home/hash/work/scripts/journalize.pl" (the script is executable, takes no args).

The filter works correctly if I explicitly select certain message(s) and "Apply Filter" or "Apply All Filters", but does NOT work automatically when Kmail fetches emails from the server.

(this used to work with KDE 3.5.x Kmail, but broke after I upgraded to Ubuntu 9.04)
Comment 1 Tomas Trnka 2010-05-10 10:54:57 UTC

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