marvit%hplpm@HPLABS.HP.COM (Peter Marvit) (09/05/88)
Here are the file by file changes HP made to stock MH6.6. If there is
enough interest, I'll post the change files.
-Peter Marvit
HP Labs
------------------------------ CUT HERE -------------------------------
>>>Thu Jun 23 13:57:12 PDT 1988
This logs all the HP specific changes which are made to MH6.6, as
distributed from louie.del.edu.
conf/MH.resolv Created this config file so MH can be compiled with the BIND
resolver code. Note that it expects the BIND's <netdb.h> to be in
/usr/local/include.
conf/makefiles/uip Added a chgrp mail and chmod g+s to the make for inc and
slocal. This may be HP-UX specific, but SYS5 may need it anyway.
h/mh.h Increased NFOLDERS from 100 to 300 for folks with lots of folders
(like me!).
h/strings.h Added a redefine of bcmp to memcmp for SYS5.
mts/sendmail/hosts.c #defined BSD42 if #defined (hpux) since HP-UX has full
4.2 networking.
mts/sendmail/smail.c Changed all instances of code 451 received to be
non-fatal, since they are almost always transient errors which should not
bomb out send/post. Otherwise they occasionally cause erroneous errors.
Also changed the time-out for the initial sendmail open (SM_OPEN) to be 90
seconds from 30 to get by name server slowness, pro tem. Finally, #defined
BSD42, if defined(hpux), since HP-UX is fully networked.
sbr/m_m_gmsg.c, sbr/m_readefs.c, sbr/m_seq.c, sbr/m_sync.c Increased length
of message sequence field (in .mh_profile) to 2*BUFSIZE (about 2048) for
folks with lots of messages.
sbr/makedir.c Added a recursive directory creation so 'folder +a/b/c/d'
will automatically create all the intermediates
support/pop/syslog.c #define'd BSD43, #ifdef hpux, since HP-UX is fully
networked.
support/general/replcomps As per jb%cs.brown.edu@ICS.UCI.EDU (message of 25
Jul 88), quoted the date to conform to RFC-822.
uip/inc.c Added some judicious setgid()'s to close a teeny security hole.
These are #ifdef'ed hpux, but they should probably work with SYSV.
uip/mark.c Added lkopen to make sure multiple simultaneous mark's don't
clobber the .mh_sequences. Added "[no]lock" (default is lock) so folks
could turn it off. All this has #ifdef hpux since it's been tested there.
It should work elsewhere though.
uip/mhlsbr.c & uip/forw.c Changed "-[no]dashmunging" from a hidden switch
to a visible switch.
uip/mhlsbr.c Added a hack to end spurious ">" every 510 characters or in
the body of a message which is included in the reply. Thanks John Schmitz.
Also added hpux to the ifdef of BSD42 so HP machines can use the faceproc.
uip/mhmail.c Allowed it to check .mh_profile if one exists, especially for
aliases.
uip/rcvdist.c Accepts the "-aliases" option.
uip/scan.c Allowed HP-UX folks to have -reverse without incurring the
garbage of "BSD" in other modules.
uip/slocal.c Added a switch (-[no]unixstyle) to specify whether slocal
should use UNIX mail style when dumping messages into a file (e.g., the
$MAILDROP!). Default is -unixstyle. Previously, it would always use MMDF
style. ). Supports a 'n' which can allow an "and" in the patterns in
.maildelivery. Also changed to actually look at the message protection
variable in mh_profile -- if the profile exists. Otherwise message
protection is set to the default created at mhconfig time. If slocal is
delivering to an "official" maildrop, appropriate ownerships and
permissions get set.
uip/sortm.c Started with the new Van Jacobson version with the -subject
sort. Simplified code a bit. Added -[no]pack for backwards compatibility
with old sortm. -pack is default but will not work with partial folders.
Subject sort was recoded to actually be subject major, date minor rather
than the date major, subject minor. Eventually I may do a generalized
field, but not yet.
uip/vmhfake.c Added this entire module since vmh is so flaky.
zotnet/mts/client.c Ifdef'ed the whole mess to include HP-UX. We're
networked now.
zotnet/tws/dtime.c Added Mountain Daylight Time, which was mysteriously
missing. Maybe Colorado reveres its cows?
zotnet/tws/dtimep.lex Moved the sections which #include's <time> to the
front of the file so the declarations come before the invocations.
zotnet/tws/lexstring.c Restored the "ifdef hpux" since the careful HP
engineers fixed the lex bugs which MH relies on!