Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site linus.UUCP
Path: utzoo!linus!sch
From: sch@linus.UUCP (Stephen C. Hemminger)
Newsgroups: net.news.b
Subject: Re: recmail problems
Message-ID: <26857@linus.UUCP>
Date: Thu, 9-Jun-83 21:32:29 EDT
Article-I.D.: linus.26857
Posted: Thu Jun  9 21:32:29 1983
Date-Received: Thu, 9-Jun-83 23:55:28 EDT
References: <307@qubix.UUCP> <3357@genrad.UUCP>
Organization: MITRE Corp., Bedford MA
Lines: 9

You better off to check the exit codes from the spawned mails,
something like:
		if(exstat != 0)
			mailerrs++;
followed by at the end of main:
	exit (mailerrs ? 1 : 0);

This will allow the reply shell script to check exit code appropriately.