Technical article 105633

Unable to delete mail, get error "/usr/spool/mail/:saved/username: no such directory".

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

Users (including root) report that they can read and delete mail as normal, but when they exit out of the mail session they receive the error:

usr/spool/mail/:saved/username: no such directory

and the mail remains in the user's mailbox.

Cause

The directory /usr/spool/mail/:saved is missing or corrupted.

Solution

Manually re-create the directory and change the permissions to the proper settings:

cd /usr/spool/mail
mkdir :saved
chmod 1777 :saved
chown mmdf :saved
chgrp mmdf :saved

Then go back into your mail tool and read and delete mail as usual.

From the Xinuos technical article database, record 105633. Reproduced with permission. The original is at www.sco.com/ta/105633, 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.