postfix 最简 安装

安装版本:

 

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

猜你喜欢

转载自sharp-fcc.iteye.com/blog/1872958