SUMMARY: mh-6.8.3

From: Charles M. Richmond <cmr_at_iisc.com>
Date: Thu, 25 Jun 1998 14:14:39 -0400

Original question:
> Does anyone have a copy of the compile options that need to be in
> the ./conf/MH file during a 'mhconfig MH' before doing the 'make'?
>
> I have upgraded to sendmail-8.9.0 from 8.8.8 and the builtin mh 6.7
> breaks with '553' in check_mail if the sendmail V8 config file is used.

I got three good answers.

Mike Iglesias <iglesias_at_draco.acs.uci.edu>
Larry Griffith <larry_at_garfield.wsc.mass.edu>

Both sent me their compile options. These are appended to this email.

Anthony Talltree <aad_at_nwnet.net> had a different suggestion. He said
* MH is long dead. nmh is a descendent that is actively being developed.
* ftp://ftp.math.gatech.edu/pub/nmh/nmh.tar.gz

Given the hairy nature of the compile options for mh-6.8.3 and the 'newer'
nature of 'nmh', I tend to agree with Anthony's picturesque comment. Or
perhaps I should say that I did agree with it. It is easy to configure
and build, using the FSF introduced 'configure' utlity and the installation
goes well. The MIME enhancements are fine, but I have a couple of complaints.
One of those is relatively fatal.

The non-fatal complaint is that I want show to show me the full header
with all of the routing information. Maybe this is configurable but
given the fatal problem it is a moot point.

The fatal problem is that nmh does not yet deal with Asian language
content types and conversions.

For now the hack that fixes my sendmail problem is to use the 'send'
from nmh and to keep most of the mh-6.7 executables. Next week when I
have some space to breath (!ha!) I will build 6.8.3 and submit a new
version of this summary.

************
From: Mike Iglesias <iglesias_at_draco.acs.uci.edu>

Here's what I used quite a while ago. You may need to tweak things for
a newer rev of DUnix. There are some patches included that need to
be applied too.


Mike

# A DEC Alpha running OSF/1

# RunTime Environment
bin /dcs/packages/mh-6.8.3/bin
etc /dcs/packages/mh-6.8.3/etc
mandir /dcs/packages/mh-6.8.3/man
manuals standard
mail /var/spool/mail
mts sendmail/smtp

# Bulletin Boards
bbdelivery on
bboards pop
bbhome /usr/local/bboards

# pop support
pop on
popdir /dcs/packages/mh-6.8.3/etc
options POP2 RPOP

# Compilation Environment
cc cc
ccoptions -O -Olimit 700
curses -lcurses -ltermlib
ldoptions -s

#
ranlib on
chown /usr/bin/chown
oldload none

# Compilation Options
signal void
sprintf int
options BIND
options BSD42
options BSD43
options DBMPWD
options FOLDPROT='"0700"'
options LOCKF
options MHE
options MHRC
options MIME
options MSGPROT='"0600"'
#options NTOHLSWAP
options OSF1
options RENAME
options SYS5DIR
options UCI
options UNISTD
options VSPRINTF
options WAITINT
options WHATNOW
options ZONEINFO
*** mts/sendmail/smail.c.dist Tue Nov 30 20:00:56 1993
--- mts/sendmail/smail.c Thu Nov 17 09:16:12 1994
***************
*** 1055,1060 ****
--- 1055,1061 ----
  static int smtalk (time, fmt, a, b, c, d)
  register int time;
  register char *fmt;
