Hộp thoại SMTP Address Space, nhập dấu * vào ô Address, đánh dấu chọn Include all subdomains, nhậpsố 1 vào ô Cost, chọn OK, chọn Next Quản Lý Client Access trên Exchange Server 2007 - Ph
Trang 1Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP,
MAPI (RPC), POP, IMAP, Outlook Web Access (HTTP)
Viết bởi Trần Thủy Hoàng Thứ bảy, 01 Tháng 11 2008 00:00
Trong hệ thống mail thông thường, để kết nối tới mail server ta phải sử dụng các chương trình mail client như Outlook Express,Windows Mail, Microsoft Outlook, Eudora…
Microsoft Exchange Server là một trong những Mail Server hỗ trợ đầy đủ các protocol kết nối như: SMTP,ESMTP, MAPI(RPC), POP, IMAP,
Trang 2Phần III: Oulook Anywhere (RPC over HTTP)
- Một máy Exchange Server 2007 SP1 (DCA.msopenlab.com)
- Một máy Client đã Join domain
- Tạo 2 Mailbox User: Hieu và Trong có password là P@ssword
III Thực hiện
1 Cấu hình Send Connector và Receive Connector
Sau khi cài đặt Exchange Server 2007, mặc định Exchange server không gởi và nhận mail được với domain khác Để Exchange Server gởi mail tới
domain khác ta phải tạo Send Connector, để Exchange Server nhận được mail từ domain khác ta phải cấu hình Receive Connector
Tại máy Exchange Server, mở Exchange Management Console, bung Organization Configuration, chuột phải Hub Transport chọn New
Send Connector
Hộp thoại Introduction, đặt tên cho connector là “Mail to Internet”, chọn Next
Trang 3Hộp thoại Address Space, chọn Add Hộp thoại SMTP Address Space, nhập dấu * vào ô Address, đánh dấu chọn Include all subdomains, nhập
số 1 vào ô Cost, chọn OK, chọn Next
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 4Hộp thoại Source Server, chọn Next
Hộp thoại New Connector, chọn New Hộp thoại Completion, chọn Finish
Trang 5Trong cửa sổ Exchange Management Console, bung Server Configuration, chọn Hub Transport, chuột phải Default DCA chọn Properties
Trong hộp thoại Default DCA Properties, vào tab Authentication, bỏ dấu chọn Offer Basic authentication only after starting TLS
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 6Trong hộp thoại Default DCA Properties, vào tab Permission Groups, đánh dấu chọn Anonymous users, chọn OK
Tương tự, chuột phải Client DCA, chọn Properties
Trang 7Trong hộp thoại Client DCA Properties, bỏ dấu chọn Offer Basic authentication only after starting TLS
Trong hộp thoại Client DCA Properties, vào tab Permission Groups, đánh dấu chọn Anonymous users, chọn OK
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 8Mở Services từ Administrative Tools, chuột phải Microsoft Exchange Transport chọn Restart
Mở Microsoft Outlook, gởi e-mail tới địa chỉ tt_hoang@hotmail.com (hoặc địa chỉ mail bất kỳ trên Internet), kiểm tra gởi và nhận mail thành
công
Trang 92 Kết nối MAPI (RPC)
Tại máy Client, logon MSOPENLAB\Administrator, mở Micosoft Outlook
Hộp thoại Outlook 2007 Startup, chọn Next Hộp thoại Setup E-mail Account, chọn Yes Hộp thoại Auto Account Setup, đánh dấu chọn
Manually configure server setting or additional server tupe, chọn Next
Lưu ý: bạn có thể sử dụng chức năng Auto Discovery để cấu hình Microsoft Outlook tự động, nhưng trong bài viết này sử dụng cách cấu hình
bằng tay nhằm mục đích hiểu rõ chế độ kết nối MAPI(RPC).
Hộp thoại Choose E-mail Services, chọn Microsoft Exchange, chọn Next
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 10Hộp thoại Microsoft Exchange Settings, nhập DCA.MSOpenLab.com vào ô Microsoft Exchange server, nhập Administrator vào ô User
Name, chọn Check Name, chọn Next, Finish
Trong cửa sổ Microsoft Outlook, chọn New, gởi mail tới địa chỉ administrator@msopenlab.com
Trang 11Trong cửa sổ Microsoft Outlook, kiểm tra nhận được e-mail gởi cho chính Administrator
3 Kết nối POP và SMTP
a Cấu hình POP Access
Tại máy Exchange Server, mở Exchange Management Shell, gõ lệnh:
Set-PopSettings –LoginType PlainText Login
Kiểm tra Login Type, gõ lệnh: Get-PopSettings | Format-List
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 12Mở Services từ Administrative Tools, chuột phải Microsoft Exchange POP3, chọn Properties
Hộp thoại Microsoft Exchange POP3 Properties, bung Startup type chọn Automatic, chọn Start, chọn OK
b Cấu hình Outlook Express:
Trang 13Khi kết nối tới Exchange Server bằng POP hoặc IMAP ta không nhất thiết phải sử dụng Microsoft Outlook vì tất cả các mail client đều hỗ trợ POP
và IMAP
Tại máy Client, logon MSOPENLAB\Hieu, mở Outlook Express Trong hộp thoại Your Name, nhập Hieu vào ô Display name, chọn Next
Hộp thoại Internet E-mail Address, nhập Hieu@msopenlab.com vào ô E-mail address, chọn Next
Hộp thoại E-mail Server Names, trong ô My incoming mail server is a chọn POP3, nhập DCA.msopenlab.com vào ô Incoming mail và
Outgoing mail, chọn Next
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 14Hộp thoại Internet Mail Logon, nhập Hieu vào ô Account name, nhập P@ssword vào ô Password, chọn Next, Finish
Trong cửa sổ Outlook Express, bung Tools, chọn Accounts
Cửa sổ Internet Accounts, chọn DCA.msopenlab.com, chọn Properties
Trang 15Cửa sổ DCA.msopenlab.com Properties, vào tab Servers, đánh dấu chọn My server requires authentication, chọn OK
Trong cửa sổ Outlook Express, chọn Create Mail, gởi e-mail đến địa chỉ administrator@msopenlab.com
Logon MSOPENLAB\Administrator, mở Microsoft Outlook, kiểm tra nhận được e-mail gởi từ Hieu
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 16Reply e-mail cho Hieu@msopenlab.com
Logon MSOPENLAB\Hieu, mở Outlook Express, kiểm tra nhận được e-mail trả lời từ Administrator
Trang 174 Kết nối IMAP và SMTP
a Cấu hình IMAP Access
Tại máy Exchange Server, mở Exchange Management Shell, gõ lệnh:
Set-IMAPSettings –LoginType PlainTextLogin
Kiểm tra cơ chế Login Type, gõ lệnh: Get-IMAPSettings | Format-List
Mở Services từ Administrative Tools, chuột phải Microsoft Exchange IMAP4, chọn Properties
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 18Trong hộp thoại Microsoft Exchange IMAP4 Properties, bung Startup type, chọn Automatic, chọn Start, OK
b Cấu hình Outlook Express
Tại máy Client, logon MSOPENLAB\Trong Mở Outlook Express, trong hộp thoại Your Name, nhập Trong vào ô Display name, chọn Next
Trang 19Hộp thoại Internet E-mail Address, nhập Trong@msopenlab.com vào ô E-mail Address, chọn Next
Hộp thoại E-mail Server Names, trong ô My incoming mail server is a chọn IMAP, nhập DCA.msopenlab.com vào ô Incoming mail và
Outgoing mail, chọn Next
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 20Hộp thoại Internet Mail Logon, nhập Trong vào ô Account name, nhập P@ssword vào ô Password, chọn Next, Finish
Trong cửa sổ Outlook Express, bung menu Tools, chọn Account, chọn DCA.msopenlab.com, chọn Properties Trong hộp thoại
DCA.msopenlab.com Properties, vào tab Servers, đánh dấu chọn My server requires authentication, chọn OK
Trang 21Khi nhận được hộp thoại thông báo Outlook Express, chọn Yes
Trong cửa sổ Show/Hide IMAP Folders, chọn OK
Trong cửa sổ Outlook Express, chọn Create Mail, gởi mail tới địa chỉ Hieu@msopenlab.com
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 22Logon MSOPENLAB\Hieu, mở Outlook Express, kiểm tra nhận đuợc e-mail gởi từ Trong Mở E-mail gởi từ Trong, chọn Reply, trả lời mail
cho Trong@msopenlab.com
Logon MSOPENLAB\Trong, mở Outlook Express, kiểm tra nhận được e-mail trả lời từ Hieu
Trang 235 Kết nối HTTP-Outlook Web Access
Tại máy Client, mở Internet Explorer, truy cập http://DCA.msopenlab.com/owa , kiểm tra nhận dược thông báo yêu cầu truy cập bằng HTTPS
Tại máy Server, mở Internet Information Services (IIS) Manager từ Administrative Tools, bung DCA, bung Web Sites, chuột phải Default Web
Sites chọn Properties
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 24Trong hộp thoại Default Web Sites Properties, vào tab Directory Security, chọn Edit trong phần Authentication and access control
Trong hộp thoại Secure Communications, bỏ dấu chọn Require secure channel (SSL), chọn OK
Trang 25Trong hộp thoại Default Web Sites Properties, chọn Apply Hộp thoại Inheritance Overrides chọn Select All, chọn OK 2 lần
Tại máy Client, mở Internet Explorer, truy cập http://DCA.msopenlab.com/owa Trong cửa sổ Outlook Web Access, nhập
MSOPENLAB\Hieu vào ô Domain\user name, nhập P@ssword vào ô Password, chọn Logon
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 26Trong ô Language và Current time zone, chọn lựa chọn hợp lý, chọn OK
Trong cửa sổ Outlook Web Access (OWA), chọn New
Trang 27Gởi e-mail tới địa chỉ Trong@msopenlab.com
Tương tự, truy cập Outlook Web Access (OWA) bằng quyền Trong, kiểm tra nhận được E-mail gởi từ Hieu
Quản Lý Client Access trên Exchange Server 2007 - Phần I: SMTP, MAPI http://msopenlab.com/index.php?option=com_content&view=article&id=
Trang 28Giải pháp quản lý tập trung cho mô hình mạng doanh nghiệp - Phần 3: Triển khai Read-Only Domain Controller, Read Only DNS Server và
Active Directory Site
3