nmh/HPUX 10.20; inc probs

nmh/HPUX 10.20; inc probs

Post by Tom Rodman M68 5041|Tom Rodman|2981 S. Herman St|Milwaukee WI 532 » Sun, 30 May 1999 04:00:00



After downloading gcc, and GNU binutils for HPUX 10.20,
I was able to build nmh.  But I'm not clear about the config.h file
edits that are required, in particular the file locking settings.

No matter which file locking option I try, the inc command fails.
(either complains about inability to fopen/lock the mail file or
 core dumps; exactly what file permissions should "inc" have?)

Has anyone got a config.h file that works for HPUX 10.20?

(Hope I'm correct that the file is called "config.h".)

thanks,

Tom Rodman

 
 
 

nmh/HPUX 10.20; inc probs

Post by Tom Lan » Mon, 31 May 1999 04:00:00



Quote:> After downloading gcc, and GNU binutils for HPUX 10.20,
> I was able to build nmh.  But I'm not clear about the config.h file
> edits that are required, in particular the file locking settings.

I've used nmh on HPUX for years.  It works.  Attached are my notes
from the last install cycle, which was quite a while ago (gotta
upgrade...).  One or more of the mentioned points might be your
problem --- offhand I'd bet the very last item...

                        regards, tom lane

Configured nmh 0.17 with "./configure".

Configure screwups:
checking where mail spool is located... /dev/null

nmh configuration
-----------------
nmh version           : 0.17
compiler              : gcc
compiler flags        : -O2
linker flags          : -s
source code location  : .
binary install path   : /usr/local/nmh/bin
etc install path      : /usr/local/nmh/etc
libary install path   : /usr/local/nmh/lib
man page install path : /usr/local/nmh/man

Edit config.h and Makefile:

*** config.h~   Sat Aug 23 12:31:23 1997
--- config.h    Sun Aug 24 15:27:32 1997
***************
*** 18,25 ****
   *  HP-UX
   *  AIX
   */
! /* #define SYS5  1 */
! /* #define SVR4  1 */

  /*
   *  SunOS 4.1.x
--- 18,25 ----
   *  HP-UX
   *  AIX
   */
! #define SYS5  1
! #define SVR4  1

  /*
   *  SunOS 4.1.x
***************
*** 61,67 ****
   * group and add the setgid bit to `inc' manually after
   * installation.
   */
! /* #define MAILGROUP  1 */

  /*
   * Turn on locale (setlocale) support
--- 61,67 ----
   * group and add the setgid bit to `inc' manually after
   * installation.
   */
! #define MAILGROUP  1

  /*
   * Turn on locale (setlocale) support
***************
*** 92,98 ****
   * Define this if your passwords are stored in some type of
   * distributed name service, such as NIS, or NIS+.
   */
! #define DBMPWD  1

  /*
   * If this is defined, the repl command will have the
--- 92,98 ----
   * Define this if your passwords are stored in some type of
   * distributed name service, such as NIS, or NIS+.
   */
! /* #define DBMPWD  1 */

  /*
   * If this is defined, the repl command will have the
***************
*** 157,164 ****
  /*
   * Define the default creation modes for folders and messages.
   */
! #define DEFAULT_FOLDER_MODE "0711"
! #define DEFAULT_MESSAGE_MODE "0644"

  /*
   * The prefix to use when messages are "removed" by rmm.
--- 157,164 ----
  /*
   * Define the default creation modes for folders and messages.
   */
! #define DEFAULT_FOLDER_MODE "0700"
! #define DEFAULT_MESSAGE_MODE "0600"

  /*
   * The prefix to use when messages are "removed" by rmm.

*** Makefile~   Sat Aug 23 12:31:13 1997
--- Makefile    Sun Aug 24 15:32:57 1997
***************
*** 35,41 ****
  mandir      = ${prefix}/man

  # location of incoming mail
! mailspool   = /dev/null

  # location of mail transport agent
  sendmailpath = /usr/lib/sendmail
--- 35,41 ----
  mandir      = ${prefix}/man

  # location of incoming mail
! mailspool   = /usr/mail

  # location of mail transport agent
  sendmailpath = /usr/lib/sendmail

Make, then make install.

Adjust mts.conf and mhn.defaults appropriately.

Don't forget to make inc be setgid mail!
        cd /usr/local/nmh/bin
        chgrp mail inc
        chmod g+s inc

 
 
 

1. ACAP und HPUX 10.20

hi there,

did somebody get up the cyrus-acapd on a HP-Box ?
I fear, the dynamic-load of the sasl-methods would have
to be rewritten (there is noch ldopen/ldsym etc in HPUX)

   tschuess
             Stefan Mink
--
"Click here to drop the deutsche mark."

2. HELP! Setting up Samba

3. MH for HPUX 10.20

4. Recycling old NeXT monitor.

5. HPUX 10.20 and Mutt command line

6. Problem with hebrew font

7. Pine exits on 'Compose' ( HPUX 10.20 )

8. Download Software

9. Installing Pine on HPUX 10.20

10. Q: Pine 3.96 & HPUX 10.20 Hang Writing File/Sending Mail

11. 8.10.0.Beta6 on HPUX 10.20

12. 8.10.1 permissions problem at HPUX 10.20