ArticleslgStudy

computer science

Sendmail

Sendmail 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 Sendmail rather than just read about it. In short: Sendmail is a general purpose internetwork email routing facility that supports many kinds of mail-transfer and delivery methods, including the Simple Mail Transfer Protocol (SMTP) used for email transport over the Internet. A descendant of the Delivermail program written by Eric Allman, Sendmail is a project of the free and open source software and Unix communities.

Sendmail — main illustration
Sendmail — illustration

Key takeaways

  • Sendmail 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 Sendmail to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sendmail from memory before moving on to harder problems.

Reference excerpt

Sendmail is a general purpose internetwork email routing facility that supports many kinds of mail-transfer and delivery methods, including the Simple Mail Transfer Protocol (SMTP) used for email transport over the Internet. A descendant of the Delivermail program written by Eric Allman, Sendmail is a project of the free and open source software and Unix communities. It has spread both as free software and proprietary software.

Overview Allman wrote the original ARPANET delivermail which shipped in 1979 with 4.0 and 4.1 BSD. He wrote Sendmail as a derivative of delivermail in the early 1980s at UC Berkeley. It shipped with BSD 4.1c in 1983, the first BSD version that included TCP/IP protocols. In 1996, approximately 80% of the publicly reachable mail-servers on the Internet ran Sendmail. More recent surveys have suggested a decline, with 3.64% of mail servers in March 2021 detected as running Sendmail in a study performed by E-Soft, Inc. A previous survey (December 2007 or earlier) reported 24% of mail servers running Sendmail according to a study performed by Mail Radar. Allman designed Sendmail to incorporate great flexibility, but it can be daunting to configure for novices. Standard configuration packages delivered with the source code distribution require the use of the M4 macro language which hides much of the configuration complexity. The configuration defines the site-local mail delivery options and their access parameters, the mechanism of forwarding mail to remote sites, as well as many application tuning parameters. Sendmail supports a variety of mail transfer protocols, including SMTP, DECnet's Mail-11, HylaFAX, QuickPage and UUCP. Additionally, Sendmail v8.12 as of September 2001 introduced support for milters - external mail filtering programs that can participate in each step of the SMTP conversation.

Acquisition by Proofpoint, Inc. Sendmail, Inc was acquired by Proofpoint, Inc. This announcement was released on 1 October 2013.

Security Sendmail originated in the early days of the Internet, an era when considerations of security did not play a primary role in the development of network software. Early versions of Sendmail suffered from a number of security vulnerabilities that have been corrected over the years. Sendmail itself incorporated a certain amount of privilege separation in order to avoid exposure to security issues. As of 2009, current versions of Sendmail, like other modern MTAs, incorporate a number of security improvements and optional features that can be configured to improve security and help prevent abuse.

Implementation As of sendmail release 8.12.0 the default implementation of sendmail runs as the Unix user smmsp — the sendmail message submission program.

See also List of mail servers Comparison of mail servers Mail delivery agent Mail user agent msmtp Internet messaging platform Morris worm MeTA1

Notes

References Bryan Costales with Eric Allman (October 2007). sendmail, 4th Edition. O'Reilly and Associates. — This is the Sendmail "bible" containing 1308 pages about Sendmail. It is also known as "The Bat Book", because of the picture on its cover. The 1st Edition was published in November 1993. Bryan Costales; George Jansen; Claus Assmann; Gregory Shapiro (September 2004). sendmail 8.13 Companion. O'Reilly and Associates. — A companion to sendmail, 3rd Edition, this book documents the improvements in V8.13 in parallel with its release. Craig Hunt (December 2003). sendmail Cookbook. O'Reilly. Nick Christenson (2002-09-13). sendmail Performance Tuning. Addison-Wesley. ISBN 978-0-321-11570-6. Paul Vixie; Frederick M Avolio (2002-01-09). sendmail Theory and Practice. Digital Press. ISBN 978-1555582296. Lourier, Philippe (1999). "History of Sendmail: Interview with Eric Allman". Dr. Dobb's Journal. Eric Allman; et al. (1999). Sendmail Evolution: 8.10 and Beyond (PDF). USENIX Annual Technical Conference. Archived (PDF) from the original on 2000-09-14.

External links Sendmail, Inc. Sendmail sources SMTPfeed, SMTP Fast Exploding External Deliverer for Sendmail. Daniel J. Bernstein, Internet SMTP server survey, October 2001 Mike Brodbelt, A brief history of mail

Worked examples

Example 1 — a first encounter with Sendmail

Start with the simplest possible case. Write down what Sendmail 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 Sendmail 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 Sendmail 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 Sendmail

In research
Sendmail 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 Sendmail 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
Sendmail is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1983 software, Email server software for Linux, Free email server software, so understanding it makes those chapters shorter.
In everyday life
Look for Sendmail 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 “Sendmail” →

How to study Sendmail in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sendmail 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 Sendmail out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sendmail in simple terms?

Sendmail is a general purpose internetwork email routing facility that supports many kinds of mail-transfer and delivery methods, including the Simple Mail Transfer Protocol (SMTP) used for email transport over the Internet. A descendant of the Delivermail program written by Eric Allman, Sendmail i…

Why does Sendmail 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 Sendmail?

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 Sendmail.

Tags

  • 1983 software
  • Email server software for Linux
  • Free email server software
  • Free software programmed in C
  • Message transfer agents

Keep exploring