[comp.mail.elm] ELM on suns

usenet@cps3xx.UUCP (Usenet file owner) (07/12/89)

We have a problem with the way mail is handled on the sun's vs. the
HP's. I cannot see any way to make my spool directory on the HP's under
ELM point to a NFS mounted spool directory on a sun. The problem seems
to lie in protections. If anyone has come up with a workable solution to
this problem I would love to hear of it. 

                                         Greg Fell
   

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
 Gregory Fell                  A. H. Case Center for CAE/M     
 Systems Analyst               236 Engineering Building       
                               Michigan State University     
 fell@frith.egr.msu.edu        East Lansing, MI 48824-1226  
 ...!uunet!frith!fell          Phone: (517) 353-8892    

"No one expects the Spanish Inquisition...."

jeff@quark.WV.TEK.COM (Jeff Beadles) (07/13/89)

In article <3759@cps3xx.UUCP> fell@frith.egr.msu.edu (Gregory Fell) writes:
>We have a problem with the way mail is handled on the sun's vs. the
>HP's. I cannot see any way to make my spool directory on the HP's under
>ELM point to a NFS mounted spool directory on a sun. The problem seems
>to lie in protections. If anyone has come up with a workable solution to
>this problem I would love to hear of it. 
>                                         Greg Fell

[ Thanks for the compliment on the previous message.  I guess that it's time
  for me to "earn" it now... :-) ]

Well, I would suspect that you might have Elm running suid as root...  Here's
what I do here, that seems to work:

% ls -lg `pathof elm`
-rwxr-sr-x  1 root     sys        249856 Jul 10 23:58 /usr/local/bin/elm

% ls -lgd /usr/spool/mail
drwxrwxr-x  2 root     sys           512 Jul 12 09:58 /usr/spool/mail

Notice that I'm not using root over NFS, but rather set GID sys.

Another thing is to check and see if rpc.lockd is running.  Elm attempts to
lock your spool mailbox when processing it.

If nothing else, send me mail with details, and we can summarize what we find
to the net.

	-Jeff
-- 
Jeff Beadles		Unix Engineering Group, Tektronix Inc.
jeff@quark.WV.TEK.COM	Member of the Elm Development Group