[Gllug] ,mime Decoding mail

David Pashley david at davidpashley.com
Wed Mar 5 10:46:37 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 05 Mar 2003 9:57 am, Tethys wrote:
> Allen Wayne writes:
> >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?
>
> Find something that'll split the file into individual messages (pgrep or
> similar should do this), and then pipe them into metamail.
>
> Tet

Alternatively you could get your hands dirty with perl, MIME::Tools and 
Mail::Folder::Mbox. It should only be about 10-15 lines.

- -- 
David Pashley
david at davidpashley.com
Nihil curo de ista tua stulta superstitione.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ZdWPYsCKa6wDNXYRAhBdAJ9CtFPl19UIYpuB1EH6m7+o2OwqyACgk5o3
GtkejtMGee+9pR+6TcTjLnw=
=DiSs
-----END PGP SIGNATURE-----

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




More information about the GLLUG mailing list