type=$1
postfix() { [[ $type == postfix ]]; }
-exim() { [[ $type == exim ]]; }
+exim() { [[ $type == exim4 ]]; }
if ! exim && ! postfix; then
- echo "$1: error: expected exim or postfix as first arg"
+ echo "$1: error: expected exim4 or postfix as first arg"
exit 1
fi