reformime - experimental MIME utility



SYNOPSIS

reformime [options] ...

DESCRIPTION

reformime is an experimental set of MIME functions that's new to maildrop release 0.60. WARNING - this is extremely new code. Bang at it, and see what happens.

reformime expects to see an RFC-822 compliant message on standard input.

If no options are given, reformime prints MIME structure of the message. The output will consist of so-called "MIME reference tags", one per line. For example, you might see the following output:

 
    1
    1.1
    1.2
This tells you that the message contains two different MIME sections. The first line will always contain "1", which refers to the entire message, which happens to be a multipart/mixed message. "1.1" refers to the first section of the message, which happens to be text/plain section. "1.2" refers to the second section of the message, which happens to be an application/octet-stream section. This is a typical situation.

If the message is not a MIME message, or it does not contain any attachments, you will see a rather boring

 
    1
If the first part of the message was itself a multipart/alternative section, you would see the following instead:
 
    1
    1.1
    1.1.1
    1.1.2
    1.2


OPTIONS



SEE ALSO

maildrop(1), maildropfilter(1), reformail(1), egrep(1), grep(1), sendmail(8)