Problem
A user or set of users gets an error about their mailbox being
locked and they cannot read mail. The system is using MMDF as a
mail delivery agent. Cause
The individual mailbox may be locked, or there may be some other
lock that is preventing mail from working properly. The problem
may be user-specific or system wide. Solution
There are several commands that should be run to fix the permissions and clean out lock files.
On SCO UNIX Operating System Version 4.2 and earlier, you should run fixperm(ADM) on either the mail package or on the entire system. The command would look like:
cd /
fixperm -csd MAIL /etc/perms/extto check only the MAIL package, or:
cd /
fixperm -cs /etc/perms/*to check all the installed packages.On SCO OpenServer Release 5.0.0 and later, you should run a "System Verify (Thorough)" through the Software Manager.
Next, run the fixmog(ADM) command "fixmog -v".
Finally, run the command "/usr/mmdf/bin/cleanlck". This command
parses the mail delivery directory, the /tmp directory, the
/usr/mmdf/table directory, and the mail queue directories, and
removes any errant or otherwise unnecessary lock files./usr/mmdf/bin/cleanlck is run automatically during a reboot, when going into multiuser mode, but it may be necessary to run the command manually.
Note that if you set the "MLCKTYPE" variable to "advisory", you
shouldn't have problems with lock files. See other articles in
this database for more information on that parameter. See also
Other articles in this database, mmdftailor(F) man page.