functions.sh: redo test for mail program