Version: (using KDE KDE 3.3.2) Installed from: Gentoo Packages I know it's already possible to pipe an entire mail through a program. I tried to use this function to create a filter that encrypts unencrypted mails for storage on an imap server. Unfortunately, since the headers are also encrypted, there's nothing remaining for kmail to display. So I think a filter action "pipe body through program" would be quite useful.
Add a pipe before your program: awk 'BEGIN {body = 0}; /^%/ {body = 1}; body { print };'
Sorry, where you see /^%/, make that /^$/
Nice tip, this encrypts the body only, but it still destroys (rewrites?) the message headers. After I apply the filter, the only headers remaining are: X-UID: 111 Status: RO X-Status: OGC X-KMail-EncryptionState: N X-KMail-SignatureState: N X-KMail-MDN-Sent: Hmm, maybe instead of implementing this as a filter it would be better to add that functionality for encrypting selected _received_ messages to kmail directly.
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented. Thank you for your understanding.
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.