CentOS 5.2下Postfix的安装
2013-08-02 14:40
381 查看
CentOS下Postfix的安装 |
本文将介绍如何在CentOs下安装Posfix的方法,包括发信检验。1. 使用yum安装。yum install postfix2. 将系统的默认的更改为Postfix。/etc/init.d/sendmail stop
chkconfig –del sendmailalternatives –config mta3. main.cf文件设置
vi /etc/postfix/main.cf# myhostname - 主机名
myhostname = host.example.com# mydomain - 域名
mydomain = example.com# myorigin - 发信人定义
# user@example.com 可以为域名 myorigin = $mydomain
# user@host.example.com 也可以使用主机名(二级域) myorigin = $myhostname
myorigin = $mydomain# inet_interfaces - 设置收信界面
inet_interfaces = all# mydestination - 发信来源定义
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomainmynetworks_style = subnet# mynetworks
mynetworks = 127.0.0.0/8smtpd_banner = $myhostname ESMTP unknown# 邮件保存地址
home_mailbox = Maildir/alias_maps = hash:/etc/aliases// SMTP-Auth设置
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
broken_sasl_auth_clients = yes4. SMTP-Auth设置
vi /usr/lib/sasl2/smtpd.confpwcheck_method: saslauthd
mech_list: plain login5. 系统自动启动设置/etc/init.d/saslauthd start
chkconfig saslauthd on/etc/init.d/postfix start
chkconfig postfix on6. 清理yumyum clean packagesTags: CentOS, postfix
相关文章推荐
- centos 5.2下安装postfix+extmail+extman命令全教程
- centos5.2下安装配置postfix
- Centos 5.2下安装oracle11g[阮胜昌]
- linux(CentOS6.5)之postfix服务器编译安装
- Centos 5.2下安装多个mysql数据库
- CentOS 5.2下的ICE的另一种安装方法
- 最具体的历史centos下一个 postfix + extmail + dovecot + maildrop 安装注意事项2014更新
- Centos6.3安装postfix实现邮件发送
- CentOS5.5下postfix邮件系统安装配置
- CentOS6.5_64位系统下安装配置postfix邮件系统 启用并配置SMTP在第三方上边使用发送邮件
- CentOS安装Postfix邮件服务器
- CentOS5.2下安装mplayer
- CentOS+postfix+ExtMail+amavisd-new+Spam_Locker+DSpam配置指南:一、操作系统安装
- CentOS5.3+Nginx0.7.57+Postfix+Extmail邮件系统安装配置(三))-(注:里边一些内容引自原作者sery)
- CentOS postfix无法启动――mysql-libs未安装
- CentOS 6.x 下Postfix和dovecot邮件服务安装和基本配置
- CentOS5.2下安装GCC4.1.2
- CentOS 5.2下SVN服务器的安装与配置
- CenTOS 5下面用自带的RPM包安装基于Postfix的邮件系统(MySQL)
- CentOS 5.5安装与配置mail服务-Postfix