Technical article 104788

Mail directory /usr/spool/mail is removed when Sendmail or MMDF is disabled

OpenServer 5.0.0

Written · Last revised

Problem

When switching MTA's (Mail Transport Agents, such as Sendmail or MMDF) by using custom(ADM) to disable one and enable the other, the directory /usr/spool/mail is removed. The user is not warned of this and may be alarmed that all of the mailboxes within this directory have also been removed.

Cause

The /usr/spool/mail directory is listed under both the MMDF and Sendmail packages so when these packages are disabled, this directory is also removed.

Solution

The mailboxes that were in /usr/spool/mail are saved in
/tmp/savedmail and can be copied back to /usr/spool/mail
once MMDF or Sendmail is enabled.  By enabling one of these
MTA's, the directory /usr/spool/mail is recreated.

From the Xinuos technical article database, record 104788. Reproduced with permission. The original is at www.sco.com/ta/104788, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.