postfix 安装及配置步骤
:# yum install postfix:# ps -eaf|grep sendmail(查看进程)
root 192918370 11:11 pts/0 00:00:00 grep sendmail
:# /usr/sbin/postfix start (开启 postfix 服务进程)
:# ps -eaf|grep postfix (查看进程)
:# ps -eaf|grep postfix (查看进程)
root 1649 10 10:56 ? 00:00:00 /usr/libexec/postfix/master
postfix 166116490 10:56 ? 00:00:00 pickup -l -t fifo -u
postfix 166216490 10:56 ? 00:00:00 qmgr -l -t fifo -u
root 194718370 11:15 pts/0 00:00:00 grep postfix
:# netstat -anp|grep :25(查看是否开启25端口)
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIS TEN 1649/master
tcp 0 0 ::1:25 :::* LIS TEN 1649/master
:# netstat -anp|grep :110
没有提示说明 还要配置 110 端口
:# iptables -I INPUT -p tcp --dport 25 -j ACCEPT
:# vi /etc/postfix/main.cf(查看postfix 配置文件)
页:
[1]