配置
[root@nullmail ~]# vim /etc/postfix/main.cf
76 myhostname = nullmail.example.com
83 mydomain = example.com
99 myorigin = westos.com ##172.25.254.129的域名
113 inet_interfaces = all
164 mydestination =
316 relayhost = 172.25.254.119
[root@nullmail ~]# systemctl restart postfix
测试
[root@nullmail ~]# mail root