You are on page 1of 41

-- MC LC -MICROSOFT EXCHANGE INSTALLATION ....................................................... Trang2 RECIPIENT CONFIGURATION ............................................................................... Trang7 STORAGE EXCHANGE DATABASE ......................................................................

Trang19 INTERNET PROTOCOL ............................................................................................ Trang24 ANTI-SPAM CONFIGURATION.............................................................................. Trang30 BACKUP & RESTORE ................................................................................................. Trang34

[Trang 1]

MICROSOFT EXCHANGE 2007 INSTALLATION


I. MC CH Bi Lab hng dn : - Ci t Exchange Server 2007 - To Send Connector c th gi Mail ra Internet - Cu hnh Receive Connector c th nhn Mail

II. CHUN B Exchange 2007 s c ci trn my lm Domain Controller Domain : Truongtan.local. Gi nh c : - ci t IIS ASP.NET - ci t Enterprise root CA - Request Certificate - cu hnh MX Record trong DNS Server - RAISE DOMAIN FUNCTIONAL LEVEL ln Windows 2003 III. THC HIN 1. Ci t Exchange 2007 A . Ci phn mm h tr B1: Ci Microsoft .NET Framework 2.0

B2 : Ci MMC 3.0

B3: Ci PowerShellTM 1.0

B4 : Ci Hotfix cho .NET Framwork 2.0

[Trang 2]

B . Ci t Exchange B1: Chy file Setup.exe Hp thoi ci B2 : Hp thoi Introduction Next t Exchange 2007 Chn Step 4 : Install Microsoft Exchange

B3 : Hp thoi License Agrement : Chn I Accept the term Next

B4 : Hp thoi Error Reporting Chn No Next

B5 : Hp thoi Installation Type Chn Typical Ex.Server Installation Next

B6 : Hp thoi Ex.Organization Gi mc nh (First Organization) Next

[Trang 3]

B7 : Hp thoi Client Settings Chn Yes Next

B8 : Hp thoi Readiness Checks Khi cc thnh phn Completed Install

B9 : Hp thoi Progress : Qu trnh ci t din ra Finish

2. To Send Connector c th gi Mail ra Internet B1: M Ex. Management Console Organization Configuration Hub Transport Chn Tab Send Connector Right-Click vo khong trng Chn New Send Connector

[Trang 4]

B2: Hp thoi Introduction Name : To Internet Select the intended.: Custom Next

B3 : Hp thoi Address Space Add Hp thoi Add Address Space Nhp Domain: * (du sao). Check vo Include all Subdomain OK

B4: Hp thoi Address Space Next

B5 : Hp thoi Network Settings Next

B6: Hp thoi Source Server Next

B7 : Hp thoi New Connector Next

[Trang 5]

B8 : Hp thoi Completion Finish

B9 : Ca s Ex. Management Console Xut hin Send Connector va to xong.

3. Cu hnh Receive Connector c th nhn Mail B1: Ca Ex. Management Console B2 : Ca s Default Ex2K7 Properties Server Configuration Hub Transport Tab Authentication B du check Right-Click Default 2K7 Properties Offer Basic Authentication Apply

B3: Ca s Default Ex2K7 Properties Tab Permission Group Check vo Anonymous Users Apply OK

[Trang 6]

RECIPIENT CONFIGURATION
I. MC CH Bi Lab hng dn cch to v qun l cc loi Recipient thng dng ca Exchange: - To User Mailbox - To Mail Enable User - To Mail Contact - Dynamic Distribution Group - Resource Mailbox (Room Mailbox) - Delegation : S y quyn gia cc Recipient

II. CHUN B My ci t Exchange 2007 v Microsoft Outlook 2007 III. THC HIN 1. To User Mailbox B1: Ca s Exchange Management Console Recipient Configuration Right-click ln Recipient Configuration New Mailbox

B2: Hp thoi Introduction Check vo B3: Hp thoi User Type Check vo User Mailbox Next New User Next

[Trang 7]

B4: Hp thoi User Information : - Name : u1 - User Logon Name : u1 - Password & Confirm Password: 1 Next

B5 : Hp thoi Mailbox Settings : - Alias : u1 - Server : Ex2K7 - Storage group:First Storage Group Next

B6: Hp thoi New Mailbox Next

