#!/bin/sh -e if test -f "${__object}/parameter/send-test-email" then modified=false if grep -q '^__mail_alias/root:' "${__messages_in}" then modified=true elif grep -q '^__dma_auth/' "${__messages_in}" then modified=true elif grep -q '^__dma/' "${__messages_in}" then modified=true fi if $modified then cat <<-EOF sendmail root <