head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	91.10.28.04.56.49;	author vixie;	state Exp;
branches;
next	1.4;

1.4
date	91.10.13.01.17.09;	author vixie;	state Exp;
branches;
next	1.3;

1.3
date	91.09.20.23.22.40;	author vixie;	state Exp;
branches;
next	1.2;

1.2
date	91.09.04.20.35.14;	author vixie;	state Exp;
branches;
next	1.1;

1.1
date	91.09.02.23.57.37;	author vixie;	state Exp;
branches;
next	;


desc
@utk 1.7beta 10jun90
@


1.5
log
@vixie
@
text
@Sun Oct 27 20:55:22 PST 1991  Paul Vixie  (vixie at decwrl)

	* mail11.c: fixed bug in calling of path_from_addr(); added
	  "device full" and "allocation error" as temporary errors.

Sat Oct 12 18:16:09 PDT 1991  Paul Vixie  (vixie at decwrl)

	* mail11.c: added FAKEDOM code, which we aren't using since
	  the gateway sendmail.cf tends not to be smart enough.

Fri Sep 20 16:21:43 PDT 1991  Paul Vixie  (vixie at decwrl)

	* mail11.c: removed "-" from the BREAK_SET; this appears to be
	  a safe character in modern VMS mail11 servers, so we don't
	  need to quote it anymore.

Wed Sep  4 13:23:48 PDT 1991  Paul Vixie  (vixie at decwrl)

	* Makefile: added 'lint' target, restructured a little bit

	* mail11.h: removed some definitions that aren't used any more

	* mail11.c: removed much lint.  added P() macro.  replaced "512"
	  with defined constant LINSIZ.  got rid of /tmp file; use malloc'd
	  list of lines to store the headers (note: this is not the same
	  code as previous WRL utk-mail11's used).  added "-debug" option,
	  used "if (showdebug)" rather than "#ifdef debug" to enable debug
	  output.  added paranoia to the "from" and "name" computations.
	  send rfc822 headers at end of message rather than at beginning;
	  put a banner in front of them and offset them and the banner with
	  the "% " string.  removed "strip" function which was not used.
	  try SYSTEM as recipient if POSTMASTER fails.

Mon May 14 00:46:53 1990  Keith Moore  (moore at betelgeuse)

	* version 1.7

	* mail11.c (mail11_get_status): remove code to look at VMS error
	  codes -- always look at message text instead.

	* mail11.c (get_final_status): only return EX_TEMPFAIL
	  if delivery to ALL recipients temp failed.  Otherwise those
	  recipients which did receive the message may get another copy
	  each time the message is retried, which is very annoying.

	* add support for block mode if requested by remote object.

	* change format of debugging messages.

Wed Jan 10 00:05:31 1990  Keith Moore  (moore at betelgeuse)

	* released version 1.6

Wed Nov 22 02:04:46 1989  Keith Moore  (moore at betelgeuse)

	* mail11.c (hack_node): strip double quotes when copying.

	* mail11.c (mail11_connect): when given a numeric node address
	  (rather than a node name), convert it to areanum.nodenum format
	  before handing it to SunLink DNI.  Ultrix code is not affected.

	From suggestions by Tony Nardo <trn@@warper.jhuapl.edu>

Wed Nov 15 16:47:33 1989  Keith Moore  (moore at betelgeuse)

	* mail11.c (match_pattern, hack_recipient)
	  Don't use toupper/tolower on arguments that aren't islower/isupper.

	  This worked on Ultrix but broke on Suns.

	  Fix reported by Tony Nardo <trn@@warper.jhuapl.edu>, with
	  slight changes.

	* mail11.c (parse_error_message)
	  Add check for "insufficient system resources" error message.

Wed Nov  8 12:36:27 1989  Keith Moore  (moore at menkar)

	* mail11.c (mail11_read) fixed misplaced #endif DEBUG which
	  was causing mail11 to fail on a Sun.  I suspect it has worked
	  on VAXen only by accident up until now.

	  Fix contributed by Tony Nardo <trn@@warper.jhuapl.edu>

Thu Nov  1 13:45:00 1989  Keith Moore  (moore at cs.utk.edu)

	* mail11.c (parse_error_message)  Check for "network partner
	  exited" message (for forwarded DECnet mail).

Tue Aug  1 18:20:35 1989  Keith Moore  (moore at BETELGEUSE.CS.UTK.EDU)

	* mail11.c: (hack_name) Add check for NULL argument in
	  case no user name is found.

Thu Jul 13 18:05:21 1989  Keith Moore  (moore at utkcs2)

	* mail11.c: (hack_name) only copy printable characters
	  and spaces into the MAIL-11 personal name field.

Fri Jul  7 00:43:34 1989  Keith Moore  (moore at utkcs2)

	* Add sysdep.h file that's automagically generated by
	  a Configure script that's called by Makefile.  This
	  isolates system dependencies and was easier than
	  writing detailed installation instructions.

	* mail11.c: (extract_from) correct bogus use of toupper macro.

	* (mail11_connect) Better error messages on connection failure.

Thu Jul  6 04:37:04 1989  Keith Moore  (moore at gawain)

	* version 1.5

	* (mail11_connect) Explicitly return the DECnet file descriptor.

	* Add Sunlink/DNI support.  Lots of code to handle
	  MAIL-11 binary data in a machine-independent fashion.

	* Compiled and tested (briefly) on DECStation 3100.

	* Removed noisy debugging messages now that the quoting
	  problem is understood to be a sendmail bug.

	* Misc fixes for non-ANSI compilers.

	* (Makefile) use $(CC) to link, not gcc.

	* Add README file, clean up man page.

Sun Mar 12 06:32:42 1989  Keith Moore  (moore at utkcs2)

	* Fix bug in entire_string_is_quoted that caused it
	  to sometimes return 0 incorrectly.

	* Added "Recipient is <%s>" message to mail11_get_status,
	  to aid in debugging.

/*
 * Modification history:
 *
 * 29 Jan 1989 by Keith Moore
 *   add code to examine error message text from remote mailer, to more
 *   reliably generate reply codes.
 *
 * 28 Jan 1989 (version 1.4) by Keith Moore
 *   revamp the recipient address conversion code (i.e. address quoting)
 *
 * 18 Jan 1989 by Keith Moore 
 *   always create temp file in mode 0600
 *
 * 10 Jan 1989 (version 1.3) by Keith Moore <moore@@utkcs2.cs.utk.edu>
 * - Look at several of the RFC822 headers to determine the best To:,
 *   From:, Cc: and Subj: addresses.  Algorithm used is similar to that
 *   used by PMDF.
 *
 * 5 Jan 1989 by Keith Moore
 * - Fix bug in scan that returned a random pointer when object wasn't found.
 * 
 * 4 Jan 1989 by Keith Moore
 * - Fix bug in arpadate which caused it to indicate daylight savings time.
 *
 * 23 Dec 1988 by Keith Moore
 * - Fix bug in get_header which was eating up large parts of some messages.
 *
 * 21 Dec 1988 by Keith Moore
 * - Version 1.2:
 *
 * - Limited record lengths to 512 characters to avoid DECnet limitation.
 *   longer records are folded, which causes extra newlines in the resulting
 *   message.  Block mode transmission might solve this problem.
 *
 * - Improved error handling -- if remote system is a VMS system, interpret
 *   certain VMS-specific error codes.
 */
@


1.4
log
@vixie
@
text
@d1 5
@


1.3
log
@vixie
@
text
@d1 5
@


1.2
log
@vixie@@decwrl
@
text
@d1 6
@


1.1
log
@Initial revision
@
text
@d1 17
@
