shell脚本发信: cd /usr/lib/zabbix/alertscripts touch mail.sh 写入如下内容: #!/bin/bash export LANG=zh_CN.UTF-8 FILE=/tmp/mailtmp.