B7 : Hp thoi Completion Finish

B8 : Kim tra thy c User U1 mi va to

[Trang 8]

2. To Mail Enable User : To Mail Enable cho user u3 c a ch Mail l truongtan@truongtan.edu.vn B1 : Ca s Exchange Management B2 : Hp thoi Introduction Next Console Recipient Configuration Right-click New Mail User

B3 : Hp thoi User Information - First Name : u3 - Name : u3 - User Logon Name :u3 - Password & Confirm Password: 1 Next

B4 : Hp thoi Mail Settings : - Alias : u3 - External Email Address Edit

[Trang 9]

B5 : Hp thoi SMTP Address : - Email Address : truongtan@truongtan.edu.vn - Email type : SMTP OK

B6 : Hp thoi Mail Settings Next

B7 : Hp thoi New Mail User New

B8 : Hp thoi Competion Finish

B9 : Kim tra li Mail Contact thy c u3 mi va to

[Trang 10]

3. To Mail Contact To Contact c tn: Nguyen Van Teo c a ch email : truongtan@yahoo.com B1 : Ca s Ex.Management Console B2 : Hp thoi Introduction Chn New Recipient Configuration Mail Contact Contact Next Right-click New Mail Contact

B3 : Hp thoi Contact Information : Name : Nguyen Van Teo External Email Address : chn Edit

B4 : Hp thoi SMTP Address : Email Address : truongtan@yahoo.com Email type : SMTP OK

B5: Hp thoi New Mail Contact New

B6: Hp thoi Completion Finish

[Trang 11]

B7: Kim tra thy c Contact Nguyen Van Teo mi va to

4. To Dynamic Group cha cc Recipient c Department l KeToan B1 : Chun b : To cho u1 & u2 thuc tnh Department l KeToan mc Recipient Configuration Rightclick ln u1 Properties Tab Organization khai bo thuc tnh Department : KeToan - Lm tng t cho u2

B2 : Ca s Ex.Management Console Recipient Distribution Group RightclickNew Dynamic Distribution Group

B3 : Ca s Introduction Name : PhongKeToan Next

[Trang 12]

B4 : Filter SettingsAll Recipient Types

B5: Conditions :chn Recipient is in Department, click vo Specified di

B5: in gi tr KeToan Add

B6: Step 2 : Editchn Preview thy u1 & u2 t ng c Add vo Group

5. Resource Mailbox (Room Mailbox) B1 : To Room Mailbox c tn PhongHop B2 : Ca s Introduction chn Room Recipient ConfigurationNew Mailbox Mailbox Next

[Trang 13]

B3 : Chn New User

B4 : Logon Name : PhongHopNext

B5 : Next Finish

B6: Hon tt thy c user PhongHop

B7: M Exchange Power Shell G lnh xem trng thi v cu hnh thuc tnh AutoAccept (T ng tr li Email) ca Room Mailbox PhongHop - Get-MailboxCalendarSettings Identity tn-user (Xem trng thi) - Set-MailboxCalendarSettings Identity tn-user AutomateProcessing AutoAccept (Cu hnh AutoAccept)

[Trang 14]

B8: Adminstrator dng Outlook t cuc B9 : Ca s New Messagechn nt To: hp ti PhongHop. Riquired: u1,u2 ; Optional: u3, Nguyen Van File New Meeting Request Teo; Resource: PhongHop

B10: Ca s NewMessage: chn ngy, thi B11 : Lt sau Administrator nhn c gian v nhp ni dung Send Email AutoAccept ca PhongHop

B12: Gi lp tranh chp: u1 mi hp trng gi vi Administrator

B13: Lt sau thy PhongHop gi email thng bo t chi v trng gi hp.

[Trang 15]

6. Delegation : y quyn A. U1 y quyn cho u2 truy cp inbox ca mnh B1: u1 m Outlook vo Tools Options B2: Hp thoi OptionTab Delegate Add

B3: Hp thoi Add Users Chn u2 Add OK

B4: Inbox: chn Author (can read and) Check vo : Automatically send OK

B5: M Outlook ca u2 File Open Others User Folder

B6: Hp thoi Open Other Users Folder Name : u1 Folder type : Inbox OK

[Trang 16]

B7: Outlook ca u2 thy xut hin Inbox ca u1 u2 c th c c Mail ca u1

