http://zmi.at/x/ripdefang-dbmail
I just released this very first version of a "un-defang" tool. It's for everybody who has defanged spams and wants to get the original spam back into the mail system again. Usage is very simple: Take a spam that is defanged by amavis, and resend or forward it to an alias address which calls this script. In my case I use dbmail ( http://dbmail.org/ ), where I created the following alias: # dbmail-users -x undef...@mydomain -t "|/usr/bin/ripdefang-dbmail" I then grep'ed a sample collection of 7074 mails, saved that to an mbox (if you want it: http://zmi.at/x/spambox.mbox.bz2) and ran a # formail -n 10 <spambox.mbox -s /usr/bin/ripdefang but that got me only around 3343 mails, and ATM I don't know what the error is. But it's a start, and maybe others want to help improve the script. mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4 ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/