
michael.monnerie at is
May 28, 2009, 3:41 AM
Views: 502
Permalink
|
|
RELEASE: ripdefang-dbmail 0.01
|
|
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 undefang[at]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
|