. functions export HELOHOST=f.q.d.n rm -f testmail cat >testmail < To: Subject: Nullmailer automated test message Just testing, please ignore EOF for p in smtp qmqp do echo "Testing host not found error with $p." error 2 protocol $p this.host.can.not.exist