Cài Đặt Webmail Với SquirrelMail
Lưu ý: Trước tiên cần phải cài đặt web server và imap server và php.
Cài đặt SquirrelmMail:
[root@localhost ~]# yum install squirrelmail
Cấu hình cho SquirrelMail.
[root@localhost ~]#/usr/share/squirrelmail/config/conf.pl
Sẽ thấy như sau:
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color off
S Save data
Q Quit
Command >>
Chọn menu thích hợp và cung cấp những thông tin cần thiết. Quan trọng nhất ở bước này là "2. Server Settings", phần IMAP server. Sau khi chỉnh sửa xong, chọn "S Save data" (lưu giữ cấu hình) và "Q Quit" (thoát). Cấu hình sẽ được ghi lại trong file "/etc/squirrelmail/config.php". Phần “2. Server Sttings” như sau:
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Server Settings
General
-------
1. Domain : localhost
2. Invert Time : false
3. Sendmail or SMTP : Sendmail
A. Update IMAP Settings : localhost:143 (uw)
B. Change Sendmail Config : /usr/sbin/sendmail
R Return to Main Menu
C Turn color off
S Save data
Q Quit
Command >>
Kiểm tra lại lần cuối
[root@localhost ~]# vi /etc/squirrelmail/config.php
Phần chính của file /etc/squirrelmail/config.php thường có cấu trúc như sau:
###--------------------------------------------------------------
$org_name = "My Webmail Service";
$squirrelmail_default_language = 'en_US';
$domain = 'real.domain.name';
$imapServerAddress = 'localhost';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
// trườngng hợp IMAP server là courier-imap
$imap_server_type = 'courier';
$default_folder_prefix = 'INBOX.';
$trash_folder = 'Trash';
$sent_folder = 'Sent';
$draft_folder = 'Drafts';
###-------------------------------------------------------
Chạy SquirrelMail bằng cách gõ http://localhost/webmai. Và bạn có thể chỉnh lại url đến webmail của bạn thành mail., ví dụ: mail.uitnetwork.com. bằng cách cấu hình lại file httpd.conf (file cấu hình của Apache ).
* Xây Dựng Mail Server với Postfix - Phần 1
* Xây Dựng Mail Server với Postfix - Phần 2
* Xây Dựng Mail Server với Postfix - Phần 3
* Xây Dựng Mail Server với Postfix - Phần 4
* Xây Dựng Mail Server với Postfix - Phần 5
* Xây Dựng Mail Server với Postfix - Phần 6
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
www.UITnetwork.com
- 25/10/2009 23:40 - Triển khai và Ứng dụng công nghệ Sona cho doanh ng…
- 22/10/2009 01:34 - Triển khai và Ứng dụng công nghệ Sona cho doanh ng…
- 22/10/2009 00:04 - Triển khai và Ứng dụng công nghệ Sona cho doanh ng…
- 18/09/2009 00:00 - Xây Dựng Mail Server Với Postfix - Phần 6
- 12/09/2009 00:48 - Xây Dựng Mail Server Với Postfix - Phần 5
- 11/09/2009 21:57 - Xây Dựng Mail Server Với Postfix - Phần 3
- 11/09/2009 21:42 - Xây Dựng Mail Server Với Postfix - Phần 2
- 10/09/2009 14:03 - 9 sai lầm thường mắc phải với mạng không dây
- 19/08/2009 11:52 - Xây Dựng Mail Server với Postfix - Phần 1
- 09/06/2009 01:25 - Kỹ năng học thi chứng chỉ quốc tế