822mimeparts

Section: User Commands (1)
Index Return to Main Contents
 

NAME

822mimeparts - decompose a RFC 2822 message into its MIME parts and decode them as separate files  

SYNOPSIS

822mimeparts [ -h | -v | -l ]  

DESCRIPTION

822mimeparts reads an 822-format mail message on its standard input. It identifies the MIME parts in the mail body and writes the decoded individual MIME parts as separate files. The results of 822mimeparts operations are provided on STDERR.

If -v is given as argument, the location of the MIME parts in the message is given additionally with their approximate line numbers on STDERR. Providing -l will generate a symlink for an attachment in case a file name is given. 822mimeparts supports the 'getopts' argument style.

822mimeparts decomposes a 822 mail message in a 'flat' format not respecting its potential 'tree' structure given other RFC822 messages referenced there in.  

MIME PARTS

822mimeparts recognizes
- BASE64 and
- quoted-printable

MIME attachements which are decoded prior of writing them to a file. In case the attachment is supplied with a file name in the MIME section, it is shown on STDERR.

The name of a MIME parts file is structured in three tokens:

- the MIME boundary name concatenated by a 'dot',
- the RFC822 message id followed by a 'colon', and
- the enumerated MIME part number identified.

In case any information is missing 'unknown' is used as substitude.

822mimeparts cuts each input name to 8 characters and provides a normalization of the input names to exclude shell escape characters while using lower case characters entirely.

 

SEE ALSO

822header(1), 822body(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
MIME PARTS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:39:30 GMT, December 08, 2024