Cài đặt Mail Server Trên Windows Với HMailServer

Chuẩn bị

  • hMailServer: Phiên bản: 5.6.5 – Build 2367 Download: http://www.hmailserver.com/index.php?page=download
  • Microsoft Outlook 2010
  • Microsoft SQL Server 2008 Express

Cài đặt hMailServer

Nháy đúp vào file cài đặt, một hộp thoại mở ra: hmailserver_install_step_1

Next, Next…

Các tùy chọn trong quá trình cài đặt:

  • Full installation
  • Use external database engine (MSSQL, MySQL or PostgreSQL)
  • Nhập mật khẩu (ví dụ, 123456)
  • Khi được hỏi cấu hình database, Cancel (làm sau)

Kết nối với SQL Server

Chạy chương trình hMailServer Database Setup: database-setup-step-1

Next > Create a new hMailServer database > Microsoft SQL Server: database-setup-step-4

Để biết Database server address, ta mở SQL Server Management Studio: db-server-address

Authentication: Đăng nhập vào SQL Server (cấu hình trong lúc cài đặt SQL Server).

Next: hMailServer service phụ thuộc vào database service database-setup-step-5

Sau khi cấu hình thành công, hMailServer sẽ tạo ra csdl mailserver với rất nhiều bảng: mailserver-db

Cấu hình hMailServer

Mở chương trình hMailServer Administrator: hmailserver-config-step-0

Connect và tạo mới Domains: hmailserver-config-step-1

Tạo một domain tùy ý (ví dụ, local.com) và Save.

Tạo mới hai tài khoản (để kiểm tra): hmailserver-config-step-2 Ví dụ, [email protected] | 123456 và [email protected] | 123456

Sử dụng mail server

Mở chương trình Microsoft Outlook 2010. Lần đầu tiên khởi động chương trình sẽ có giao diện: outlook-startup

Next, Next… > Manually configure server settings or additional server types > Internet E-mail: outlook-acc-config

Để biết Incoming mail serverOutgoing mail server (SMTP), ta mở cmd và gõ ipconfig: outlook-acc-config-2

Vẫn trên giao diện Add New Account, ấn vào More Settings … > Outgoing Server, tích vào My outgoing server… rồi OK: outlook-acc-config-1

Ấn vào Test Account Settings … để kiểm tra: outlook-acc-setting-testing

Next > Finish. Thành công, ta sẽ nhận được hai email: outlook-finish

P/S: Nếu không có, ấn F9.

Thử gửi một email

Thêm tài khoản [email protected] vào Outlook, File > Add Account: outlook-add-acc

Các bước tiếp theo tương tự như phần trước.

Từ user1 soạn một email tới user2: outlook-send-email

Gửi mail và kiểm tra kết quả (nếu không nhận được mail, ấn F9).

Share this:

  • X
  • Facebook
Like Loading...

Từ khóa » Cài đặt Hmailserver