First of all, thanks for your help.

> ----------
> 
> "EXT-Li, Yung A" <[EMAIL PROTECTED]> writes:
> > > "EXT-Li, Yung A" <[EMAIL PROTECTED]> writes:
> > > > I'm trying to use nmh-1.0.2 on HPUX 10.20 and I'm having this problem ...
> > > > 
> > > > "Now, 'inc' won't work.  The error says "can't fopen and lock
> > > > /var/mail/<mymaildrop>"
> [...]
> > > On HP-UX 10.20, /var/mail is writable by the mail group, but not by
> > > 'other'.  Therefore, inc needs to be installed setgid mail.  I just
> > > installed nmh-1.0.2 on an HP-UX 10.20 machine and verified that this works
> > > properly.  Are you installing as root?  If not, you won't be able to make
> > > inc setgid.
> >
> > Unfortunately, I'm not root and can't get root on this box.
> 
> I know almost nothing about file locking, so I'll have to leave it to other
> list members to comment on what one can do in such a situation.  Perhaps nmh
> should steal some of procmail's code -- it seems to be pretty robust in
> terms of figuring out how it can do file locking successfully on all file
> system types it's going to need to deal with.
> 
> By any chance did your /var/mail used to be a local filesystem but now your
> system administraors have changed it to be NFS-mounted?  Perhaps that's why
> the file locking is failing.
> 
> 
No. /var/mail has always been local.


> > > Or did you perhaps re-run configure?  nmh-1.0.2 had a bug (now fixed in the
> > > latest nmh-1.0.2+dev source) where if you re-ran configure the name of the
> > > group owning the mail spool would become NULL in uip/Makefile.
> > 
> > I did re-run configure.  
> 
> Well, that was my point, you don't _want_ to, since re-running breaks
> uip/Makefile. 
> 
> > But I've even wipe out the source tree and re-extracted the tar
> > files. Same problem.
> 
> Which same problem?  It still wants to run autoheader?  That shouldn't be
> the case -- the timestamps are set up correctly.  You can use make -d to
        <...>

Yes, it still wants to run autoheader.  That's why I'm pulling my hair out ...
I'll include the error mesg from 'make'.

Like I said, this thing did build the first time I try it.  did not have this 
'autoheader'
problem before... I don't think my make is broken, unless someone changed it
between Monday night and last night.

My solution to file locking is to change 'config.h' to use an alternative directory for
locking, like ~/locks.

Thanks.

> > Also, the doc. seems to suggest that I can change "mts.conf" to change the
> > locking behavior.  But it seems like I have to change "config.h" and
> > recompile.
> > 
> > Is this right?
> 
> Oh, yes, you're right.  The documentation on file locking shouldn't really
> be in the mh-tailor man page, since it's a compile-time option, not
> configurable by mts.conf.  Maybe someone moved the documentation there
> anticpating making it run-time configurable or something...
> 
> -----------------------------------------------------------------------
> 

Reply via email to