Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2013 19:09:59 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Martin McCormick <martin@x.it.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Procmail Decoding Mime Messages
Message-ID:  <alpine.BSF.2.00.1304241908420.32380@wonkity.com>
In-Reply-To: <201304242107.r3OL7Z55094161@x.it.okstate.edu>
References:  <201304242107.r3OL7Z55094161@x.it.okstate.edu>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 24 Apr 2013, Martin McCormick wrote:

> 	Is there a filter that one can run in procmail in which
> base64 encoded data go in and text comes out so one can allow
> procmailrc to do its work?
>
> 	I use bogofilter to filter spam and it does a very good
> job after one builds a core of spammishness, but legitimate
> messages are often-times filled with base64 sections that look
> like garbage to the regular expressions that one puts in
> .procmailrc for sorting mail.
>
> 	When searching for information, I found something called
> mimencode which both encodes and decodes these attachments, but
> there is no FreeBSD port called mimencode so it occurred to me
> that some other application might exist which is in the ports
> that does basically the same thing.
>
> 	Is there anything which will take a raw email message
> and spit out linear strings which can be processed like normal
> text?

mail/maildrop has a reformime program which may be useful.  maildrop 
itself is like a better and easier to use procmail.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1304241908420.32380>