postfix架構(gòu)Webmail參考模板_第1頁
postfix架構(gòu)Webmail參考模板_第2頁
postfix架構(gòu)Webmail參考模板_第3頁
postfix架構(gòu)Webmail參考模板_第4頁
postfix架構(gòu)Webmail參考模板_第5頁
已閱讀5頁,還剩3頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、一:修改主機名:rootlyt # vim /etc/sysconfig/networkrootlyt # vim /etc/hostsrootlyt # service sendmail stoprootlyt # chkconfig sendmail off       #關(guān)閉sendmailrootlyt # init 6     #重啟計算機二:搭建dns服務(wù)器: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安全相關(guān)的軟件包rootmail Server# rpm -ivh caching-nameserver-9.3.6-4.P1.el5.i386.rpm       #安裝與緩存相關(guān)的軟件包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區(qū)域聲明文件1 / 8rootmail etc# cd ./var/named/rootmail named# cp -p localhost.zone .dbrootmail named# vim .db        #編輯數(shù)據(jù)庫文件 r

5、ootmail named# vim /etc/resolv.confrootmail named# service named start         #啟動dnsrootmail named# chkconfig named on        #設(shè)置開機自動啟動三:搭建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主配置文件除了以上截圖外,還需要添加以下內(nèi)容:broken_sasl_auth_clients = yes           #客戶端需要

7、經(jīng)過身份驗證 smtpd_sasl_auth_enable = yes            #客戶端需要經(jīng)過身份驗證 smtpd_sasl_security_options = noanonymous       #不允許匿名發(fā)送 smtpd_sasl_application_name = smtpd        

8、 smtpd_client_restrictions = permit_sasl_authenticated,reject     #發(fā)送方需要經(jīng)過認證,沒經(jīng)過認證的拒絕 #smtpd_client_restrictions = permit_sasl_authenticated smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination    

9、 #接收本地network的,經(jīng)過認證的,非認證的拒絕rootmail Server# service saslauthd start        #啟動sasl驗證功能rootmail Server# chkconfig saslauthd on        #設(shè)置為開機自動啟動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、       #設(shè)置開機自動啟動rootmail Server# cd /var/www/html/rootmail html# ln -s /usr/share/squirrelmail/ mail      #創(chuàng)建符號連接mailrootmail html# cdrootmail # cd /var/www/html/mail/rootmail mail# cd config/rootmail config# ./conf.pl    

12、60; #對web頁面進行設(shè)置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六:創(chuàng)建用戶:rootmail Serv

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論