From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7a01654699d9257f X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,7a01654699d9257f X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,7a01654699d9257f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-31 05:24:31 PST Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!cs.utk.edu!cs.utk.edu!moore From: moore@cs.utk.edu (Keith Moore) Newsgroups: comp.unix.osf.osf1,comp.unix.ultrix,comp.sys.dec Subject: Re: Mail Locking Ultrix/OSF Date: 30 Dec 1994 21:59:36 GMT Organization: Univ. of Tenn. Computer Science, Knoxville Distribution: world Message-ID: <3e1vs8INN1p8@CS.UTK.EDU> References: <3e1p6l$i3f@amhux3.amherst.edu> Reply-To: moore@cs.utk.edu NNTP-Posting-Host: wilma.cs.utk.edu Xref: nntp.gmd.de comp.unix.osf.osf1:7061 comp.unix.ultrix:16383 comp.sys.dec:20732 In article <3e1p6l$i3f@amhux3.amherst.edu>, pdchapin@unix.amherst.edu (PAUL D. CHAPIN) writes: > In the past, we've nfs shared a single filesystem containing mail > messages across mutliple Ultrix workstations. This makes it nice since > you can get your mail anywhere, and people don't have to know what > node you work on to send you mail. And it's a lot easier than having > to worry about a central mail hub. > > The problem is that we're adding OSF/1 workstations, and they aren't > being very cooperative. It's no problem to mount the mail filesystem > and read messages from it, but it you try to mail anything to it you > get various kinds of locking problems. I can find very little doc on > file locking with mail under Ultrix. I'm beginning to suspect that > this was tightened up on OSF to get rid of some mail related security > problems. The question is whether this basic strategy will work at all > across Ultrix/OSF platforms and would it make any difference if I > moved the mail filesystem from Ultrix to OSF? As far as I can tell, NFS file locking has never worked reliably, on any platform. However, we have been using NFS-mounted mailboxes for several years without too many problems. The key is to always have mail routed to the mail server machine (which has the mailboxes on local disk) for delivery. This can be done by tweaking sendmail config files on both the client machines (to send all mail to the server) and the server machine (to accept mail for all client domains for local delivery). There are other tricks which also help, including using an automounter on the mail server to mount people's "home directories", and a special delivery agent that interprets a missing "home directory" as a termporary failure condition (so if the user has a .forward file and the file system is down, the user's mail will get queued until the .forward file is available again.) To eliminiate quirks of various vendor-supplied sendmails, we use Berkeley sendmail on all of our platforms (which include several different UNIX variants). With Berkeley sendmail, our OSF/1 clients have worked acceptably with such a configuration. We have not tried doing this with DEC sendmail, nor using an OSF/1 machine as a mail server. -- Keith Moore NETLIB development group Computer Science Department / University of Tennessee at Knoxville 107 Ayres Hall / Knoxville TN 37996-1301 Let's stamp out drug testing in our lifetime.