+ char *a, *b, *c, *d;
  {
      register int result;
      char buffer[BUFSIZ];
*** uip/conflict.c.dist Tue Nov 30 20:01:35 1993
--- uip/conflict.c Thu Nov 17 10:52:38 1994
***************
*** 14,19 ****
--- 14,23 ----
  #include <locale.h>
  #endif
  
+ #ifdef OSF1
+ extern void free();
+ #endif
+
  #define NDIRS 100
  #define NGRPS 100
  
*** zotnet/mts/client.c.dist Thu Nov 17 09:12:56 1994
--- zotnet/mts/client.c Thu Nov 17 09:15:08 1994
***************
*** 359,369 ****
  
  /* taken from ISODE's compat/internet.c */
  
! #ifndef DG
! u_long inet_addr ();
  #else
  struct in_addr inet_addr ();
  #endif
  
  
  static char *empty = NULL;
--- 359,373 ----
  
  /* taken from ISODE's compat/internet.c */
  
! #ifdef OSF1
! unsigned int inet_addr ();
  #else
+ #ifndef DG
+ u_long inet_addr ();
+ #else
  struct in_addr inet_addr ();
  #endif
+ #endif
  
  
  static char *empty = NULL;
***************
*** 375,384 ****
  char *s;
  {
      register struct hostent *h;
! #ifndef DG
      static u_long iaddr;
  #else
      static struct in_addr iaddr;
  #endif
      static struct hostent hs;
  
--- 379,392 ----
  char *s;
  {
      register struct hostent *h;
! #ifdef OSF1
! static unsigned int iaddr;
! #else
! #ifndef DG
      static u_long iaddr;
  #else
      static struct in_addr iaddr;
+ #endif
  #endif
      static struct hostent hs;
  
*** zotnet/mts/lock.c.dist Tue Nov 30 20:01:30 1993
--- zotnet/mts/lock.c Thu Nov 17 09:16:11 1994
***************
*** 72,78 ****
--- 72,82 ----
  static int b_lkopen(), lockit(), f_lkopen();
  static lockname(), timerON(), timerOFF();
  
+ #ifdef OSF1
+ time_t time ();
+ #else
  long time ();
+ #endif /* OSF1 */
  
  /* */
  
*** zotnet/tws/dtime.c.dist Tue Nov 30 20:01:43 1993
--- zotnet/tws/dtime.c Thu Nov 17 09:16:12 1994
***************
*** 107,113 ****
--- 107,117 ----
  
  #define CENTURY 1900
  
+ #ifdef OSF1
+ time_t time ();
+ #else
  long time ();
+ #endif /* OSF1 */
  struct tm *localtime ();
  
  /* */
***************
*** 175,181 ****
--- 179,189 ----
      tw.tw_zone = -(timezone / 60);
  #else /* defined(SYS5) */
  #if defined(ZONEINFO)
+ #ifdef __alpha
+ tw.tw_zone = (int)tm->tm_gmtoff / 60;
+ #else
      tw.tw_zone = tm->tm_gmtoff / 60;
+ #endif
      if (tm -> tm_isdst) /* if DST is in effect */
          tw.tw_zone -= 60; /* reset to normal offset */
  #else /* defined(ZONEINFO) */
*** mhn.c.dist Tue Nov 30 20:01:36 1993
--- mhn.c Mon Dec 05 16:03:52 1994
***************
*** 1014,1019 ****
--- 1014,1020 ----
  #include "../h/mhn.h"
  
  
+ #undef si_value
  struct str2init {
      char *si_key;
      int si_value;
*** vmh.c.dist Tue Nov 30 20:01:39 1993
--- vmh.c Thu Aug 17 08:36:04 1995
***************
*** 2,8 ****
  #ifndef lint
  static char ident[] = "_at_(#)$Id: vmh.c,v 1.20 1993/08/25 17:29:44 jromine Exp
$";
  #endif /* lint */
! #if defined(SYS5) && !defined(TERMINFO)
  /*
   * Define TERMINFO if you have it.
   * You get it automatically if you're running SYS5, and you don't get
--- 2,8 ----
  #ifndef lint
  static char ident[] = "_at_(#)$Id: vmh.c,v 1.20 1993/08/25 17:29:44 jromine Exp
$";
  #endif /* lint */
! #if defined(SYS5) && !defined(TERMINFO) || defined(OSF1)
  /*
   * Define TERMINFO if you have it.
   * You get it automatically if you're running SYS5, and you don't get


******************************************************************
********************************************************************
From: Larry Griffith <larry_at_garfield.wsc.mass.edu>

Dear Charles,

     You've probably already gotten a reply, but just in case here's
mine:

# _at_(#)$Id: MH,v 1.7 1990/04/06 09:44:31 sources Exp $
# a 4.2BSD VAX system running SendMail
bin /usr/local/bin
bboards off
etc /usr/local/lib/mh
mail /var/spool/mail
manuals standard
mandir /usr/local/man
chown /sbin/chown
curses -lcurses -ltermlib
cc cc
ccoptions -taso -g
ln ln -s
mts sendmail/smtp
ldoptions -taso -s
ldoptlibs -lbsd
pop on
popdir /usr/local/etc
options RENAME FLOCK SYS5DIR ZONEINFO VSPRINTF APOP DPOP POP2
options POPSERVICE='"pop3"' RPOP FOLDPROT='"0700"' TERMINFO
signal void
sprintf int
options BSD43 BSD42 DUMB MHE MHRC MIME MSGPROT='"0600"' DBMPWD OSF1
options WAITINT BIND FLOCK UNISTD RPATHS
editor /usr/bin/emacs
Received on Thu Jun 25 1998 - 20:15:42 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT