diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-29 07:21:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-29 07:21:59 +0000 |
commit | da29d9ce40a1ee2642354bc2f08dcde3d378df6c (patch) | |
tree | 8d768b72e102c22ae0775fb02b895b8904e0982a /libexec/mail.local/mail.local.8 | |
parent | 56c9bfc7c9905cbacb4cbe3644f6c827e6e0b2a1 (diff) |
first cut at -H; to be used mailers to grab locks in 755 spool direectories
Diffstat (limited to 'libexec/mail.local/mail.local.8')
-rw-r--r-- | libexec/mail.local/mail.local.8 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libexec/mail.local/mail.local.8 b/libexec/mail.local/mail.local.8 index ddbf6db30fe..6b0903164cc 100644 --- a/libexec/mail.local/mail.local.8 +++ b/libexec/mail.local/mail.local.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)mail.local.8 6.8 (Berkeley) 4/27/91 -.\" $Id: mail.local.8,v 1.4 1996/08/29 04:24:33 deraadt Exp $ +.\" $Id: mail.local.8,v 1.5 1996/08/29 07:21:57 deraadt Exp $ .\" .Dd April 27, 1991 .Dt MAIL.LOCAL 8 @@ -43,6 +43,7 @@ .Op Fl L .Op Fl l .Op Fl f Ar from +.Op Fl H .Ar user ... .Sh DESCRIPTION .Nm Mail.local @@ -67,6 +68,14 @@ Request that .Fn flock be used for locking the mail spool rather than .Nm username.lock . +.It Fl H +This mode is useful for a client mail program to attain proper locking. +In this mode +.Nm mail.local +(ignoring all other arguments) attains a +.Nm username.lock +for the calling user and retains it until stdin is closed or a +SIGINT signal is received. .El .Pp Individual mail messages in the mailbox are delimited by an empty |