postfix为企业提供更优的邮件服务器系统.pdf版
4569 点击·1 回帖
![]() | ![]() | |
![]() | 环境 : RHEL5 , AMP 平台 , IP 为 192.10.10.5/24 , 主机名为 ns1.tgh.com , 已经设置好 DNS (可参照我的关于 DNS 配置的博文)及 MX 邮件交换记录,可解析到 mail.tgh.com [root@ns1 cdrom]# nslookup mail.tgh.com Server: 192.10.10.5 Address: 192.10.10.5#53 Name: mail.tgh.com Address: 192.10.10.5 1 、在安装 Postfix 时需要关掉 sendmail 服务,避免冲突 ( 不用卸载,我试过了,貌似 postfix 跟 sendmail还有依赖 性,卸载 sendmail 后配置 postfix 服务会产生系列问题 ) 。 [root@ns1 ~]# service sendmail stop # 若停止失败,可重启 sendmail 服务再停止 Shutting down sm-client: [ OK ] Shutting down sendmail: [ OK ] [root@ns1 ~]# chkconfig --level 35 sendmail off # 开机后不自启动 [root@ns1 ~]# chkconfig --list sendmail sendmail 0:off 1:off 2:on 3:off 4:on 5:off 6:off 2 、检查系统是否已经安装 postfix 的 RPM 包 [root@ns1 ~]# rpm -qa |grep postfix postfix-2.3.3-2 如果已经安装,则会发现系统已存在 postfix 用户及 postfix 组、 postdrop 组 [root@ns1 ~]# id postfix # 查看 postfix 用户身份 uid=89(postfix) gid=89(postfix) groups=89(postfix),12(mail) [root@ns1 ~]# grep -i postdrop /etc/group postdrop:x:90: 点击下载 | |
![]() | ![]() |