• http://leonardof.org Leonardo Fontenelle

    Thank you, this plugin is definetely very useful. I just dowloaded the source code, should start using it soon. I hope this can get upstream!

  • http://www.towboatgallery.com Dick Dunbar

    Rex,

    Thanks for the effort you put in on this. Unfortunately, I can’t install it, because I have 64-bit Ubuntu on all my machines. How simple is it to convert this over to 64-bit? Sorry to be a PITA, but I can’t use it as it is.

  • http://people.debian.org.tw/~chihchun/ Rex Tsai

    Dick,

    Well, I don’t use Ubuntu with 64-bit platform, so I can not just make another pakcage for you.

    You can easily rebuild the debianized software, it’s only a few commands to rebuild. You can refer to http://www.cyberciti.biz/faq/rebuilding-ubuntu-debian-linux-binary-package/ for a HOWTO.

    Meanwhile, I have talked to Evolution developer psankar, he will help to review the code, and put it into Evolution source tree. (I hope)

    I will also try ask Debian developer’s sponsor, to upload the package into the repository. Then it can be port to the other platform, like 64-bit.

  • Capa

    Wow, this plug-in is a fantastic evolution in itself. Thank you so much for the easy install… and wow, it works fantastic. That should be included in the default installations of Evolution.

  • chris rogers

    Thank you so much for this work. It is such a useful utility. I have loads of e-mails that people send me with attachments that I save and then have to clog up my e-mail IMAP server with large mails. This gets round that.

    The ability to delete attachments from e-mails was one of the things I noticed missing when moving from windows (outlook) to Linux.

    Thanks again.

    Chris

  • Patricio

    Nice job. I like that it leaves a trace that the file was there before.
    Evolution 2.22.3.1
    Hardy 32bits

  • Keith Refson

    This is really one of those small but essential pieces of software
    which makes Evolution usable in my environment. (Lots of people sending
    large word files around.) Thanks for the acknowedgement.

    I have a suggestion for an enhancement. The current behaviour is to delete all attachments. It would be useful if there was a way of selectively choosing which attachments to delete. For example sometimes I receive email where the body is actually an inline text (or html) attachment, which I want to retain and only dispose of the large .doc file…..

    Keith Refson

  • Keith Refson

    One more comment – in response to the difficulty of compiling. The second release compiles easily on Mandriva 2008 (Spring) – just install the “EVOLUTION-DEVEL” package and the plugin compiles and loads without the burdensome need to recompile the whole of evolution. Literally
    untar – ./configure – make – make install and it’s done. Well done for the packaging.

  • Capa

    Seems that, with the evolution in Ubuntu 8.10, I get the error “conflicts with the installed package” ‘evolution’ when I try to install the deb file. It worked on 8.04. It sounds like compiling is not a big deal (I refer to Keith’s comment in response #8, above), but I’m a real newbie. Would it be possible to explain what steps are required?

  • Lucio

    Same problem as Capa above… Ubuntu 8.10 and Evolution 2.24. Cannot install plugin version 0.0.2 and cannot compile version 0.0.3.
    In Ubuntu the package evolution-dev (see Keith) seems to install lots of dependencies… is this the only way?

    This plugin would be great! Strange indeed it is not already included in Evo…

  • Flint

    Thanks for your time and effort, got this working on ubuntu 8.10. Had to compile as like with others the deb complained about conflict with evolution! :)
    Compiled after adding evolution-dev, libedataserver & libedataserverui via synaptic

  • Bernardo

    Worked well here (version 0.0.2, Ubuntu 8.10, Evolution 2.24).

    Downloaded the source, installed the -dev packeges and followed the requence:

    With evolution not running:

    tar -xvzf evolution-remove…
    cd evolution-remove…
    ./configure
    make
    sudo make install

  • http://people.debian.org.tw/~chihchun/ Rex Tsai

    Bernardo, thanks for share your experience!

  • nospam
  • nospam

    BTW I am lucky with neither of them (v.3/v.2) on Jaunty 9.04

    ./configure (error)

    ————————————

    [..]checking for EVOLUTION_REMOVE_ATTACHMENTS_EPLUGIN… configure: error: Package requirements (libgnome-2.0 >= 2.7.0 libgnomeui-2.0 >= 2.7.0 gtk+-2.0 >= 2.4.0 evolution-plugin >= 2.4.1 libglade-2.0 >= 2.0 ) were not met:

    No package ‘libglade-2.0′ found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    ————————————

    Any idea?

  • nospam

    partially solved the problem installing libglade2-dev.
    configure goes well, but new errors during make

    PIC -o .libs/remove-attachments.o
    remove-attachments.c:13:55: error: libedataserverui/e-source-selector-dialog.h: No such file or directory
    make[3]: *** [remove-attachments.lo] Error 1
    make[3]: Leaving directory `/home/mtpc03/Software/Packages/Compile/evolution-remove-attachments-0.0.2/src’
    make[2]: *** [all] Error 2
    rm org-gnome-remove-attachments.eplug.in
    make[2]: Leaving directory `/home/mtpc03/Software/Packages/Compile/evolution-remove-attachments-0.0.2/src’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/mtpc03/Software/Packages/Compile/evolution-remove-attachments-0.0.2′
    make: *** [all] Error 2

    Any idea?

  • nospam

    Finally, got it working, thanks to Flint (message 11)

    [Ubuntu 9.04 and Evo 2.26 here]

    Recap – missing lib:
    libglade2-dev
    libedataserverui

  • nospam

    Bloody hell! there is a PPA from the author on launchpad…
    Save yourself time people https://launchpad.net/~chihchun/+archive/ppa/+packages

  • Pingback: Rex's blah blah blah » “Remove Attachments” Plugin 0.0.1 for Evolution

  • Oliver

    This is exactly what I was looking for.
    Thank you very much!

    I just tried it on Debian lenny, and it works great. Also the comment that the attachment was removed is what I otherwise would have asked for. ;-)

    I tried to find it upstream, but I could not find it in gnome eplugins, nor in Debian sid or experimental.
    Even the directory here:
    http://mentors.debian.net/debian/pool/main/e/evolution-remove-attachments/
    is empty. Why?

  • http://people.debian.org.tw/~chihchun/ Rex Tsai

    Hi, Oliver
    This plugin does not in Debian nor Ubuntu repository, because I did not find one mentor to sponsor this package. Also, other developer also suggest me to integrate this plugin into evolution. However, I never find a good time to finish it. Any one who likes to take over this plugin, please me know.

  • nomnex

    Hi Rex,
    Some times ago, I have contacted you by email about the plug-in.
    The latest plug-in (V.3) was working fine after compiling it on Evo 2.26. Unfortunately I don’t have the package any more.
    I am now on Evo 2.28 (Ubuntu Karmic). Is there a chance to download your latest plug-in on your page, or somewhere else?
    Thank you.

  • nomnex

    I found a bug report[1] on Launchpad which links to your PPA

    [1] https://bugs.launchpad.net/debian/+bug/268677

    The detail of the PPA:

    “evolution-remove-attachments_0.0.3.orig.tar.gz (373.7 KiB)”

    is it the plug-in I am looking for?

    thanks

  • JJ

    Hello Rex!

    Is there a chance to get a version of your plugin, which is running with Evolution 2.30? It done a great job for me in the past.

    Best wishes

    JJ

  • Pingback: mail attachment in evolution

  • Giuseppe

    Probably I am asking what many others asked you before me: Please, update the plugin so I can keep on using it also with Evolution 2.30.
    I tried to install it (both version 0.0.2 and 0.0.3) by using the deb package but the system tells me that the package conflicts with Evolution…
    ;-)

  • Wladimir Schwitin

    Hi,

    on Ubuntu 10.04 LTS – Lucid Lynx:

    sudo dpkg -i /tmp/evolution-remove-attachments_0.0.2_i386.deb
    dpkg: Betreffend …/evolution-remove-attachments_0.0.2_i386.deb, welches evolution-remove-attachments enthält:
    evolution-remove-attachments kollidiert mit evolution (>= 2.23.0)
    evolution (Version 2.28.3-0ubuntu10) ist vorhanden und installiert.
    dpkg: Fehler beim Bearbeiten von /tmp/evolution-remove-attachments_0.0.2_i386.deb (–install):
    Kollidierende Pakete – installiere evolution-remove-attachments nicht
    Fehler traten auf beim Bearbeiten von:
    /tmp/evolution-remove-attachments_0.0.2_i386.deb

  • http://people.debian.org.tw/~chihchun/ Rex Tsai

    @Wladimir, Yeap for 10.04 you need to rebuild the package.

  • http://www.andreavai.it Andrea Vai

    Thank you Rex, I managed to compile, install and get it working on Ubuntu 10.04 with Evolution 2.28.3.
    I was wondering if it would be simple to add an option to remove a single attachment from a message that contains more than one. It would be convenient a right-click on the single item one wish to remove.

    Anyway… Thanks so much for your plugin!
    Andrea

  • chris rogers

    Thanks once again. After recent upgrade to Lucid Lynx Ubuntu, I needed to re-install this. Dead simple, download the tarball, unzip. Install evolution.dev package with synaptic, then ‘./configure’, ‘make’ and ‘sudo make install’. All works fine, thanks

  • Snuggles

    Hello all,

    make gives errors on Ubuntu 11.04 with Evolution 2.32.2 (see below). Any suggestions? Evolution-dev, libglade2-dev are installed.

    make  all-recursive
    make[1]: Betrete Verzeichnis ‘/home/richard/Desktop/evolution-remove-attachments-0.0.4′
    Making all in src
    make[2]: Betrete Verzeichnis ‘/home/richard/Desktop/evolution-remove-attachments-0.0.4/src’
    make  all-am
    make[3]: Betrete Verzeichnis ‘/home/richard/Desktop/evolution-remove-attachments-0.0.4/src’
    /bin/bash ../libtool –tag=CC   –mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I  $(pkg-config  –cflags evolution-plugin) -I..    -g -O2 -MT remove-attachments.lo -MD -MP -MF .deps/remove-attachments.Tpo -c -o remove-attachments.lo remove-attachments.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I -pthread -DCAMEL_HAVE_NSS -DCAMEL_HAVE_SSL -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/evolution-2.32 -I/usr/include/evolution-data-server-2.32 -I/usr/include/libxml2 -I/usr/include/unique-1.0 -I/usr/include/libgtkhtml-3.14 -I/usr/include/libgtkhtml-3.14/editor -I/usr/include/nss -I/usr/include/nspr -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4 -I/usr/include/orbit-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/enchant -I.. -g -O2 -MT remove-attachments.lo -MD -MP -MF .deps/remove-attachments.Tpo -c remove-attachments.c  -fPIC -DPIC -o .libs/remove-attachments.o
    remove-attachments.c: In function ‘action_mail_remove_attachment_cb’:
    remove-attachments.c:88:19: warning: assignment makes pointer from integer without a cast
    remove-attachments.c:117:17: error: ‘CamelException’ undeclared (first use in this function)
    remove-attachments.c:117:17: note: each undeclared identifier is reported only once for each function it appears in
    remove-attachments.c:117:33: error: ‘ex’ undeclared (first use in this function)
    make[3]: *** [remove-attachments.lo] Fehler 1
    make[3]: Verlasse Verzeichnis ‘/home/richard/Desktop/evolution-remove-attachments-0.0.4/src’
    make[2]: *** [all] Fehler 2
    make[2]: Verlasse Verzeichnis ‘/home/richard/Desktop/evolution-remove-attachments-0.0.4/src’
    make[1]: *** [all-recursive] Fehler 1
    make[1]: Verlasse Verzeichnis ‘/home/richard/Desktop/evolution-remove-attachments-0.0.4′
    make: *** [all] Fehler 2

  • http://people.debian.org.tw/~chihchun/ Rex Tsai

    Hi, Snuggles
    This function has been integrated into Evolution 3.0, which is availabled for oneiric (11.10).