KMail Power Tools is meant to be a suite of enhancements to KMail and may be other mail user agents.
It is currently composed of only one (perl) script that acts as a filter (take input from stdin, outputs the modified mail to stdout), adds dialog boxes to kmail, and allows the user to:
* remove all attachments from an email (no user interaction),
* remove selectively attachments, after asking the user,
* detach (i.e. save then remove) any attachment to a directory chosen by the user,
hence reducing the size of your mailbox, while allowing you to backup important attached files.
All these actions are logged within a sentence in the mail body, like:
[Attachment saved by jice (04/03/2007 17:30:23) to file:///tmp/test.pdf]
or (with the new -s option):
[Attachment saved by jice (04/03/2007 17:30:23) to file:///tmp/test.pdf (121728 bytes)]
Note: kmailpt is also able to remove/detach attachments from gpg encrypted emails, and to store these emails decrypted.
9 years ago
- New icons thanks to Rüdiger Härtel
- Handle gpg encrypted emails:
. Now able to remove/detach attachments within a gpg
. New command line option -g to tell kmailpt to leave
the resulting email decrypted
. Command line option -p tells KmailPT to use gpg-agent instead of asking the passphrase
- option -d now takes an optional argument to tell it from the command line where to store the detached files.
When this argument is present, every file is detached
to the given destination.
- The disclaimer was added even to text/plain and text/html attached files. This is fixed.
- Add options -a (remove all attachments),
-m (md5sum in the disclaimer),
-s (size in the disclaimer),
-n (multiline disclaimer).
(md5, size and multiline disclaimer are based on an idea by ZJ Laczik)
- When the destination file already exists, rename it with a dash
and a number before the file extension (instead of replacing
- If no option is given on the command line: do nothing & exit.
(use the -a option to get the old behaviour)
- Replaced ~/tmp by ~/.kmailpt for temporary files.
- Corrected a bug in the Makefile to make kmailpt executable.
- Source file name is now obtained correctly (thanks to ZJ Laczik).
- The tarball now contains a root directory kmailpt-0.1.2/