[comp.sources.d] Small SMTP package

jom@belltec.UUCP (Jerry Merlaine) (01/18/89)

Last spring, Johan Vromans, jv@mh.nl.UUCP, posted a minimalist implementation
of SMTP for use with smail 2.5.  The shar file that I found,
named 'sm-smtp', only has some of the programs.  It did not include
'smtpq', 'smtpqer', 'runsmtpq', 'cleansmtpq', or 'returnsmtpmail'.
Were these supposed to be in the package?
Would Mr. Vromans please post them or mail them to me?
Is anyone else using the package?  The smtp client and daemon in the
package look good, and talk to each other just fine.  It looks like with 
the rest of the bunch, it will be much better than sendmail, mmdf, et. al.

Thanks in advance,

Jerry O. Merlaine
pacbell.com!belltec!jom

jv@mhres.mh.nl (Johan Vromans) (01/19/89)

From article <338@belltec.UUCP>, by jom@belltec.UUCP (Jerry Merlaine):
> Last spring, Johan Vromans, jv@mh.nl.UUCP, posted a minimalist implementation
                                 ^^^^^^^^^^ yechhh
> of SMTP for use with smail 2.5.  The shar file that I found,
> named 'sm-smtp', only has some of the programs.  It did not include
> 'smtpq', 'smtpqer', 'runsmtpq', 'cleansmtpq', or 'returnsmtpmail'.
> Were these supposed to be in the package?

I have reworked an SMTP mailer package which was kindly given me
by <utstat.toronto.edu!geoff>, and posted the server and client.
Although the original package included queuing scripts, I did not
work on them and hence did not post them.

> Would Mr. Vromans please post them or mail them to me?

I would be glad to send them to someone who is willing to verify
their working and integrate them with the reworked server/client
programs. As an alternative, I can send the original package from <geoff>
AS IS.

> Is anyone else using the package?  The smtp client and daemon in the
> package look good, and talk to each other just fine.  It looks like with
> the rest of the bunch, it will be much better than sendmail, mmdf, et. al.

In a great number of situations, they do.
-- 
Johan Vromans			 jv@mh.nl via european backbone (mcvax)
Multihouse [A-Za-z ]* [NB]V			uucp: ..!mcvax!mh.nl!jv
Gouda - The Netherlands				  phone: +31 1820 62944

geoff@utstat.uucp (Geoff Collyer) (01/21/89)

The SMTP code posted by Johan is derived from redistributable code
originally written at MIT, for an in-kernel SMTP.  I think I am allowed
or possibly required to say that; I will let the somewhat confusing
source file notice.h speak for itself:

	#ifndef lint
	static char *notice_sccsid = "@(#)notice.h	1.3 87/01/29";
	#endif lint
	/*  Copyright 1984 Massachusetts Institute of Technology

	Permission to use, copy, modify, and distribute this program
	for any purpose and without fee is hereby granted, provided
	that this copyright and permission notice appear on all copies
	and supporting documentation, the name of M.I.T. not be used
	in advertising or publicity pertaining to distribution of the
	program without specific prior permission, and notice be given
	in supporting documentation that copying and distribution is
	by permission of M.I.T.  M.I.T. makes no representations about
	the suitability of this software for any purpose.  It is pro-
	vided "as is" without express or implied warranty.		*/

Ian Darwin converted their SMTP listener to a standalone UNIX program; I
converted their SMTP talker and wrote the SMTP queueing based on a
clever idea from the Lucasfilm SM mailer: the message envelope is a
shell script that tries to deliver the message when executed.  Peter
Honeyman picked up the whole thing, added MX lookups to the SMTP talker
and debugged the whole package, live on the Internet, including revising
the queueing scripts to cope with unreachable hosts.  I believe this is
the version that Johan modified and distributed.

Since then, Bell Labs Research has picked up this package and revised it
further, notably to make some queuing scripts into C programs for faster
execution.  Their code is not redistributable, but could appear some day
as part of other software.
-- 
Geoff Collyer	utzoo!utstat!geoff, geoff@utstat.toronto.edu