SUMMARY: URGENT: /var/spool/mail export problems

From: Tim Evans (tkevans@eplrx7.es.dupont.com)
Date: Mon Jan 22 1996 - 08:47:15 CST


Earlier, I wrote (to both these mailing lists):

>I've just replaced my main mail-handling machine (a Sun) with an
>IBM RS/6000. /var/spool/mail on the new machine is exported via
>the automounter. All my other RS/6000's can see/mount the
>mail spool, and users have no trouble reading mail.
>
>Sun users, however, can see/mount the mailspool, but get locking
>errors on trying to read their mail.
>
>/etc/exports on the mailhost says:
>
>/var/spool/mail -access=mount:trust,root=host1:host2
>
>(mount and trust are netgroups)
>
>The automounter map entry for the filesystem is:
>
>mail -rw,grpid,noquota,soft,intr mailhost:/var/spool/mail
>
>Help much appreciated. Thanks.
>
Thanks to:

Morrow Long <long-morrow@CS.YALE.EDU>
"Michael S. Fischer" <mfischer@nsi.edu>
Andy_Feldt@phyast.nhn.uoknor.edu (Andy Feldt)
Zhiyi Huang <zh@cc.bellcore.com>
Kevin.Sheehan@uniq.com.au (Kevin Sheehan {Consulting Poster Child})
Nate Itkin <Nate-Itkin@ptdcs2.intel.com>
"James J. Waldram" <waldram@cat.Uwyo.EDU>
David Hawes <dhawes@dcs.qmw.ac.uk>

Besides one scathing message, taking me to task for using an NFS mail
spool in the first place, the other replies were mostly helpful.
It's always great for people on these mailing lists to tell you
you're an idiot when you ask for substantive help. :-)

It turns out that the main problem (which James Waldram identified)
came from merging the Sun and AIX /etc/group files. (The replaced Sun
system was also our master NIS server; I neglected to point this out in
my original posting.)

Specifically, several of the standard groups in SunOS and AIX, including
'mail,' have different gid's. Merging the two /etc/group files left the new
AIX system with incorrect group ownership on mail-related files and
directories. This caused the inability of Sun MUA's (OpenWindows
and CDE mailtool, as well as command-line packages like 'mailx'
and 'elm') to be unable to create lock files in the mail spool.
AIX users, of course, could happily read their mail with no
trouble.

Morrow suggested adding 'acttimeo=0' to the automounter map entry
for the mail spool, and Kevin suggested removing the 'soft'
flag. Nate was generally critical of IBM's implementation of NFS
server services, suggesting Sun's was better; he even expressed
the belief that an x86 Solaris machine would probably be a better
NFS server than the RS/6000.

-- 
Tim Evans                     |    E.I. du Pont de Nemours & Co.
tkevans@eplrx7.es.dupont.com  |    Experimental Station
(302) 695-9353/8638 (FAX)     |    P.O. Box 80357
EVANSTK AT A1 AT ESVAX        |    Wilmington, Delaware 19880-0357



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT