Bug 326896

Summary: Execute Command filter inconsistent operation
Product: [Applications] kmail2 Reporter: Agron <as9902613>
Component: miscAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Agron 2013-10-30 17:47:30 UTC
When "Execute Command" filter is executed on incoming messages from an IMAP server the body of the message is not fed into the child program. The child program is receiving only message headers.

Reproducible: Always

Steps to Reproduce:
1. add simple script to filters to execute command everytime a new email message is downloaded
2. let that script just output to file everything it gets from stdin
3. check the file
Actual Results:  
You only get message headers without message body

Expected Results:  
The whole message headers and message body should be passed

After the message has been downloaded and you right-click and choose "Apply Filters" and select your filter with "execute command" with exact same script it works properly. It puts the whole email message (header+body) into the stdin of a child program.
Comment 1 Agron 2013-10-30 17:48:11 UTC
Kmail version is 485
Comment 2 Laurent Montel 2014-08-20 06:39:59 UTC
Did you try in new version ?
4.8.5 is very old and when I look at code it seems ok now.