[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 配置文件)

 

 

 

相关文章:

  • 2021-06-12
  • 2021-11-20
  • 2022-01-07
  • 2021-12-12
  • 2021-05-02
猜你喜欢
  • 2022-12-23
  • 2021-11-21
  • 2022-02-07
相关资源
相似解决方案