Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Unix, what is metamail and how do I use it?

In Unix, metamail is a utility for integrating MIME into electronic mail programs like MH and Berkeley mail. When a mail program encounters a non-text message that it cannot itself handle, it calls metamail to decode and, if possible, display it. When invoked, metamail decodes the quoted-printable or Base64 attachment, and then consults a mailcap file to determine how to open it. If there is no mailcap entry for the attachment type, metamail usually saves it to a file. Otherwise, it passes the attachment to an interpreter program. For example, it may open an image viewer to display an attached GIF file.

Note: To properly open most multimedia attachments, such as image and sound files, you'll need to be using the X Window System.

Some computers will have a systemwide mailcap file located in an administrative directory such as /etc/ or /usr/local/etc/ . You can also create your own and keep it in the home directory of your account. For information about how to create one, read the mailcap man page. For more information about the metamail program itself, consult the manual page for metamail.

If you want to install metamail on your system, you can get it from:

ftp://ftp.research.telcordia.com/pub/nsb/mm2.7.tar.Z

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document aibt in domain all.
Last modified on December 02, 2009.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.