服务器系统:ubuntu16.04
禅道版本:开源版V8.2.4
首先是在虚拟机(Ubuntu12.04)上面部署了禅道:一切正常。
禅道后台发信配置如下:

然后到服务器上配置,问题来了,发送测试邮件返回以下错误;

根据提示,在服务器测试:
ping smtp主机正常;

telnet登陆25号端口正常;

SELinux已经关闭;

然后一下就懵逼了,貌似一切都是正常的,然后对比了下和虚拟机的网络配置相关,都没发现什么问题;
最后折腾了半天,发现是域名解析的问题,果断尝试一下:
sudo vim /etc/hosts
添加一行:

再次测试,成功。

不过虚拟机没有改/etc/hosts域名解析也没有问题。