[Bug 260638] Filter Action "pipe through" doesn't change the E-Mail

George Ruinelli caco3 at ruinelli.ch
Sun May 22 11:45:20 BST 2011


https://bugs.kde.org/show_bug.cgi?id=260638


George Ruinelli <caco3 at ruinelli.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caco3 at ruinelli.ch




--- Comment #3 from George Ruinelli <caco3 ruinelli ch>  2011-05-22 12:45:18 ---
I have exactly the same problem :(
I have a script shich should replace a character by another one:
----8<----------
#!/bin/bash
sed -n '1h;1!H;${;g;s/-/*/g;p;}' > /tmp/filter.txt ; cat /tmp/filter.txt
----8<----------
I added it to the filter settings (pipe through).
When I apply this filter to an email, the email body does not change. How ever
when I check the content of /tmp/filter.txt, it contains the changed email.
Or when I run the script in the terminal

echo "aaa-bb-cc" | Scripts/kmail_sleepanalyser_bug_filter.sh

it returns the changed content.

So this means to me that my script works, how ever kmail seems not to take the
changed content.

Any suggestions what I am doing wrong?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list