+----- On Tue, 25 Aug 1998 09:16:14 PDT, Darren Benham writes: | | How about if, instead, I change the script to exit error codes? The *real* | script I want used it more complicated.. | | On 25-Aug-98 Michael Salmon wrote: | > In general it is not a good idea to do what you have done as sendmail | > expects all programs that it invokes to exit with one of the codes in | > /usr/include/sysexits.h and your script is nearly guaranteed to not do | > that. If something goes wrong you will send a lot of "unknown mailer | > error" error messages. A better approach is: | > | >|"/home/vote/bin/test.sh || exit 75" | > | > which will cause sendmail to requeue your mail (75 works for most | > systems but check sysexits first to be sure). | > It is always best to do that of course, the problem is that scripts in particular sometimes have unusual ways of exiting and you have to catch them all otherwise you'll end up sending an "unknown mailer error" sooner or later. /Michael - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e