[comp.mail.mh] sharing a folder?

mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) (03/11/88)

How difficult is it to set up an MH folder to be shared by multiple
users so that the following conditions hold:

	- works under Ultrix (VAX 4.2bsd is close, if you don't know Ultrix)
	- only members of a particular group may access the MH folder
	- all simultaneous users of this folder get a consistent view of
	  its contents: e.g., if larry, moe, and curly are all using this
	  folder and moe decides to delete message 42, either
		(a) both larry and curly must then see that message 42 has
		    been deleted, or even better
		(b) MH marks message 42 for deletion in a way that lets
		    larry, moe and curly all realize that it's been so
		    marked, but only commits the deletion when the folder
		    is no longer beig read by anyone.
	  Also, new messages delivered to /usr/spool/mail/whatever are
	  automagically incorporated into this folder, and in addition,
	  if larry, moe and curly are currently using the folder, all 3
	  receive notification that new mail has arrived in this folder.

Is this asking for the impossible?

Thanks,
Mike Khaw
-- 
internet:  mkhaw@teknowledge-vaxc.arpa
usenet:	   {uunet|sun|ucbvax|decwrl|uw-beaver}!mkhaw%teknowledge-vaxc.arpa
USnail:	   Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303

rk9005@cca.ucsf.edu (Roland McGrath) (03/14/88)

Is there anything wrong with:
	larry % mkdir ~/Mail/shared;chmod 770 ~/Mail/shared
	larry % refile -src +inbox 10:50 +shared
	joe % ln -s ~larry/Mail/shared ~/Mail/shared
	joe % rmm +shared 42
	larry % show +shared 42
	show: invalid message number
	moe % ln -s ~larry/Mail/shared ~/Mail/shared
	moe % refile -src +to-share-with-j+l all +shared
	larry % folder +shared
	shared has 999 messages (1-1000)
	larry % scan +shared 41:43
	41 chuck hi << Hi Joe!
	43 bob   screw you << Screw you, Moe!!

Everybody happy?
-- 
	Roland McGrath
ARPA: roland@rtsg.lbl.gov roland@lbl-rtsg.arpa
UUCP: ...!ucbvax!lbl-rtsg.arpa!roland