postfix 安装及配置步骤

[root@jock]:# yum install postfix

[root@jock]:# ps -eaf|grep sendmail  (查看进程)

root      1929  1837  0 11:11 pts/0    00:00:00 grep sendmail

[root@jock]:# /usr/sbin/postfix start (开启 postfix 服务进程)

[root@jock]:# ps -eaf|grep postfix    (查看进程)

[root@jock]:# ps -eaf|grep postfix    (查看进程)

root      1649     1  0 10:56 ?        00:00:00 /usr/libexec/postfix/master
postfix   1661  1649  0 10:56 ?        00:00:00 pickup -l -t fifo -u
postfix   1662  1649  0 10:56 ?        00:00:00 qmgr -l -t fifo -u
root      1947  1837  0 11:15 pts/0    00:00:00 grep postfix

[root@jock]:# 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
[root@jock]:# netstat -anp|grep :110
   没有提示说明 还要配置 110 端口

[root@jock]:# iptables -I INPUT -p tcp --dport 25 -j ACCEPT

[root@jock]:# vi /etc/postfix/main.cf  (查看postfix 配置文件)

 

 

 

转载于:https://www.cnblogs.com/redhatlinux/archive/2012/04/11/2442017.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值