X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mail-setup;fp=postfix-setup;h=819aa8d0623cd48420bd7dfac345f88b046a794c;hb=7002af6b587b8d66d1f3b58ae77f09fa3d794d15;hp=efe27bb87aaa70d5e2d492de49ecb6eb614d9cae;hpb=2ef2e2c1c255c3642e6b152595e2dc95488c2c10;p=distro-setup diff --git a/postfix-setup b/mail-setup similarity index 98% rename from postfix-setup rename to mail-setup index efe27bb..819aa8d 100755 --- a/postfix-setup +++ b/mail-setup @@ -48,9 +48,9 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR 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