ArticleslgStudy

computer science

MH Message Handling System

MH Message Handling System is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand MH Message Handling System rather than just read about it. In short: The MH Message Handling System is a free, open source e-mail client. It is different from almost all other mail reading systems in that, instead of a single program, it is made from several different programs which are designed to work from the command line provided by the shell on Unix-like operating systems.

Key takeaways

  • MH Message Handling System belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect MH Message Handling System to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of MH Message Handling System from memory before moving on to harder problems.

Reference excerpt

The MH Message Handling System is a free, open source e-mail client. It is different from almost all other mail reading systems in that, instead of a single program, it is made from several different programs which are designed to work from the command line provided by the shell on Unix-like operating systems. Another difference is that rather than storing multiple messages in a single file, messages each have their own separate file in a special directory. Taken together, these design choices mean that it is very easy and natural to script actions on mail messages using the normal shell scripting tools. Descendants of MH continue to be developed under the names of nmh and mmh. GNU Mailutils also contains an implementation of MH.

Design Designed with the Unix philosophy in mind, MH is composed of separate programs such as show, to view a message, scan, to see message titles and rmm to remove messages. By using the pick program, it is possible to select messages, based on sender for example, which the other programs act on. Because the different programs are run separately and at different times, communication between them has to be arranged specially. Information such as the mail which is currently selected is stored in files (in this case by an .mh_sequences file in the user's MH directory tree).

History MH was proposed by R. Stockton Gaines and Norman Shapiro and developed by Bruce S. Borden and others at RAND Corporation. The initial version of MH had been created by 1979. Subsequently development was taken over by Marshall T. Rose and John L. Romine working at University of California, Irvine. The last release of MH was 6.8.4 which was a maintenance patch for the 6.8.3 release, and it's in the public domain. nmh ("new MH") is a current active version of MH. It was forked from version MH 6.8.3 by Richard Coleman while working at the Georgia Institute of Technology, and released under the BSD License,. It incorporates the "LBL changes" made to MH in the late 80s by Van Jacobson, Mike Karels and Craig Leres. The most recent release is nmh 1.8, 18 February 2023. . mmh ("meillo's mail handler") is a fork of nmh, but their user interface are incompatible.

Performance The performance of MH is very much dependent on the file system and other features of the operating system that it runs on. Every read of a message will require starting a separate program, a directory scan in a large directory and a file open before the data can even be accessed. On the other hand, mailbox formats such as mbox which use a single file often require insertion or removal of data in the middle of the file when messages are read or altered and this can be a very slow procedure. In these cases MH will be much faster. The maildir storage format made popular by qmail and the Courier Mail Server improves upon several features first shown in MH: a separate file per message, a separate directory per mail "folder," and exploitation of hardlinks and other advanced filesystem features for improved performance in space and time.

Interface MH is inherently a command line based system. For a graphical interface, the original program was xmh, an X Window System application. After development of xmh ceased, a similar tool called exmh was developed in Tcl/Tk; and last updated January 7, 2004. Exmh is considered feature-complete and since 2004 there has been little development beyond bug fixes. An Emacs interface to MH is also provided by the MH-E project. In addition to these dedicated MH clients, support for MH mailboxes is included in several other clients such as Claws Mail, Novell Evolution, Mutt and Sylpheed.

See also List of email clients MH & xmh: Email for Users & Programmers nmh Message Handling System meillo's mail handler (mmh)

References

External links Original MH homepage at the Wayback Machine (archived 2009-02-25) Current MH homepage Early history from MH & xmh: Email for Users & Programmers, by Jerry Peek

Worked examples

Example 1 — a first encounter with MH Message Handling System

Start with the simplest possible case. Write down what MH Message Handling System claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to MH Message Handling System before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about MH Message Handling System ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of MH Message Handling System

In research
MH Message Handling System appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses MH Message Handling System in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
MH Message Handling System is common in secondary-school and first-year university syllabi. It links to neighbouring topics Email client software for Linux, Email storage formats, Free email software, so understanding it makes those chapters shorter.
In everyday life
Look for MH Message Handling System outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “MH Message Handling System” →

How to study MH Message Handling System in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MH Message Handling System means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain MH Message Handling System out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MH Message Handling System in simple terms?

The MH Message Handling System is a free, open source e-mail client. It is different from almost all other mail reading systems in that, instead of a single program, it is made from several different programs which are designed to work from the command line provided by the shell on Unix-like operat…

Why does MH Message Handling System matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study MH Message Handling System?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on MH Message Handling System.

Tags

  • Email client software for Linux
  • Email storage formats
  • Free email software
  • Software using the BSD license
  • Unix Internet software

Keep exploring