[comp.sources.bugs] Smail sends empty mail

john@moncol.UUCP (John Ruschmeyer) (10/12/87)

I have come across what would seem to be a minor bug in the recently posted
version of smail.

Specifically, trying to use 'mail' (actually, the 'svbinmail' front end) to
send an empty letter results in an empty letter being sent. This, however,
is inconsistant with the original /bin/mail (now /bin/lmail) which will not
send any mail.

I would assume that the problem is that smail is not smart enough to
realize it should ignore the empty piece of mail and send nothing. Instead,
it tacks on headers and passes it on to /bin/lmail which knows no better.

It wouldn't be so bad except that it breaks /bin/calendar very nicely.
(Every morning, you get this nice empty (except for headers) piece of
mail.)

To repeat:
	$ mail yourself </dev/null

System specifics:
	Edition VII (v7) on a Perkin-Elmer 3220.

-- 
Name:		John Ruschmeyer
US Mail:	Monmouth College, W. Long Branch, NJ 07764
Phone:		(201) 571-3557
UUCP:		...!vax135!petsd!moncol!john	...!princeton!moncol!john
						   ...!pesnta!moncol!john

	Give computers an artificial intelligence and the
	next thing you know they want to use the same bathroom.
					- Allan Dean Foster

johnm@auscso.UUCP (John B. Meaders) (10/13/87)

I was curious about the same problem with /usr/bin/calendar.
-- 
John B. Meaders, Jr.  1114 Camino La Costa #3083, Austin, TX  78752
ATT:  Voice:  +1 (512) 451-5038  Data:  +1 (512) 371-0550
UUCP:   ...!ut-sally!ut-ngp!auscso!jclyde!john
                                  \johnm