Click the browse button the button with '...' by Physical path and browse to the 'MDaemon\WorldClient\HTML' directory 6.. Click on the WorldClient site in the Connections pane... Double
Trang 1Cài đặt và cấu hình Mdaemon
-Bước 1: tạo bản ghi DNSTạo 5 bản ghi sau:
Trang 2I -BƯỚC 2: CÀI ĐẶT MDAEMON
Mở file cài đặt > Bấm Next
Bấm I Agree
Trang 4Chọn đường dẫn lưu file cài đặt > Bấm Next
Nhập Key > Bấm Next
Trang 5Nhập Name, Company, Country > Bấm Next
Bấm Next
Trang 6Chờ cho quá trình cài đặt
Nhập Domain Name,
IMAP/POP host name > Bấm2 Next
Trang 7Nhập tên, tên mailbox,
password cho
Admin > Chọn This account …
> Next (Pass
bao gồm cả chữ viết hoa, chữ viết thường và
số, ít nhất 6 kí tự)
Chọn “Set-up MDaemon as an auto-starting system service”
> Next
Trang 8Bấm Finish
Để tắt độ mạnh của pass, thực hiện các bước sau
Accounts> Account Setting > Other > Passwords > Bỏ chọn Require strong Password
Trang 9II -BƯỚC 3: CẤU HÌNH MDAEMON
Setup > Server Setting
III -BƯỚC 4: CẤU HÌNH WEB MAIL CHẠY TRÊN IIS
Chú ý: tích chọn ISAPI Extensions / ISAPI filters
Trang 102 +CẤU HÌNH IIS
1 On the Connections pane, expand the [Machine_name] node
2 Right click on Sites
Trang 113 Click Add Web Site
4 Enter a Site name (i.e 'WorldClient') This will also create an Application Pool by thesame name as the web site (do not manually create an Application Pool)
5 Click the browse button (the button with ' ') by Physical path and browse to
the 'MDaemon\WorldClient\HTML' directory
6 Set up the bindings as desired in the Binding section
Trang 127 Click OK
Trang 138 Click on the WorldClient site in the Connections pane
Trang 149 Double click on Default Document
10 Select each existing Default document name and click Remove on the Actions pane.
11 Click Add
12 Type 'worldclient.dll'
Trang 1513 Click OK
Trang 1614 Click on the WorldClient site in the Connections pane
Trang 1715 Double click on Handler Mappings
Trang 1816 Click Edit Feature Permissions on the Actions pane
17 Verify the boxes for Read and Script are selected (checked), and select (check) the box for Execute
Trang 1918 Click OK
Trang 2019 Double click ISAPI-dll under the Enabled column
20 Change the value for the Request Path field from '*.dll' to 'WorldClient.dll'
21 Set Module as IsapiModule
22 Under Executable, click the browse button (the button with ' ')
23 Browse to 'MDaemon\WorldClient\HTML\WorldClient.dll' (on the C:\ drive by default)
Trang 2124 Click OK
Trang 2225 Click Yes on the dialog that asks 'Do you want to allow this ISAPI extension '
26 Add the MDSyncML.dllmapping
Trang 231 On the Handler Mappings Actions menu on the right, click on 'Add Script Map '
2 In the Request Path field, enter 'MDSyncML.dll'
3 Under Executable, click the browse button (the button with ' ')
4 Browse to 'MDaemon\WorldClient\HTML\MDSyncML.dll' (on the C:\ drive by default)
5 In the Name field, enter 'MDSyncML.dll'
Trang 246 Click the Request Restrictions button
7 Under the Access tab, select Execute
Trang 258 ClickOK
Trang 2610 Click Yes on the dialog that asks 'Do you want to allow this ISAPI
extension '
27 Add the MDBis.dllmapping
Trang 271 On the Handler Mappings Actions menu on the right, click on 'Add Script Map '
2 In the Request Path field, enter 'MDBIS.dll'
3 Under Executable, click the browse button (the button with ' ')
4 Browse to 'MDaemon\WorldClient\HTML\MDBIS.dll' (on the C:\ drive by default)
5 In the Name field, enter 'MDBIS.dll'
Trang 286 Click the Request Restriction button
7 Under the Access tab, select Execute
Trang 299 Click OK
Trang 3010 Click Yes on the dialog that asks 'Do you want to allow this ISAPI
extension '
28 Add the MDAirSync.dllmapping
Trang 311 On the Handler Mappings Actions menu on the right, click on 'Add Script Map '
2 In the Request Path field, enter 'MDAirSync.dll'
3 Under Executable, click the browse button (the button with ' ')
4 Browse to 'MDaemon\WorldClient\HTML\MDAirSync.dll' (on the C:\ drive by default)
5 In the Name field, enter 'MDAirSync.dll'
Trang 326 Click the Request Restrictions button
7 Under the Access tab, select Execute
Trang 339 Click OK
Trang 3410 Click Yes on the dialog that asks 'Do you want to allow this ISAPI
extension '
29 Close the IIS Manager
Next, update the NTFS permissionson the MDaemon directory:
1 Open Windows Explorer
Trang 352 Navigate to the MDaemon directory (by default, 'C:\MDaemon')
3 Right click on the MDaemon directory
Trang 364 Choose Properties
5 Choose the Security tab
Trang 376 Click Edit
Trang 3910 Enable Full control under Allow for IUSR
Trang 4011 Click Add
12 Type 'Network Service'
13 Click OK to close the Select Users or Groups dialog
14 Enable Full Control under Allow for Network Service
Trang 4115 Click OK to close the Permissions for MDaemon dialog and wait for the
changes to take effect
Trang 4216 Click OK to close the MDaemon Properties dialog
Disable MDaemon's own native web server:
1 Open the MDaemon console
2 Click All Programs
4 Click Start MDaemon
5 Open the Setup menu
Trang 436 Click Web & IM Services
7 Select WorldClient runs using external webserver (IIS, Apache, etc)
Trang 44là wcescomm.exe
1 Close Internet Information Services (IIS) Manager if it's open
2 Install Microsoft's IIS URL Rewrite 2.0
1 Navigate to http://www.iis.net/download/URLRewrite in your favorite web browser
Trang 452 Click on the download for x86 or x64 as is appropriate for your
server
3 Launch the downloaded rewrite_2.0_rtw_x86.msi or
rewrite_2.0_rtw_x64.msi
Trang 464 Accept the terms of the license agreement and click Install
5 Click Finish
Trang 473 Open the IIS Manager
2 Select Administrative Tools
3 Click Internet Information Services (IIS) Manager
4 On the Connections pane, expand the [Machine_name] node
5 Expand the Sites node
6 Click on the WorldClient site in the Connections pane
7 Double click on URL Rewrite
Trang 488 On the Actions pane, click Add Rule(s)
Trang 491 Under Inbound Rules, select Blank Rule and click OK
2 Name the rule: MDAirSync.dll
3 Under Match URLset these settings:
1 Requested URL: Matches the Pattern (default)
2 Using: Regular Expressions (default)
3 Pattern: ^Microsoft-Server-ActiveSync
Trang 504 Ignore Case: Enabled (default)
4 Under Actionset these settings:
1 Action type: Rewrite (default)
2 Rewrite URL: mdairsync.dll
3 Append query string: Enabled (default)
Trang 515 In the Actions pane, click Apply
Trang 526 In the Actions pane, click Back to Rules
9 Close Internet Information Services (IIS) Manager
If using Windows Server 2008 64-bit or Windows Server 2008 R2, configure the WorldClient Application Pool:
1 Double-click on Application Pools on the Connections pane
Trang 532 Select the WorldClient application pool
Trang 543 On the Actions pane, click Advanced Settings
4 In the General section, locate 'Enable 32-bit Applications'
Trang 555 Select the field and choose False
6 In the Process Model section, set Identity to Network Service
Trang 56IV CẤU HÌNH WEBADMIN MDAEMON CHẠY TRÊN IIS WINDOWS SERVER 2008
Mở IIS tiếp tục chọn Add Web Site
Trang 57Đặt tên Site name, đặt địa chỉ WebAdmin và đặt host name sau đó nhấn OK
Trang 58Tiếp tục chọn Defaut Document
Select the first existing Default document name 4.Click Remove on the Actions pane
Trang 59Chọn Add
Điền login.wdm sau đó nhấn OK
Trang 60Chọn chức năng Handler Mapping
Trang 61Chọn Edit Feature Permisssions
Chọn tất cả như hình
Trang 62Tiếp tục chọn Add Script Map
Trang 63Điền thông tin như hình ở ô Name là tên tùy chọn
Chọn Application Pool chọn Pool AdminMdaemon sau đó chọn Basic Settings
Trang 64Chọn No Managed Code ở NET Framework version Chọn Classic ở Managed pipeline
Tiếp theo chọn Advanced Settings
Trang 65Chọn Local System ở Identity
Trang 66Mở MDaemon chọn Setup -> Web & IM Services
Trang 67Ở mục Web Server “Remote Administration…” sau đó chọn Apply và OK
Trang 69Giao diện WebAdmin
Truy cập Outlook
Trang 70Chọn như hình sau đó nhấn Next
Trang 71Chọn Internet Email sau đó nhấn Next
Trang 72Điền các thông tin cần thiết sau đó nhấn More Settings
Trang 73Chọn My outgoing server (SMTP) requires authentication Sau đó nhấn OK
Chờ cho quá trình login và gửi email kiểm tra
Trang 74Chọn Finish để kết thúc
Trang 75Câu hình tương tự cho cá tài khoản khác.
Trang 76Kiểm tra việc gửi mail nội bộ.
Trang 77Tài khoản HuyTien đã nhận được Email
Trang 78Gửi mail sang tài khoản Yahoo
Trang 79Tài khoản Email Yahoo đã nhận được mail.
5 Thực hiện cấu hình Relay trên MDaemon
Trang 80Vào mục Setup -> Server Settings
Ở mục Default smart host khai báo server Email nhà cung cấp cung cấp cho bạn ở đây là
email.vhost.vnTruy cập thông tin đăng nhập ở mục Use SMTP Authentication mà nhà cung cấp cho bạn, sau đó
chọn Apply ->OK
Trang 81Kết quả kiểm tra sau khi gửi mail.