Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2013 09:45:32 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Martin McCormick <martin@x.it.okstate.edu>, freebsd-questions@freebsd.org
Subject:   Re: Procmail Decoding Mime Messages
Message-ID:  <44y5c6zptv.fsf@lowell-desk.lan>
In-Reply-To: <20130425000436.5b999ba5.freebsd@edvax.de> (Polytropon's message of "Thu, 25 Apr 2013 00:04:36 %2B0200")
References:  <201304242107.r3OL7Z55094161@x.it.okstate.edu> <20130425000436.5b999ba5.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon <freebsd@edvax.de> writes:

> On Wed, 24 Apr 2013 16:07:35 -0500, 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?
>> [...]
>> 	Is there anything which will take a raw email message
>> and spit out linear strings which can be processed like normal
>> text?
>
> I think this is possible with uudecode, in this case b64decode.
> See "man uuencode" for more information.

uuencode predates MIME. Although there are MIME types defined for it,
the base-system tools don't handle the MIME headers or section marking. 

For this purpose, a MIME-aware tool (such as ripmime, or metamail, or
mmencode) will be much more useful as part of an automated filtering
system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44y5c6zptv.fsf>