The software is updated at 2010/10/05.
I use Evolution with Microsoft exchange server in office for 2 years. It’s a pretty good software which is integrated mail, addressbook and calendaring functionality, a groupware suite that all I need for office productivity.
However, when you use a email client for a long time, the e-mails will take more and more disk space. Especially, when you exchange many attachments with the other people. I have to keep the e-mails for record, but the attachments are all filed. I don’t want them to take my disk space anymore. I would like to save some space for really important project. It’s time to get rid of them. I need a plugin for remove these attachments.
I did some research on evolution mailing list. It seems some people discuss about this kind plugin. But it does not been done before. The project page provides some document about EPlugin framework, it’s easy to write a plugin for evolution. Therefore I wrote one for myself.
This plugin is pretty small, it’s about 150 lines of C code. You can download remove-attachments-0.0.1.tar.gz from this url. I did not provide a makefile for build it, you have to put this plugin in evolution source tree. It will generate make file for compile this plugin, if you know how to modify the automake/autoconf config files.
Basically, you have to add the makefile path for the plugin in evolution/configure.in, and add a sub-directory in evolution/plugins/Makefile.am. After that, you have to execute autoconf and automake to update the configure script and makefiles.
Here are some screen-shot, this is a email which contains a deb file. The email is 3.1MB.
You can select one or many emails, and click right button. The pop menu will contains a function named “Remove attachment”. Click it.
The plugin will keep the attachment filename, but change the content into a text say “The file has been removed”. And you can see the email size turn to 1k. 😀
The source code is licensed under the GNU GPL v2 or later. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM. I try this with local and exchange mailbox, it works fine. It’s beta and it’s the first version, don’t use this software for production.
The software is updated at 2010/10/05.