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?

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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to