Thành viên CMGroupvn

CMGroupvn - Toward Professionalist in IT
Nguy?n Anh TúNguyễn Anh Tú
Làm việc tại FIS SRV HN.
tuna@cmgroupvn.com
Nguyễn Đức HòaNguyễn Đức Hòa
Làm việc tại FIS SRV HN.
hoand@cmgroupvn.com
Tôn Vi?t HungTôn Việt Hưng
Năm 5 khoa CNTT - ÐH BKHN.
hungtv@cmgroupvn.com
Bùi Châu PhiBùi Châu Phi
Làm việc tại FIS SRV HN
phibc@cmgroupvn.com
Nguy?n Vi?t HùngNguyễn Việt Hùng
Năm 5 khoa ÐTVT - HV KTQS.
hungnv@cmgroupvn.com
Phạm Việt DũngPhạm Việt Dũng
Năm 4 khoa CNTT - ÐH CNHN.
dungpv@cmgroupvn.com
Nguyễn Tiến AnhNguyễn Tiến Anh
Năm 5 khoa CNTT - ÐH BKHN.
anhnt@cmgroupvn.com
Nguyễn Minh TuệNguyễn Minh Tuệ
Năm 5 khoa CNTT - ÐH Thủy Lợi.
tuenm@cmgroupvn.com
Lâm Viết ThảoLâm Viết Thảo
Làm việc tại FIS SRV HN.
Hoàng Tu?n Vi?tHoàng Tuấn Việt
Năm 3 - ÐH Công nghệ
vietht@cmgroupvn.com
Tôn Huy NamTôn Huy Nam
Năm 1 - HV KTQS
namth@cmgroupvn.com

Thống kê truy cập

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday10
mod_vvisit_counterYesterday103
mod_vvisit_counterThis week169
mod_vvisit_counterLast week721
mod_vvisit_counterThis month557
mod_vvisit_counterLast month2892
mod_vvisit_counterAll days25637

We have: 1 guests, 1 bots online
Your IP: 38.107.191.90
 , 
Today: Sep 07, 2010
Hướng dẫn cấu hình Mail server sử dụng postfix + dovecot + webmail squirrelmail PDF Print E-mail
Written by Nguyễn Minh Tuệ   
Thursday, 29 April 2010 19:37

Mô hình bài lab :
1. Server :
- OS :CentOS 5.3
- Service: Postfix ( Mail server) , Dovecot (IMAP), httpd(HTTP Apache) , bind (DNS) ,Squirrelmail (Webmail) và một số dịch vụ chống spam mail như SpamAssassin, ClamAV thì chưa hoàn thiện
- IP : 192.168.1.150
- Domain : abc.com

2. Client :

- OS : Windows XP SP2
- Software:sử dụng các mail client có các add-on support encrypt email là Outlook Express , Mozila Thunderbird. Ngoài ra còn sử dụng Squirrelmail (webmail client) để check mail.

 

Sau đây là các file config trong bài lab của mình

1. config postfix

31 queue_directory = /var/spool/postfix
36 command_directory = /usr/sbin
42 daemon_directory = /usr/libexec/postfix
53 mail_owner = postfix
72 myhostname = mail.abc.com
81 mydomain = abc.com
98 myorigin = $myhostname
99 myorigin = $mydomain
115 inet_interfaces = all
167 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
268 mynetworks = 192.168.1.0/24, 127.0.0.0/8
392 alias_maps = hash:/etc/aliases
405 alias_database = hash:/etc/aliases
604 debug_peer_level = 2
624 debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
652 sendmail_path = /usr/sbin/sendmail.postfix
657 newaliases_path = /usr/bin/newaliases.pos
662 mailq_path = /usr/bin/mailq.postfixtfix
668 setgid_group = postdrop
672 html_directory = no
676 manpage_directory = /usr/share/man
681 sample_directory = /usr/share/doc/postfix-2.3.3/samples

2. Config webmail Squirrelmail

$domain = 'abc.com';
$imapServerAddress = '192.168.1.150';
$imapPort = 143;
$useSendmail = true;
$smtpServerAddress = '192.168.1.150';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$pop_before_smtp = false;
$imap_server_type = 'uw';
$invert_time = false;
$optional_delimiter = '/';

3. Cấu hình DNS thuận nghịch (update sau nhé)

4. Config trong Outlook

5. Config trong Thunderbird

5. Giao diện Webmail Squirrelmail

TueNM is a member of CMGROUPVN

Last Updated on Tuesday, 04 May 2010 17:00
 

Add comment


Security code
Refresh