centos : 启动sendmail
or
使用python创建一个

python -m smtpd -n -c DebuggingServer localhost:25