functions.sh: test for mail program