Out of Office: A History of the Automatic Email Reply

TL;DR: The out-of-office reply is older than the World Wide Web. In 1983 Eric Allman, a programmer at the University of California, Berkeley, wrote a small Unix program called vacation. It answered your mail while you were away. It replied to each sender only once a week, so two away messages could not answer each other forever. That one-week rule was written into an internet standard, RFC 3834, in 2004. A later standard used by many mail servers kept the same default. Microsoft’s name for the feature, “OOF”, comes from its own early internal mail system.


Almost everyone who uses email at work has set an out-of-office reply. Few people think about why it behaves the way it does. Why does it reply only once, however many times you email someone? Why does it not reply to mailing lists? Why does Microsoft call it OOF and not OOO?

The answers go back more than 40 years. This piece follows the automatic reply from a Berkeley source file to the settings in Microsoft 365. It is a companion to our history of the email signature, the other piece of text that email adds for you.

1983: a program called vacation

The first widely used automatic reply was a program called vacation. Eric Allman wrote it at the University of California, Berkeley. The copy in the 4.3BSD source code, kept by The Unix Heritage Society, carries a 1983 copyright notice in his name.

BSD was Berkeley’s version of the Unix operating system, used across universities and research labs. Earlier copies of vacation sit in the same folder as sendmail, the program that delivered mail on those systems. By 4.3BSD it was a command of its own.

The idea was simple. You wrote a message in a file called .vacation.msg. While you were away, the program sent that message to anyone who emailed you.

The comment at the top of the source code explains what it does. It returns “a message specified by the user to whoever sent the mail”. It also takes “care not to return a message too often to prevent ‘I am on vacation’ loops.”

The problem it solved: two away messages talking to each other

That last line names the problem every automatic reply has to solve. Suppose two people are both away, and one emails the other. Each away message replies to the other, which triggers another reply, and so on. The two programs can keep each other busy for as long as the mail servers allow.

Allman’s fix was to remember who the program had already answered. The source code sets a constant called ONEWEEK. Mail from the same sender within a week got no second reply.

It also stayed quiet for mail that was not really from a person. It skipped messages marked as bulk or junk mail. It also skipped mail from mailing-list addresses ending in “-request” and from system addresses such as Postmaster and MAILER-DAEMON.

The problem never fully went away. A Microsoft developer, Rick Schaut, later described an “OOF infinite loop” on his Microsoft blog. Person A’s reply says to contact person B, and person B’s reply says to contact person A. No software can fix that one.

Why Microsoft calls it OOF

Microsoft abbreviates Out of Office as OOF, not OOO. Its own documentation on out-of-office replies still uses OOF throughout. It links to a 2004 Exchange team blog post for anyone who has “wondered why”.

According to that post, OOF was a command in Xenix. That was the version of Unix that Microsoft used for its own internal email before Exchange existed. The name stayed when the feature moved into Exchange and Outlook. A popular story says OOF stands for “out of facility”, but Microsoft’s own explanation traces it to Xenix.

2004: the rules get written down

For about 20 years, each mail program made up its own rules for automatic replies. Not all of them were as careful as vacation. In August 2004, Keith Moore of the University of Tennessee published RFC 3834, “Recommendations for Automatic Responses to Electronic Mail”.

RFCs are the documents that set the technical standards for the internet. RFC 3834 lists the problems that automatic replies had caused: useless or unwanted replies, replies sent to the wrong addresses and occasional mail loops. It names “out of the office” and “vacation” notices among the programs it covers. It uses vacation as its worked example. Its main rules will look familiar:

  • Once a week per sender. It recommends a 7-day period as the default before replying to the same person again. That is the same week Allman chose in 1983.
  • Only mail sent to you. An away message should reply only when your address is in the To, Cc or Bcc line. That keeps it from replying to every mailing list you are on.
  • Never to automated mail. It defines a new header, Auto-Submitted, which marks a message as sent by a program. An automatic reply sets it, and other automatic replies check for it and stay quiet.

The RFC also warns about what people put in their replies. It says the text of a reply reaches colleagues and also “the entire Internet, including potential attackers.” It gives a personal or mobile phone number as an example of information to leave out.

2008: a standard way to set it on the server

The 1983 program ran on the same computer as your mailbox. As email moved to shared servers, providers needed a standard way to let people set an away message there.

In January 2008, RFC 5230 added a vacation command to Sieve, a standard language for filtering email on a mail server. The RFC describes it as an autoresponder “similar to that of the Unix ‘vacation’ command”. If you do not choose a period, its default is again 7 days.

Inside and outside the organisation

Microsoft took a slightly different route in Exchange. By Exchange 2007 and Outlook 2007, people could set two different replies: one for colleagues inside the organisation and one for everyone outside. Microsoft’s remote domains documentation lists both types as supported from that version.

That split mattered. An internal reply can name the colleague covering your work and give their extension. An external reply can say much less, which is exactly what RFC 3834 had warned about.

Exchange Online keeps a simpler version of the old once-a-week rule. It sends one reply per sender for as long as the reply is switched on. The list of people already answered is cleared when you turn the reply off or change it. It can hold up to 10,000 senders, according to Microsoft’s troubleshooting guide.

Why a 1983 decision still shapes your inbox

Most of what an out-of-office reply does today was decided in one small Berkeley program.

  • It replies once, not to every message, because of the loop Allman wanted to avoid.
  • It stays quiet on mailing lists and automated mail because RFC 3834 wrote down rules that vacation already followed.
  • Its default memory is a week because Allman picked a week.

The warning in RFC 3834 has also aged well. An away message goes to anyone who emails you, including strangers. It tells them who is away, for how long and who to contact instead. That is useful to clients, and also to anyone trying to impersonate you or your colleagues. Keeping the external reply short, and saving the detail for the internal one, follows advice that is more than 20 years old. Out of office message examples has wording that does this, and the settings to use.

Frequently asked questions

Why do I only get one out-of-office reply when I email someone several times?

Automatic replies remember who they have already answered, to avoid flooding you and to stop two away messages replying to each other forever. Most servers follow RFC 3834 and reply once a week per sender. Exchange Online replies once per sender until the person turns their reply off or changes it.

What is the difference between OOO and OOF?

They mean the same thing: out of office. OOO is the common abbreviation. OOF is Microsoft’s internal name, which comes from a command in Xenix, the system Microsoft used for email before Exchange. You will still see OOF in Microsoft’s documentation and admin tools.

Sources

  1. vacation.c, 4.3BSD source code — The Unix Heritage Society
  2. RFC 3834 — Recommendations for Automatic Responses to Electronic Mail — RFC Editor
  3. RFC 5230 — Sieve Email Filtering: Vacation Extension — RFC Editor
  4. Understanding and troubleshooting Out of Office (OOF) replies — Microsoft Learn
  5. The OOF Infinite Loop — Microsoft Learn
  6. Remote domains (Exchange Server 2013) — Microsoft Learn