1、阿里云服务器上无法发送邮件的现象
2、原因及解决
阿里云对ECS服务器的25号端口出现进行了封锁;如果希望发送邮件,需要申请解封,地址是:https://yundun.console.aliyun.com。 路径是安全管控--业务申请--25端口解封。
47.94.x9.1xx(smtp.126.com) 2018-11-02 14:50:01 审核中 --
Step2:
查看centos中的postfix日志
$ more /var/log/maillog
postfix: fatal: parameter inet_interfaces: no local interface found for ::1
$ vi /etc/postfix/main.cf
配置为:
inet_interfaces = localhost
inet_protocols = all
改成:
inet_interfaces = all
inet_protocols = all
重新启动
service postfix start
这一步是可选的;
service postfix stop