Công Nghệ

[LAB 6] – Cấu hình MAIL server trên Linux (CentOS 6.5)



=== Mail Server ===
== Part 1: Configure SMTP server ==
Step 1: Check the presence of postfix (mail) on your system (6:20).
Step 2: Choose your default mail server type (6:31).
Step 3: Modify the main configuration of postfix service (main.cf) (7:16).
Step 4: Create the directories to store the mail of users (24:56).
Step 5: Assigns the permission and owner for the above directories and start the postfix service (25:48).

== Part 2: Configure IMAP server ==
Step 1: Download and install the necessary packages of dovecot (IMAP server) (28:46).
Step 2: Modify the main configuration file of dovecot service (29:29).
Step 3: Modify the “module” configuration files of dovecot (30:10).
Step 4: Start the dovecot service.

== Part 3: Configure webmail service ==
Step 1: Download and install the necessary packages of squirrelmail (36:28).
Step 2: Modify the configuration file of squirrelmail (39:16).
Step 3: Restart the HTTP service which are the operating environment of SquirrelMail.
Step 4: Access to webmail (43:46 and 45:43).
Step 5: Restart the HTTP service.
Step 6: Turn on the necessary boolean string (SElinux) which permit http service to contact with squirrelmail (49:33).
Step 7: Add one Alias configuration part of squirrelmail to the httpd.conf (50:33).
Step 8: Restart the HTTP, POSTFIX, DOVECOT service and re-access the webmail (57:31).
Step 9: Add the mail users (58:42).
Step 10: login and check the sending of mail between the users (1:02:30).

This is the end of the LAB. Thanks for watching. Like and subscribe to more videos. See you again ^^

Tag: cấu hình mail server, linux, centos, mail server, postfix, configure mail server in linux

Xem thêm: https://365congnghe.com/category/cong-nghe

Nguồn: https://365congnghe.com

21 Comments

  1. mình chỉ send mail đc, có hiện trong sent, nhưng mà bên user nhận k nhận đc mail , nó k hiện trogn inbox, đó là do postfix, dovecot hay là cấu hình trong squirrelmail vậy ạ???

    Reply
  2. hiện tại mình có cài đặt web vs mail trên 1 máy ảo., giờ mình muốn đặt ip cho mail ở chổ nào để máy client phân biệt được ip của mail or web cảm ơn bạn

    Reply
  3. Cảm ơn Sharedlinux.
    Ad có thể hướng dẫn gửi/nhận mail trên client được không ạ? Mình thử gửi nhận mail bằng outlook express trên WinXP client nhưng đăng nhập không thành công (vì xác thực không thành công). Còn trên Evolution của Centos thì mình không biết cách nào để thoát tài khoản hiện tại để đăng nhập tài khoản mới.
    Mong ad giúp mình.

    Reply
  4. Chào admin mình đã cấu hình postfix và dovecot như bạn hướng dẫn nhưng mình không muốn sử dụng squirrelmail. mình sử dụng outlook 2010 làm mail client nhưng khi cài đặt outlook thì hệ thống báo lỗi không thể kết nối tới mail server. bạn có thể hướng dẫn mình khắc phục lỗi đó không. Cám ơn bạn nhiều nhé.

    Reply
  5. Cam on sharedlinux. mình đã cấu hình hoản chỉnh các bước như video nhưng mình vướng phải lỗi không gửi email, hiệnn
    "Message not sent. Server replied:
    Connection refused
    111 Can't open SMTP stream."

    sharedlinux giúp mình fix lỗi này được không ( email của mình [email protected] )

    Reply

Post Comment