DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Managing mail with MMDF

Mailbox locking problems

You may experience mailbox locking problems, signified by these error messages:

The MMDF configuration sets MLCKTYPE to all (MLCKTYPE allows you to specify the locking protocol for MMDF to use when locking users' mailboxes).

The MLCKTYPE parameter is useful if the users on the system use third party mail user agents (MUAs) that use a lock file that is different from the standard System V lock file.

This mailbox locking problem occurs when MMDF fails to unlink the /usr/spool/mail/username.lock or /tmp/username.mlk file, which is created to lock the mailbox. If mail is delivered to $HOME/.mailbox, the lock file is /tmp/.mailbox.lock. A subsequent fcntl(M) (kernel file locking) process returns with a permission denied error because it cannot lock the mailbox.

To resolve the locking problem, log in as root and enter this at the root prompt:

/usr/mmdf/bin/cleanlck


NOTE: You can use MLCKTYPE (in /usr/mmdf/mmdftailor) to specify other locking protocols. See ``The mmdftailor file''. However, changing locking protocols is not recommended.


Next topic: Undelivered messages in /usr/spool/mmdf/lock/home
Previous topic: Mail command hangs

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005