B. U2 i din u1 gi mail B1: u2 m OutlookClick New Ca s B2: Hp thoi Choose Sender : Global NewMessage Tab Options Chn Show Address List chn u1 OK From xut hin nt From Click From

B3: Son ni dung Email v gi n cho Administrator

B4: M Outlook ca Administrator Nhn c Email m u2 va nhn danh u1 gi

[Trang 17]

STORAGE EXCHANGE DATABASE


I. MC CH To mi v kho st cc thuc tnh ca Mailbox Store v Storage Group - Kho st First Storage Group v Mailbox Database Default - To Storage Group - To Mailbox Database - Cc thuc tnh ca Mailbox Database

II. CHUN B My ci t Exchange 2007 v Microsoft Outlook 2007 III. THC HIN 1. Kho st First Storage Group v Mailbox Database Default M Folder C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group, tm cc file : *.edb, *.chk, *.log 2. To Storage Group: To Storage Group tn NhanVien B1: Ca s Ex.Management Console Server Configuration Mailbox Right-click ln server name EX2K7 New Storage Group

B2: Hp thoi New Storage Group nhp tn Nhanvien New

B3: Hp thoi Completion Finish

[Trang 18]

3. To Mailbox Database: A- To Mailbox Database NhanVien: B1: Trong ca s Ex.Management Console Server Configuration Mailbox mc Database Management chn Storage Group nhanvien Right-click chn New Mailbox Database

B2: Hp thoi New Mailbox Database Nhp tn NhanVien New

B3: Hp thoi Completion Finish

B- Chn Database khi to Mailbox: To Mailbox cho u6, chn Database cho u6 l Storage NhanVien B1: Recipient Configuration Right-click B2: Hp thoi Introduction Next chn New Mailbox

[Trang 19]

B3: Hp thoi User Type Next

B4: Hp thoi User Information: User Logon Name: u6 g Pass Next

B5: Hp thoi Mailbox Settings Storage B6: Tip theo chn New tip theo chn Group chn nhanvien Next Finish

4. Cc thuc tnh ca Mailbox Database A- Journal: t thuc tnh Journal cho Mailbox Database Nhanvien, nhng user nm trong Mailbox Database Nhanvien khi gi Mail s c lu v Administrator 1 bn B1: Server Configuration Mailbox Right-click nhanvien chn Properties

[Trang 20]

B2: Hp thoi nhanvien Properties Check vo Journal Recipient Browse

B3: Ca s Select Recipient chn Administrator OK

B4: Hp thoi nhanvien Properties click OK

B5: u1 m Outlook Son Email gi cho u2 t ng gi cho Administrator 1bn

B- Limit Mailbox: gii hn dung lng Mailbox cho Storage nhanvien B1: Server Configuration Mailbox Right-click nhanvien chn Properties

[Trang 21]

B2: Hp thoi nhanvien Properties Tab Limit Khai bo thng s gii hn: - Issue warning at (KB) : 1000 - Prohibit send at (KB) : 1200 - Prohibit send and receive at (KB):1200 OK

B3: M Outlook ca Administrator, gi mail cho u2 nh km theo file 1MB. U2 nhn Mail bnh thng v khng b li. Tip tc gi Mail cho u2 v nh km theo file 1MB

B4: Administrator nhn c thng bo ca Postmaster l Mail ca u2 y v khng th nhn Mail c na

[Trang 22]

INTERNET PROTOCOL
I. MC CH Trin khai cc Internet Protocol: SMTP, POP3, IMAP, HTTP - SMTP & POP3 - SMTPs & POP3s - SMTP & IMAP4 - OWA

II. CHUN B My ci t Exchange 2007 v Microsoft Outlook 2007 III. THC HIN 1. SMTP & POP3: A- Cu hnh Service POP3 chng thc ch PlainText B1: M Exchange Power Shell g lnh: Set-PopSettings LoginType PlainTextLogin

B2: Kim tra kt qu: Get-PopSettings

[Trang 23]

B- Start Service POP3: B1: M Services.msc Tm n Service : Microsoft Exchange POP3

B2: Double-click Microsoft Exchange POP3Start

C- Cu hnh SMTP chng thc theo c ch Basic: B1: M Ex.Management Console Server B2: Chuyn sang Tab Permission Groups ConfigurationHubTransportReceive Check vo Anonymous Users Apply Connectors Default Right-click PropertiesTab Authentication Check Basic Authentication b Check Offer Basic authentication Apply

B3:Server Configuration HubTransport B4: Chuyn sang Tab Permission Groups Receive Connectors Client Check vo Anonymous Users Apply Right-click PropertiesAuthentication Check Basic Authentication b Check Offer Basic authentication Apply

[Trang 24]

B5: Restart Service Microsoft Exchange Transport

B6: Chy Outlook Express v cu hnh theo nh sau: Display Name : Ty (VD: Hoc Vien) Email : u1@truongtan.local Incomming Server : POP3 Imcomming mail Server : Localhost Outgoing mail Server : Localhost Username & Password : u1/1

B7: Outlook Express vo Tools Accounts chn Localhost Properties Qua Tab Server check vo My Server Require Authenticate Apply - Gi th mail ni b v gi th mail ra ngoi Thnh Cng

B8: Khai bo li Outlook Express chy SMTP port 587 Gi mail vn chy OK Localhost Properties Tab Advanced i port SMTP thnh 587

2. SMTPs & POP3s: Khai bo li cu hnh Outlook Express chy SSL: Outlook Express vo Tools Accounts chn Localhost Properties Localhost Properties Tab Advanced: - SMTP : check vo This Server requires a secure connection (SSL) - POP3 : check vo This Server requires a secure connection (SSL)

[Trang 25]

3. SMTP & IMAP4 Cu hnh Service IMAP4 chng thc ch PlainText: B1: M Exchange Power Shell g lnh: Set-IMAPSettings LoginType PlainTextLogin Get-IMAPSettings

B2: Start Service IMAP4. Vo Services.msc Chn Microsoft Ex. IMAP4 Start

[Trang 26]

B3: Xa Account c trong Outlook Express, to li Account mi theo thng s sau: Display Name : Ty (VD: Hoc Vien); Email : u1@truongtan.local Incomming Server : IMAP ; Imcomming mail Server : Localhost Outgoing mail Server : Localhost ; Username & Password : u1/1 - Localhost Properties Tab Servercheck My Server Require Authentication - Chn cc Folder mun hin th :

- So snh s khc bit gia POP3 v IMAP4:

[Trang 27]

4. OWA Cu hnh IIS h tr HTTP v HTTPs (mc nh Ex 2K7 ch h tr HTTPs) B1: Administrative Tools Internet B2: B chn Require secure channel Information Service Manager (IIS) (SSL) OK Website Default Website Right-click Properties Tab Directory Security ChnEdit

B3: Restart IIS Sau kim tra: M Internet Explorer Th 2 trng hp HTTP v HTTPs - Http://tnmy.tnDomain/OWA

- Https://tnmy.tnDomain/OWA

[Trang 28]

To Site http://mail.tndomain v Redirect v https://tnServer.tnDomain/OWA B1: Trong DNS Manager To Alias Mail ng vi tnServer

B2: Trong IIS To New Site tn mail.truongtan.local c Host Header l : mail.truongtan.local, cc thng s khc cu hnh ty

B3: Vo Properties ca Site Mail.truongtan.local Home Directory A redirection to a URL Redirect to: https://ex2k7.truongtan.local/owa

B4: Restart IIS M li Internet Explorer nhp a ch : http://mail.truongtan.local Xem kt qu Redirect v https://Ex2K7.truongtan.local

[Trang 29]

ANTI SPAM CONFIGURATION


I. MC CH: Trin khai chc nng Anti Spam trn Exchange - Ip Block List - Ip Block List Provider - Content Filter - Recipient Filtering - Sender Filtering - Ip Allow List - Ip Allow List Provider

II. CHUN B - 2 my ci Exchange 2007 v Outlook 2007 - 2 Domain gi c Mail qua li ( y s dng Dom3.local v Dom4.local) - Ci t Anti-Spam: m Exchange Power Shell v g lnh: CD C:\Program Files\Microsoft\Exchage Server\Scripts C:\Program Files\Microsoft\Exchage Server\Scripts>.\Install-AntiSpamAgents.ps1

M Exchange management Console Organization Configuration Hub Transport Xut hin thm Tab Anti-Spam

[Trang 30]

III. THC HIN *** Lu : Mi tnh nng sau khi Test xong nn Disable i trnh nhm ln. 1. IP Block List Khng nhn Mail t nhng Server c IP c lit k trong Block List B1: T Dom3.local v Dom4.local gi mail qua li bo m thnh cng B2: Ti Dom3.local mc AntiSpam B3: T Dom4.local th gi Mail sang Chn Ip Block List Tab Blocked Address Dom3.local Ch 1 pht nhn c Thng AddNhp Ip ca MailServer Dom4 bo li AntiSpam

B4: Tr v Dom3.local Disable tnh nng Ip Block List B5: 2 Domain th gi Mail qua li bo m gi thnh cng 2. IP Block List Provider: Thay v t to mt danh sch cch Ip trong Block List, Dom3.local s khai thc danh sch ny t mt Provider (Nh cung cp) A- Cng vic ca Customer (Khch hng): B1: Ti Dom3.localAntiSpamchn Ip B2: Trong ca s Error Message Nhp Block List ProviderAdd Nhp tn thng tin tng t hnh minh haOK OK Provider v Lookup Domain (VD: nh hnh minh ha) Click Error Message

[Trang 31]

B- Cng vic ca Provider: Gi s DNS ca Dom3.local m nhn lun vai tr Provider B1: Trong DNS Manager New Forward lookup Zone Zone name: khungbo.net

B2: To Host Name l Ip ca MailServer ca Dom4.local vit theo th t ngc

B3: Kim tra li DNS Server c Host va to B2

