Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!hpda!hpsemc!bd
From: bd@hpsemc.UUCP (bob desinger)
Newsgroups: comp.emacs
Subject: Re: Using RMAIL under HPUX
Message-ID: <3720010@hpsemc.UUCP>
Date: Mon, 30-Nov-87 19:26:35 EST
Article-I.D.: hpsemc.3720010
Posted: Mon Nov 30 19:26:35 1987
Date-Received: Sat, 5-Dec-87 02:34:41 EST
References: <8711251805.AA02481@mitre-bedford.ARPA>
Organization: HP SEMC, Cupertino, CA
Lines: 29

Tim Wade mentions a diagnostic:
> movemail: error creating lock file

Is the problem that movemail isn't setgid to mail?  System V (and
HP-UX, which is SysV) implements mail security by making the maildrop
directory /usr/mail writable to the group mail.  Programs wishing to
play in /usr/mail must be setgid and owned by group mail.  Here's how
it is on our HP-UX system, a model 840:

drwxrwxr-x   2 bin      mail        1024 Nov 25 18:45 /usr/mail
-rwxr-sr-x   2 root     mail      137216 Oct  2 00:00 /bin/rmail

If this is the problem (I haven't looked at movemail's sources and
they're not on-line right now), do the following:

	cd /usr/local/lib/emacs/etc	# or wherever movemail lives
	chgrp mail movemail
	chmod g+s movemail

The last two steps will require super-user permissions unless you are
a member of group `mail' (in /etc/logingroups or /etc/groups).

I don't use rmail, but I do use `M-x display-time' which uses the
loadst program.  I had to do a similar thing so that loadst could read
/dev/kmem: change loadst's group to comply with System V's protection
mechanism.

bob desinger
HP Software Evaluation and Miplanplanp. .vax