安装版本:
yum install postfix
注意:
postfix reload 这个命令在一些版本里面无法正常刷新配置,需要 postfix stop,然后postfix start 一下。
要远程访问到,需要在 /etc/postfix 下面修改main.cf
把前面的 # 去掉 xx.xx.xx.xx 是你远程机器的地址
mynetworks = 168.100.189.0/28, 127.0.0.0/8, xx.xx.xx.xx
inet_interfaces = all
在远程机器上 telnet xx.xx.xx.xx xx
helo
mail from :
rcpt to:
data:
quit
这么一套东西,测试是否能够正常的发送。
各邮件商反馈的log:
/var/log/maillog
本文详细介绍了如何在远程机器上安装并配置Postfix邮件服务器,包括安装步骤、配置主文件、允许远程访问以及验证邮件发送功能。通过简单的命令操作和邮件日志检查,确保邮件服务器稳定运行。
822

被折叠的 条评论
为什么被折叠?



