procmail
[Top] [All Lists]

RE: MIMEdefang-like Tool that can be used from procmail?

2002-01-30 10:25:24
At 17:18 2002-01-30 +0100, Reiner Buehl wrote:
any way. Is this correct? Are there any other programs I could use
as filters to strip of all binary attachments?

Stripmime. Search the list archives - there are URL references to it. It is a very basic perl script which strips out all the MIME attachments, leaving only the plain text ones.

You could probably hack at a copy of Sanitizer such that when it actually spots a questionable attachment, then it'd pipe the message to stripmime or similar (probably after first filing a copy of the original). Perhaps a pointed request to the author of Sanitizer for such a feature option might work?

In my experience though, the really large attachments are when someone sends an AVI, MOV, PDF (not all are large), PPT (or whatever the powerpoint extension is), or DOC file (and there are probably others, but this is a quick off the top of my head list) - the other types of files you list are usually employed in viruses, who's general intent is to come in under your radar, so HUGE doesn't generally allow them to spread as far. If you're looking to filter out LARGE attachments only, you're probably going to be left with viruses and an occasional picture attachment...

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail