




版權(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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 酒店道德規(guī)范培訓
- 地質(zhì)災(zāi)害地面沉降與裂縫災(zāi)害恢復(fù)監(jiān)測重點基礎(chǔ)知識點
- 車輛試用協(xié)議書范本
- 部分合同提前終止協(xié)議
- 辭職后合同上寫著保密協(xié)議
- 建筑工程合同價格形式分為幾種
- POS機收單業(yè)務(wù)服務(wù)合同
- 【課件】江蘇省中小學學籍信息管理系統(tǒng)操作培訓
- 辣椒成品收購合同協(xié)議
- 車輛抵質(zhì)押合同協(xié)議
- 智能風控與合規(guī)技術(shù)在證券領(lǐng)域的應(yīng)用
- 派遣工的考勤管理制度
- GB/T 44353.1-2024動物源醫(yī)療器械第1部分:風險管理應(yīng)用
- 中醫(yī)培訓課件:火龍罐的中醫(yī)技術(shù)
- 遼寧省2024年中考英語真題【附真題答案】
- 水運工程工程量清單計價規(guī)范
- 佛山市2023-2024學年高二下學期7月期末英語試題(解析版)
- 解析:2024年湖北省武漢市中考數(shù)學試題(原卷版)
- 注射相關(guān)感染預(yù)防與控制(全文)
- 19.2.1正比例函數(shù)課件人教版八年級數(shù)學下冊
- 燈具安裝服務(wù)合同模板
評論
0/150
提交評論