RHEL7.2怎么配置postfix空客户端

本文主要介绍"RHEL7.2如何配置postfix空客户端",希望能够解决您遇到有关问题,下面我们一起来看这篇 "RHEL7.2如何配置postfix空客户端" 文章。

1、 安装 Postfix:

# yum update && yum install postfix

2、 启动服务并启用开机自动启动:

# systemctl start postfix
# systemctl enable postfix

[root@testserver ~]# postconf -e inet_interfaces=loopback-only
[root@testserver ~]# postconf -e mynetworks="127.0.0.0/8"
[root@testserver ~]# postconf -e myorigin=ldap.example.com
[root@testserver ~]# postconf -e "mydestination="
[root@testserver ~]# postconf -e "local_transport=error: local delivery disabled"

[root@testserver ~]# systemctl restart postfix.service
[root@testserver ~]# firewall-cmd --permanent --add-service=smtp
[root@testserver ~]# firewall-cmd --reload

关于 "RHEL7.2如何配置postfix空客户端" 就介绍到这。希望大家多多支持编程宝库

NTPD如何删除所有网络接口:本文主要介绍"NTPD怎么删除所有网络接口",希望能够解决您遇到有关问题,下面我们一起来看这篇 "NTPD怎么删除所有网络接口" 文章。NTPD服务删除并启用网络我们在CentOS上的eth0上配置了两个虚拟接 ...