Bug 326896 - Execute Command filter inconsistent operation
Summary: Execute Command filter inconsistent operation
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail2
Classification: Applications
Component: misc (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 17:47 UTC by Agron
Modified: 2015-04-03 06:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.