1.修改postfix端口
vim /etc/postfix/master.cf
0.0.0.0:25025 inet n - n - - smtpd
2.清空postfix队列
1)停止postfix
service postfix stop
2)清除所有发送队列
postsuper -d ALL
3)启动postfix
service postfix start
3.postfix队列重新排队
#某封邮件排队
postsuper -r queue_id
#排队所有邮件
postsuper -r ALL
4.开启debug日志
#与本机交互的主机或域名,打出详细信息
debug_peer_list=qq.com
转载于:https://blog.51cto.com/heishi317/1404562