On 5/25/2009 9:47 AM, Michael Monnerie wrote:
On Dienstag 19 Mai 2009 martin f krafft wrote:
also sprach Jeff Mincy <j...@delphioutpost.com> [2009.05.19.1445
+0200]:
Use prefix matching instead!
formail -b -t -I X-Spam- < msg
This is undoubtedly more of a sledgehammer approach, but I don't see
how it would/could be unsafe, really.
Looks great. Unfortunately, I use amavis to defang mails for users,
sending them a large German text to describe that this is spam and
attaching the original mail. Now I would need to extract that message
part, some kind of un-defang.
Being unable to automatically recover the original mail makes the
feature of defanging prevent keeping spam in a file/mbox/IMAP and later
resubmit to SpamAssassin for learning. How do you use defang plus keep a
collection of spam for re-learning?
I currently do:
1) check for spam, if yes, defang
2) send to users inbox
Some users use IMAP to move spams to a spam folder which is used for re-
learning. But obviously that doesn't help, we'd need the original mail
to learn spam.
Turning off defang in amavis is not wanted, as I really want to prevent
users from accidentally clicking on spam. Or is there some defang type
functionality in SpamAssassin directly, which can be undone
automatically?
fetchmail from "spam box" , set fetchmail to deliver via smtp, procmail
pipe thru ripmime, save spam msg part, drop original, use spam part to
learn...