lockspool man page on MirBSD

Man page or keyword search:  
man Server   6113 pages
apropos Keyword Search (all sections)
Output format
MirBSD logo
[printable version]

LOCKSPOOL(1)		     BSD Reference Manual		  LOCKSPOOL(1)

NAME
     lockspool - lock user's system mailbox

SYNOPSIS
     lockspool [username]

DESCRIPTION
     lockspool is useful for a client mail program to attain proper locking.
     lockspool obtains a username.lock for the calling user and retains it un-
     til stdin is closed or a signal like SIGINT, SIGTERM, or SIGHUP is re-
     ceived. Additionally, the superuser may specify the name of a user in
     order to lock a different mailbox.

     If lockspool is able to create the lock file, "1" is written to stdout,
     otherwise "0" is written and an error message is written to stderr.
     lockspool will try up to 10 times to get the lock (sleeping for a short
     period in between tries).

     The lockspool utility exits 0 on success, and 1 if an error occurs.

FILES
     /var/mail/username.lock  user's mail lock file

SEE ALSO
     mail(1), mail.local(8), sendmail(8)

HISTORY
     The lockspool program appeared in OpenBSD 2.4.

MirOS BSD #10-current	       August 13, 1998				     1
[top]

List of man pages available for MirBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net