procmail
[Top] [All Lists]

Re: Procmail recipe (or scipt) which move attachments into external store

2010-06-08 22:54:44
On Tue, Jun 08, 2010 at 11:16:24PM +0200, Michelle Konzack wrote:
before I go on and implement it, does someone has/know a procmail recipe
or script which remove BINARY attachments from messages and  store  them
externaly?

I use the Anomy sanitizer for that purpose: http://mailtools.anomy.net/

I have turned off all of the "disable HTML" functionality, and just use it to strip binary attachments, save them with a unique prefix in a specific directory, and replace them with a text/plain part that contains a URL that maps to that particular directory and file.

According to notes in my config file, I've been using it since November 2006, so apparently it's pretty reliable. <grin>

Ed

Attachment: signature.txt
Description: Digital signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>