[Gllug] ,mime Decoding mail

Richard W.M. Jones rich at annexia.org
Wed Mar 5 11:57:47 UTC 2003


On Wed, Mar 05, 2003 at 08:16:16AM -0000, Allen Wayne wrote:
> Hi All,
> 
> I have been asked by one of my users to bulk decode all of the mime encoded
> bit from a linux mailbox file, without having to recourse to pine and open
> up each message. I have looked at uudecode and mmencode -u, but it looks
> like I'll have to split the message up into individual blocks first.. Any
> ideas?
> 
> Something along the lines
> 
> Decode fred fredstore
[...]

You could solve this in a few minutes with formail, perl and
MIME::Entity.

Rich.

-- 
Richard Jones, Red Hat Inc. (London, UK) http://www.redhat.com/software/ccm
http://www.annexia.org/ Freshmeat projects: http://freshmeat.net/users/rwmj
C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes,
trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list