From: lfahnoe@kegworks.mn.org (Larry Fahnoe)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: smail vs. 3.0
Date: 14 Nov 92 14:36:18 GMT
Organization: The Kegworks, Minneapolis, Minnesota

In article <Bxou5t.IKr@news.cso.uiuc.edu> jeffo@uiuc.edu (J.B. Nicholson-Owens) writes:
>Has anyone compiled and installed smail under 3.0?  I'm fed up with sendmail  
>the sendmail config files, so I asked a bunch of people if there's anything  
>nicer to deal with and they said 'smail'.  I've found a version that can use  
>NetInfo stuff (3.1.28) but I cannot get it to compile under NeXTSTEP 3.0.

Hmmm, I get a clean compile under 3.0.  I used the EDITME file that I'd
set up under 2.0, did a make clean, make depend, followed by make and
things still compile just fine.  Following is a context diff of the
changes that I made to EDITME-dist (this is Smail 3.1-28):

*** EDITME	Sat Sep 26 21:54:17 1992
--- EDITME-dist	Thu Sep 10 03:07:19 1992
***************
*** 121,127 ****
  # This may save some disk space at the expence of the ability to do
  # symbolic debugging.
  
! STRIP=yes
  
  
  # USE_SYMLINKS - define this if you wish to use symlinks when installing
--- 121,127 ----
  # This may save some disk space at the expence of the ability to do
  # symbolic debugging.
  
! #STRIP=yes
  
  
  # USE_SYMLINKS - define this if you wish to use symlinks when installing
***************
*** 135,141 ****
  # one copy of the smail binary to be installed.  Do not define this
  # if your system does not have symbolic links.
  
! USE_SYMLINKS=yes
  
  
  # OS_TYPE - define the operating system type for your machine
--- 135,141 ----
  # one copy of the smail binary to be installed.  Do not define this
  # if your system does not have symbolic links.
  
! #USE_SYMLINKS=yes
  
  
  # OS_TYPE - define the operating system type for your machine
***************
*** 150,156 ****
  #OS_TYPE=aix3.1				# IBM AIX 3.1
  #OS_TYPE=aix3.2				# IBM AIX 3.2
  #OS_TYPE=bsd4.2				# 4.2 BSD systems
! #OS_TYPE=bsd4.3				# 4.3 BSD systems
  #OS_TYPE=cpc3.0				# Counterpoint C-XIX Release 3.0
  #OS_TYPE=forpro				# fortune FOR:Pro 2.1 to 3.1
  #OS_TYPE=sco3.2				# SCO UNIX 3.2
--- 150,156 ----
  #OS_TYPE=aix3.1				# IBM AIX 3.1
  #OS_TYPE=aix3.2				# IBM AIX 3.2
  #OS_TYPE=bsd4.2				# 4.2 BSD systems
! OS_TYPE=bsd4.3				# 4.3 BSD systems
  #OS_TYPE=cpc3.0				# Counterpoint C-XIX Release 3.0
  #OS_TYPE=forpro				# fortune FOR:Pro 2.1 to 3.1
  #OS_TYPE=sco3.2				# SCO UNIX 3.2
***************
*** 171,177 ****
  #OS_TYPE=delta				# Motorola delta
  #OS_TYPE=mips-bsd4.3			# MIPS Risc/OS in bsd universe
  #OS_TYPE=3b2-s5.3+win			# 3b2 with SVR3.2 and WIN TCP/IP
- OS_TYPE=next2.0				# NeXT 2.x
  
  
  # ARCH_TYPE - architecture type
--- 171,176 ----
***************
*** 677,685 ****
  # under SMAIL_BIN_DIR.  The SMAIL_BIN_DIR should be a directory
  # that is commonly in users search path (i.e., $PATH).
  
! #SMAIL_BIN_DIR=/usr/local			# BSD local convention
  #SMAIL_BIN_DIR=/usr/amdahl/bin			# convention for UTS/580
! SMAIL_BIN_DIR=/usr/local/bin			# yet another convention
  #SMAIL_BIN_DIR=/usr/smail/bin			# I use this right now
  
  
--- 676,684 ----
  # under SMAIL_BIN_DIR.  The SMAIL_BIN_DIR should be a directory
  # that is commonly in users search path (i.e., $PATH).
  
! SMAIL_BIN_DIR=/usr/local			# BSD local convention
  #SMAIL_BIN_DIR=/usr/amdahl/bin			# convention for UTS/580
! #SMAIL_BIN_DIR=/usr/local/bin			# yet another convention
  #SMAIL_BIN_DIR=/usr/smail/bin			# I use this right now
  
  
***************
*** 749,756 ****
  # is required by the smail binary as it is released.  See smail(5)
  # and smail(8) for more details on this and related topics.
  
! #LIB_DIR=/usr/lib/smail				# common convention
! LIB_DIR=/usr/local/lib/smail
  #LIB_DIR=/usr/smail/lib				# I use this right now
  
  
--- 748,755 ----
  # is required by the smail binary as it is released.  See smail(5)
  # and smail(8) for more details on this and related topics.
  