B4: Kim tra: T Dom4 th gi Mail sang Dom3 Ch 1 pht s nhn c Email Thng bo li tr v c thng bo li. 3. Content Filter: Lc Mail theo t kha, ni dung: Mc AntiSpam chn Content Filtering Tab Custom Word - Message containing these words or phrase will not be blocked: Nhng t trong Danh Sch ny KHNG b Cm (VD: Xin Chao KHNG b Cm) - Message containing these words or phrase will be blocked, unless the message contains a word or phrase from the list above: Nhng t trong Danh Sch ny s b CM (VD: Hello s b CM

[Trang 32]

4. Recipient Filtering: Lc Mail theo a ch ngi nhn: Mc AntiSpam chn Recipient Filtering Tab Blocked Recipients Check vo Block the following recipients Nhp vo a ch mun chn khng cho nhn Mail (VD: u1@dom3.local Nhng Email gi cho u1@dom3.local s b chn)

5. Sender Filtering: Lc Mail theo a ch ngi gi: Mc AntiSpam chn Sender Filtering Tab Block Sender Click Add: - Individual email address: Ch chn 1 a - Domain: Chn tt c cc a ch email ch email ngi gi in vo khung. ngi gi thuc Domain in vo khung. Vd: Nh hnh minh ha ch chn Email gi Vd: Nh hnh minh ha chn tt c Email gi i t u4@dom4.local i t Domain dom4.local

6. Ip Allow List: Danh sch nhng Ip c 7. IpAllow List Provider: Tng t nh php gi vo Domain hin hnh k c Ip Block List Provider nhng theo ngha trng hp ang b nm trong Block List ngc li:

[Trang 33]

BACKUP & RESTORE


IV. MC CH: Backup v Restore mail cho User - Backup & Restore trong Outlook - Backup Mailbox Database - Restore Mailbox Database - Recovery Storage Group - Recovery Mailbox b xa hn khi Database V. CHUN B - My ci t Exchange 2007 v Microsoft Outlook 2007 - S dng Mailbox u1, ( bi Lab ny, Mailbox ca u1 thuc Database Nhanvien, cc h thng khc, a s Mailbox thuc First Storage Group Mailbox Database. Cc bn ch cn cu hnh tng t bi Lab ny)

VI. THC HIN 1. Backup & Restore trong Outlook: A- Export d liu t MS Outlook: B1: Chy MS Outlook File chn Import B2: Import and Export Wizard chn and Export Export to a File

B3: Chn Personal Folder File (.pss)

B4: Chn Folder Export (VD: Inbox)

[Trang 34]

B5:t tn File v Browse chn ng dn B6: t Password cho File (ty chn)

B- Import d liu vo li MS Outlook Chy MS Outlook File Open Outlook Data File Chn file Export va xong

2. Backup Mailbox Database: Backup Microsoft Information Store: B1: Run: NTBackup Advanced Mode Tab Backup Chn Microsoft Exchange Server Chn Server Chn Microsoft Information Store B2: Khai bo ng dn Backup Media or Filename: (VD: C:\backup.bkf) B3: Click Start Backup 2 ln

[Trang 35]

3. Restore Mailbox Database A- Gi lp Database b hng: B1: Stop Service Microsoft Exchange Information Store

B2: Dng Notepad m file C:\Program File\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb B3: G thm vi ch Lu li nh vy c tnh lm hng Database ca Exchange B4: Start li Service Microsoft Exchange Information Store B5: Server Configuration Mailbox B6: Xut hin thng bo b Li Database First Storage Group Mailbox DatabaseRight-click Mount Database

B- Restore Database: (Phi t thuc tnh ca Database cho php Restore) B1: Chn Database Properties Check B2: Run: NTBackupAdvanced This database can be ApplyOK ModeRestore and Manage Media Check vo Microsoft Infor. StoreClick Start Restore

[Trang 36]

B3: Dng Temporary location nhp ng dn cha file tm trong qu trnh Restore(VD: C:\)Check vo Last Store Set (Log) Click OK

B4: Bo m qu trnh Restore khng b li xy ra: (Completed)

B5: Mount li Database Thnh cng Chy th Outlook gi th Mail Thnh cng

4. Recovery Storage Group: Mc ch : Khi phc Email ca u1 b xa hon ton trc . iu kin: Backup Database trc khi Email ca u1 b xa. B1: M OWA Logon u1 Xa ht Mail trong Inbox, Deleted v Sent Items. B2: Exchange Management Console B3: Dng Enter an identifying: Restore Tool box Database Recovery mal cho u1 Management I dont want to join the - Dng Servername: <tn Exchange Server> program Go to Welcome screen - Dng D.Controller: <tn Exchange Server>

[Trang 37]

B4: Chn Create a recovery Storage Group

B5: Bi vit ny cu hnh Database Nhanvien nn chn Nhanvien Next

B6: Chn Create the recovery Storage Group

B7: Chn Go back to Task Center

[Trang 38]

*** n y, cc bn phi Restore Database Backup trc : Lm li thao tc nh mc 3.Restore Mailbox Database. Khi NTBackup s t ng Restore D liu vo Recovery Storage Group va to B6. B8: Tr v Task Center ca Recovery Chn Mount Database in the Recovery Storage Group B9: Chn Nhanvien Mount Selected Database Bo m qu trnh Mount khng b li Go back to Task Center

B10: Chn Merge or Copy Mailbox Contents

B11: Chn Gather Merge information

[Trang 39]

B12: Mn hnh Select Database swap Option Next

B13: Chn Perform Pre-Merge Task

B14: Chn Mailbox u1 Perform Merge Actions Go back to Task Center

B15: M Outlook ca u1 THY LI MAIL B XA RECOVERY THNH CNG

[Trang 40]

5. Recovery Mailbox b xa hn khi Database B1: Xa hn Mailbox v User : u1 M Exchange Shell G lnh sau: Remove-Mailbox Identity TRUONGTAN\u1 Permanent $True

B2: Tr v Task Center ca Database Recovery Chn Merge or Copy Mailbox Content ** Thc hin nhng thao tc ging mc 4. Recovery Storage Group Recovery li u1 b mt Tht bi Bo li: v Mailbox u1 b xa hn.

B3: To mi 1 Mailbox User u1 khc B4: M Outlook ca u1 mi va to Khng thy c Email c B5: S dng Administrator M Exchange Shell G lnh sau: Restore-Mailbox RSGMailbox u1 RSGDatabase EX2K7\Recovery Storage Group\Mailbox Database Identity u1 TargetFolder OldMail Trong : - RSGDatabase EX2K7\Recovery Storage Group\Mailbox Database - EX2K7 : tn ca my tnh MailServer - Mailbox Database : Tn ca Database cha u1, nu cha trong Nhanvien th thay bng Nhanvien B6: u1 m li Outlook kim tra thy c cc Email c cha trong OldMail

[Trang 41]

You might also like