postfix架构Webmail参考模板_第1页
postfix架构Webmail参考模板_第2页
postfix架构Webmail参考模板_第3页
postfix架构Webmail参考模板_第4页
postfix架构Webmail参考模板_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、一:修改主机名:rootlyt # vim /etc/sysconfig/networkrootlyt # vim /etc/hostsrootlyt # service sendmail stoprootlyt # chkconfig sendmail off       #关闭sendmailrootlyt # init 6     #重启计算机二:搭建dns服务器:rootmail # mkdir /mnt/cdrom      

2、 #新建挂载点rootmail # mount /dev/cdrom /mnt/cdrom/      #挂载光盘rootmail # cd /mnt/cdrom/Server/rootmail Server# rpm -ivh bind-9.3.6-4.P1.el5.i386.rpm      #安装dns主程序rootmail Server# rpm -ivh bind-chroot-9.3.6-4.P1.el5.i386.rpm     &

3、#160; #安装与dns安全相关的软件包rootmail Server# rpm -ivh caching-nameserver-9.3.6-4.P1.el5.i386.rpm       #安装与缓存相关的软件包rootmail Server# cd /var/named/chroot/etc/rootmail etc# cp -p named.caching-nameserver.conf named.conf    rootmail etc# vim named.conf &#

4、160;       #编辑dns的主配置文件rootmail etc# vim named.rfc1912.zones        #编辑dns区域声明文件1 / 8rootmail etc# cd ./var/named/rootmail named# cp -p localhost.zone .dbrootmail named# vim .db        #编辑数据库文件 r

5、ootmail named# vim /etc/resolv.confrootmail named# service named start         #启动dnsrootmail named# chkconfig named on        #设置开机自动启动三:搭建postfix:rootmail named# cd /mnt/cdrom/Server/rootmail Server# rpm -ivh postfix-2.3.3-

6、2.1.el5_2.i386.rpm       #安装postfix软件包rootmail Server# vim /etc/postfix/main.cf           #编辑postfix主配置文件除了以上截图外,还需要添加以下内容:broken_sasl_auth_clients = yes           #客户端需要

7、经过身份验证 smtpd_sasl_auth_enable = yes            #客户端需要经过身份验证 smtpd_sasl_security_options = noanonymous       #不允许匿名发送 smtpd_sasl_application_name = smtpd        

8、 smtpd_client_restrictions = permit_sasl_authenticated,reject     #发送方需要经过认证,没经过认证的拒绝 #smtpd_client_restrictions = permit_sasl_authenticated smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination    

9、 #接收本地network的,经过认证的,非认证的拒绝rootmail Server# service saslauthd start        #启动sasl验证功能rootmail Server# chkconfig saslauthd on        #设置为开机自动启动rootmail Server# service postfix startrootmail Server# chkconfig postfix on四:安装squirrel

10、mail:rootmail Server# vim /etc/yum.repos.d/rhel-debuginfo.repo      #编辑yumrootmail Server# yum install squirrelmail y      #安装squirrelrootmail Server# service httpd start       #启动httpdrootmail Server# chkconfig httpd on

11、       #设置开机自动启动rootmail Server# cd /var/www/html/rootmail html# ln -s /usr/share/squirrelmail/ mail      #创建符号连接mailrootmail html# cdrootmail # cd /var/www/html/mail/rootmail mail# cd config/rootmail config# ./conf.pl    

12、60; #对web页面进行设置rootmail config# vim /etc/httpd/conf/httpd.conf       #修改apache的配置文件rootmail config# service httpd restart五:安装dovecot:rootmail config# cd /mnt/cdrom/Server/rootmail Server# yum install dovecot y       #使用yum安装dovecotrootmail Server# service dovecot startrootmail Server# chkconfig dovecot on六:创建用户:rootmail Serv

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论