! LIB_DIR=/usr/lib/smail				# common convention
! #LIB_DIR=/usr/local/lib/smail
  #LIB_DIR=/usr/smail/lib				# I use this right now
  
  
***************
*** 779,786 ****
  # that mkaliases will be installed only under the name mkaliases.
  
  #NEWALIASES=$UTIL_BIN_DIR/newaliases
! NEWALIASES=/usr/local/bin/newaliases
! #NEWALIASES=/usr/ucb/newaliases			# BSD location
  #NEWALIASES=/usr/lib/newaliases			# UTS/580 location
  
  
--- 778,785 ----
  # that mkaliases will be installed only under the name mkaliases.
  
  #NEWALIASES=$UTIL_BIN_DIR/newaliases
! #NEWALIASES=/usr/local/bin/newaliases
! NEWALIASES=/usr/ucb/newaliases			# BSD location
  #NEWALIASES=/usr/lib/newaliases			# UTS/580 location
  
  
***************
*** 864,879 ****
  #	YP maps.  In any case, use whatever works in your
  #	environment.
  
! #ALIASES_FILE=/usr/lib/aliases			# compatible with sendmail
  #ALIASES_FILE=aliases				# for file under LIB_DIR
  #ALIASES_FILE=mail.aliases			# YP (NIS)
! ALIASES_FILE=NetInfo				# for NeXT NetInfo aliases
  
  #ALIASES_TYPE=dbm				# compatible with sendmail
! #ALIASES_TYPE=lsearch				# for sites without dbm(3x)
  #ALIASES_TYPE=bsearch				# for sorted files, faster
  #ALIASES_TYPE=aliasyp				# YP (NIS)
! ALIASES_TYPE=nialias				# for NeXT NetInfo aliases
  
  
  # ALIASES_REMOVE_SENDER - remove the sender (by default) from alias expansions
--- 863,878 ----
  #	YP maps.  In any case, use whatever works in your
  #	environment.
  
! ALIASES_FILE=/usr/lib/aliases			# compatible with sendmail
  #ALIASES_FILE=aliases				# for file under LIB_DIR
  #ALIASES_FILE=mail.aliases			# YP (NIS)
! #ALIASES_FILE=NetInfo				# for NeXT NetInfo aliases
  
  #ALIASES_TYPE=dbm				# compatible with sendmail
! ALIASES_TYPE=lsearch				# for sites without dbm(3x)
  #ALIASES_TYPE=bsearch				# for sorted files, faster
  #ALIASES_TYPE=aliasyp				# YP (NIS)
! #ALIASES_TYPE=nialias				# for NeXT NetInfo aliases
  
  
  # ALIASES_REMOVE_SENDER - remove the sender (by default) from alias expansions
***************
*** 991,998 ****
  #UUCP_SYSTEM_FILE=/usr/lib/uucp/L.sys		# use this for normal UUCP
  #UUCP_SYSTEM_FILE=/usr/lib/uucp/Systems		# use this for HoneyDanBer UUCP
  #UUCP_SYSTEM_FILE=/etc/uucp/Systems		# for System V Release 4
- UUCP_SYSTEM_FILE=/usr/local/conf/uucp/sys	# for Taylor-UUCP
  
  # SPOOL_DIRS - smail spooling directories
  #
  # required
--- 990,997 ----
  #UUCP_SYSTEM_FILE=/usr/lib/uucp/L.sys		# use this for normal UUCP
  #UUCP_SYSTEM_FILE=/usr/lib/uucp/Systems		# use this for HoneyDanBer UUCP
  #UUCP_SYSTEM_FILE=/etc/uucp/Systems		# for System V Release 4
  
+ 
  # SPOOL_DIRS - smail spooling directories
  #
  # required
***************
*** 1059,1065 ****
  
  #NEWS_SPOOL_DIR=/usr/spool/news
  #NEWS_SPOOL_DIR=/var/spool/news
- NEWS_SPOOL_DIR=/wrk/spool/news
  
  
  # UUWHO_FILE - file used to store the uuwho file
--- 1058,1063 ----
***************
*** 1112,1118 ****
  #TMP_DIR=$UNSHAR_MAP_DIR/tmp			# common for unsecure /tmp
  #TMP_DIR=/usr/tmp				# if /usr/tmp is sticky
  #TMP_DIR=$LIB_DIR/tmp
- TMP_DIR=$SPOOL_DIRS/tmp
  
  
  # SECURE_PATH - path for smail utilities
--- 1110,1115 ----
***************
*** 1128,1134 ****
  #SECURE_PATH=/bin:/usr/bin:/usr/ucb		# common for BSD systems
  #SECURE_PATH=/bin:/usr/bin:/usr/amdahl/bin	# common for UTS/580 systems
  #SECURE_PATH=/bin:/usr/bin			# common for System V system
- SECURE_PATH=/usr/local/bin:/bin:/usr/bin:/usr/ucb
  
  
  # MAN1 - where smail user command man pages are to be installed
--- 1125,1130 ----


-- 
Larry Fahnoe                        Cellular One
612/832-7616                        7900 S. Xerxes Ave, Suite 301
lfahnoe@kegworks.mn.org             Minneapolis, MN  55431
Newsgroups: comp.sys.next.sysadmin