際際滷

際際滷Share a Scribd company logo
Nguy畛n Duy 畉t - SVTT Page 1
CI 畉T POSTFIX/DOVECOT TRN CENTOS 6.5
M担 h狸nh bi lab:
Y棚u c畉u:
Ci 畉t DNS cho server 畛 ph但n gi畉i 畛a ch畛 IP cho client
Ci 畉t Postfix/Dovecot tr棚n server v c畉u h狸nh user tr棚n client 畛 client c坦 th畛 g畛i/nh畉n Email
Ci 畉t Squirrelmail tr棚n server 畛 client c坦 th畛 g畛i/nh畉n Email qua tr狸nh duy畛t web
Nguy畛n Duy 畉t - SVTT Page 2
I/ C畉u h狸nh Hostname:
S畛a file /etc/hosts:
# vi /etc/hosts
S畛a file /etc/sysconfig/network
# vi /etc/sysconfig/network
Restart h畛 th畛ng: init 6
Ki畛m tra Hostname:
II/ C畉u h狸nh DNS:
1/ Ci 畉t DNS:
D湛ng c但u l畛nh: rpm ivh <t棚n g坦i> 畛 ci 畉t c叩c g坦i sau:
bind-9.8.2-0.17.rc1.el6_4.6.i686.rpm
bind-libs-9.8.2-0.17.rc1.el6_4.6.i686.rpm
bind-utils-9.8.2-0.17.rc1.el6_4.6.i686.rpm
Ta c坦 th畛 t狸m c叩c g畛i tr棚n trong DVD ci 畉t CentOS
Nguy畛n Duy 畉t - SVTT Page 3
2/ C畉u h狸nh DNS:
T畉o file /etc/named.conf nh動 sau:
T畉o file /var/named/named.root b畉ng c叩ch download tr棚n m畉ng nh動 sau:
Ch炭 箪: Server ph畉i k畉t n畛i 畉n internet.
Nguy畛n Duy 畉t - SVTT Page 4
T畉o file /var/named/athena.edu.vn.db:
T畉o file /var/named/1.168.192.in-addr.arpa.db:
S畛a file /etc/resolv.conf:
Restart named daemon
Nguy畛n Duy 畉t - SVTT Page 5
T畉t Firewall:
Ch畛n Firewall
Configuration
Nh畉n Space Bar 畛
disable Firewall  OK
Ch畛n Yes
Ch畛n Quit 畛 tho叩t
setup
Nguy畛n Duy 畉t - SVTT Page 6
III/C畉u h狸nh Postfix:
1/ Ci 畉t:
G坦i ci 畉t Postfix: postfix-2.6.6-2.2.el6_1.i686.rpm
C坦 th畛 t狸m th畉y trong DVD ci 畉t CentOS
2/ C畉u h狸nh:
M畛 file /etc/postfix/main.cs, s畛a nh畛ng d嘆ng sau:
## D嘆ng 75  Uncomment, 畉t hostname
myhostname = mail.athena.edu.vn
## D嘆ng 83  Uncomment, 畉t t棚n domain
mydomain = athena.edu.vn
## D嘆ng 99 - Uncomment
myorigin = $mydomain
## D嘆ng 116  S畛a localhost thnh all
inet_interfaces = all
## D嘆ng 164  th棚m $mycomain vo sau
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
## D嘆ng 250 - Uncomment
mynetworks_style = subnet
## D嘆ng 264  Uncomment, th棚m 動畛ng m畉ng
mynetworks = 192.168.1.0/24, 127.0.0.0/8
## D嘆ng 419  Uncomment
home_mailbox = Maildir/
Nguy畛n Duy 畉t - SVTT Page 7
Kh畛i 畛ng l畉i postfix, ki畛m tra port:
Ci telnet:
T畉o user:
Telnet 畉n server
Nguy畛n Duy 畉t - SVTT Page 8
G畛i E-mail t畛 u1 qua u2:
Ki畛m tra maillog, ta th畉y qu叩 tr狸nh g畛i/nh畉n mail c畛a 2 user
Nguy畛n Duy 畉t - SVTT Page 9
IV/C畉u h狸nh Dovecot
1/ Ci 畉t:
G坦i ci 畉t Dovecot: dovecot-2.0.9-7.el6.i686.rpm
C坦 th畛 t狸m th畉y trong DVD ci 畉t CentOS
2/ C畉u h狸nh:
M畛 file /etc/dovecot/dovecot.conf, s畛a nh畛ng d嘆ng sau:
M畛 file /etc/dovecot/conf.d/10-auth.conf, s畛a nh畛ng d嘆ng sau:
M畛 file /etc/dovecot/conf.d/10-mail.conf, s畛a nh畛ng d嘆ng sau:
## D嘆ng 20  Uncomment
protocols = imap pop3 lmtp
## D嘆ng 26  Uncomment, b畛 ,::
listen = *
## D嘆ng 9  Uncomment, s畛a yes thnh no
disable_plaintext_auth = no
## D嘆ng 97  S畛a plain thnh plain login
auth_mechanisms = plain login
## D嘆ng 24  Uncomment
mail_location = maildir:~/Maildir
Nguy畛n Duy 畉t - SVTT Page 10
M畛 file /etc/dovecot/conf.d/10-master.conf, s畛a nh畛ng d嘆ng sau:
Kh畛i 畛ng l畉i Dovecot, Postfix:
# service dovecot restart
# service postfix restart
## D嘆ng 19  Uncomment
port = 143
## D嘆ng 22  Uncomment
port = 993
## D嘆ng 40  Uncomment
port = 110
## D嘆ng 43  Uncomment
port = 995
## D嘆ng 82  Uncomment
mode = 0600
## D嘆ng 83  Uncomment, s畛a l畉i thnh:
user = postfix
## D嘆ng 84  Uncomment, s畛a l畉i thnh:
group = postfix
Nguy畛n Duy 畉t - SVTT Page 11
3/ Ki畛m tra t畉i Client:
T畉i Client, t畉o 2 user u1v u2,
Log on U1 ,kh畛i 畛ng Outlook
Expres c畉u h狸nh Mail client
B1. Nh畉p t棚n ng動畛i d湛ng
B2. Nh畉p account mail
Nguy畛n Duy 畉t - SVTT Page 12
B3. Nh畉p 畛a ch畛 c畛a Incoming mail
server v Outgoing mail server
B4. Nh畉p user account v password
達 t畉o t畉i server
B5.Nh畉n Finish
Nguy畛n Duy 畉t - SVTT Page 13
B6. T畉o 1 email g畛i qua cho u2
B7. ng nh畉p u2, c畉u h狸nh t動董ng
t畛 nh動 u1, ki畛m tra mail 達 nh畉n
thnh c担ng
Nguy畛n Duy 畉t - SVTT Page 14
V/ C畉u h狸nh Squirrelmail:
1/Ci 畉t
Ci 畉t online
# yum install epel squirrelmail -y
Ci 畉t b畉ng g坦i: Download v ci 畉t c叩c g坦i sau:
epel-release-6-8.noarch.rpm
php-common-5.3.3-27.el6_5.i686.rpm
php-cli-5.3.3-27.el6_5.i686.rpm
php-5.3.3-27.el6_5.i686.rpm
php-mbstring-5.3.3-27.el6_5.i686.rpm
php-pear-1.9.4-4.el6.noarch.rpm
php-pear-DB-1.7.13-3.el6.noarch.rpm
squirrelmail-1.4.22-4.el6.noarch.rpm
2/C畉u h狸nh:
Di chuy畛n 畉n /usr/share/squirrelmail/config/ r畛i ch畉y file conf.pl
# cd /usr/share/squirrelmail/config/
# ./conf.pl
Nguy畛n Duy 畉t - SVTT Page 15
B畉ng c畉u h狸nh c畛a Squirrelmail xu畉t hi畛n, nh畉p 2  Enter 畛 ci 畉t cho server
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 >> 2
Nguy畛n Duy 畉t - SVTT Page 16
Trong m畛c Server Settings, nh畉p 1  Enter  nh畉p mail domain  Enter
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 >> 1
The domain name is the suffix at the end of all email addresses. If
for example, your email address is jdoe@example.com, then your domain
would be example.com.
[localhost]: athena.edu.vn
Nguy畛n Duy 畉t - SVTT Page 17
Nh畉p 3  Enter v 畛i t畛 Sendmail sang SMTP
Nh畉p 2  Enter 畛 chuy畛n t畛 Sendmail sang SMTP
Nh畉p s  Enter 畛 l動u l畉i, sau 坦 q  Enter 畛 tr畛 v畛 menu ch鱈nh
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Server Settings
General
-------
1. Domain : athena.edu.vn
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 >> 3
You now need to choose the method that you will use for sending
messages in SquirrelMail. You can either connect to an SMTP server
or use sendmail directly.
1. Sendmail
2. SMTP
Your choice [1/2] [1]: 2
Nguy畛n Duy 畉t - SVTT Page 18
T畉i menu ch鱈nh, nh畉p d  Enter 畛 ch畛n IMAP server
Nh畉p dovecot  Enter 畛 ch畛n dovecot lm IMAP server
Nh畉p s  Enter 畛 l動u c畉u h狸nh, sau 坦 nh畉p q  Enter 畛 tho叩t menu c畉u h狸nh
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 >> d
Please select your IMAP server:
bincimap = Binc IMAP server
courier = Courier IMAP server
cyrus = Cyrus IMAP server
dovecot = Dovecot Secure IMAP server
exchange = Microsoft Exchange IMAP server
hmailserver = hMailServer
macosx = Mac OS X Mailserver
mercury32 = Mercury/32
uw = University of Washington's IMAP server
gmail = IMAP access to Google mail (Gmail) accounts
quit = Do not change anything
Command >> dovecot
Nguy畛n Duy 畉t - SVTT Page 19
M畛 file /etc/httpd/conf.d/squirrelmail.conf v s畛a l畉i nh動 sau:
D嘆ng 8: s畛a Deny from all thnh Allow from all
Comment c叩c d嘆ing: 14, 15, 16, 17, 18
畛 cho ph辿p client ng nh畉p b畉ng http, nh畉p c但u l畛nh sau:
# setsebool -P httpd_can_network_connect=1
Kh畛i 畛ng l畉i c叩c d畛ch v畛:
# service httpd restart
# service postfix restart
# service dovecot restart
1 #
2 # SquirrelMail is a webmail package written in PHP.
3 #
4
5 Alias /webmail /usr/share/squirrelmail
6
7 <Directory "/usr/share/squirrelmail/plugins/squirrelspell/modules">
8 Allow from all
9 </Directory>
10
11 # this section makes squirrelmail use https connections only, for this you
12 # need to have mod_ssl installed. If you want to use unsecure http
13 # connections, just remove this section:
14 #<Directory /usr/share/squirrelmail>
15 # RewriteEngine on
16 # RewriteCond %{HTTPS} !=on
17 # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
18 #</Directory>
19
Nguy畛n Duy 畉t - SVTT Page 20
3/ Ki畛m tra t畉i client:
畛 truy c畉p vo web mail, ta truy c畉p v畛i 畛a ch畛:
http://<ipaddress>/webmail ho畉c http://<domain-name>/webmail
Nh畉p username v password t畉i mn h狸nh ng nh畉p
T畉i giao di畛n account, nh畉n Compose 畛 t畉o v g畛i m畛t email m畛i sang u2@athena.edu.vn
Nguy畛n Duy 畉t - SVTT Page 21
ng nh畉p u2 ki畛m tra email v畛a g畛i t畛 u1:

More Related Content

Postfix Dovecot CentOS 6.5

  • 1. Nguy畛n Duy 畉t - SVTT Page 1 CI 畉T POSTFIX/DOVECOT TRN CENTOS 6.5 M担 h狸nh bi lab: Y棚u c畉u: Ci 畉t DNS cho server 畛 ph但n gi畉i 畛a ch畛 IP cho client Ci 畉t Postfix/Dovecot tr棚n server v c畉u h狸nh user tr棚n client 畛 client c坦 th畛 g畛i/nh畉n Email Ci 畉t Squirrelmail tr棚n server 畛 client c坦 th畛 g畛i/nh畉n Email qua tr狸nh duy畛t web
  • 2. Nguy畛n Duy 畉t - SVTT Page 2 I/ C畉u h狸nh Hostname: S畛a file /etc/hosts: # vi /etc/hosts S畛a file /etc/sysconfig/network # vi /etc/sysconfig/network Restart h畛 th畛ng: init 6 Ki畛m tra Hostname: II/ C畉u h狸nh DNS: 1/ Ci 畉t DNS: D湛ng c但u l畛nh: rpm ivh <t棚n g坦i> 畛 ci 畉t c叩c g坦i sau: bind-9.8.2-0.17.rc1.el6_4.6.i686.rpm bind-libs-9.8.2-0.17.rc1.el6_4.6.i686.rpm bind-utils-9.8.2-0.17.rc1.el6_4.6.i686.rpm Ta c坦 th畛 t狸m c叩c g畛i tr棚n trong DVD ci 畉t CentOS
  • 3. Nguy畛n Duy 畉t - SVTT Page 3 2/ C畉u h狸nh DNS: T畉o file /etc/named.conf nh動 sau: T畉o file /var/named/named.root b畉ng c叩ch download tr棚n m畉ng nh動 sau: Ch炭 箪: Server ph畉i k畉t n畛i 畉n internet.
  • 4. Nguy畛n Duy 畉t - SVTT Page 4 T畉o file /var/named/athena.edu.vn.db: T畉o file /var/named/1.168.192.in-addr.arpa.db: S畛a file /etc/resolv.conf: Restart named daemon
  • 5. Nguy畛n Duy 畉t - SVTT Page 5 T畉t Firewall: Ch畛n Firewall Configuration Nh畉n Space Bar 畛 disable Firewall OK Ch畛n Yes Ch畛n Quit 畛 tho叩t setup
  • 6. Nguy畛n Duy 畉t - SVTT Page 6 III/C畉u h狸nh Postfix: 1/ Ci 畉t: G坦i ci 畉t Postfix: postfix-2.6.6-2.2.el6_1.i686.rpm C坦 th畛 t狸m th畉y trong DVD ci 畉t CentOS 2/ C畉u h狸nh: M畛 file /etc/postfix/main.cs, s畛a nh畛ng d嘆ng sau: ## D嘆ng 75 Uncomment, 畉t hostname myhostname = mail.athena.edu.vn ## D嘆ng 83 Uncomment, 畉t t棚n domain mydomain = athena.edu.vn ## D嘆ng 99 - Uncomment myorigin = $mydomain ## D嘆ng 116 S畛a localhost thnh all inet_interfaces = all ## D嘆ng 164 th棚m $mycomain vo sau mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain ## D嘆ng 250 - Uncomment mynetworks_style = subnet ## D嘆ng 264 Uncomment, th棚m 動畛ng m畉ng mynetworks = 192.168.1.0/24, 127.0.0.0/8 ## D嘆ng 419 Uncomment home_mailbox = Maildir/
  • 7. Nguy畛n Duy 畉t - SVTT Page 7 Kh畛i 畛ng l畉i postfix, ki畛m tra port: Ci telnet: T畉o user: Telnet 畉n server
  • 8. Nguy畛n Duy 畉t - SVTT Page 8 G畛i E-mail t畛 u1 qua u2: Ki畛m tra maillog, ta th畉y qu叩 tr狸nh g畛i/nh畉n mail c畛a 2 user
  • 9. Nguy畛n Duy 畉t - SVTT Page 9 IV/C畉u h狸nh Dovecot 1/ Ci 畉t: G坦i ci 畉t Dovecot: dovecot-2.0.9-7.el6.i686.rpm C坦 th畛 t狸m th畉y trong DVD ci 畉t CentOS 2/ C畉u h狸nh: M畛 file /etc/dovecot/dovecot.conf, s畛a nh畛ng d嘆ng sau: M畛 file /etc/dovecot/conf.d/10-auth.conf, s畛a nh畛ng d嘆ng sau: M畛 file /etc/dovecot/conf.d/10-mail.conf, s畛a nh畛ng d嘆ng sau: ## D嘆ng 20 Uncomment protocols = imap pop3 lmtp ## D嘆ng 26 Uncomment, b畛 ,:: listen = * ## D嘆ng 9 Uncomment, s畛a yes thnh no disable_plaintext_auth = no ## D嘆ng 97 S畛a plain thnh plain login auth_mechanisms = plain login ## D嘆ng 24 Uncomment mail_location = maildir:~/Maildir
  • 10. Nguy畛n Duy 畉t - SVTT Page 10 M畛 file /etc/dovecot/conf.d/10-master.conf, s畛a nh畛ng d嘆ng sau: Kh畛i 畛ng l畉i Dovecot, Postfix: # service dovecot restart # service postfix restart ## D嘆ng 19 Uncomment port = 143 ## D嘆ng 22 Uncomment port = 993 ## D嘆ng 40 Uncomment port = 110 ## D嘆ng 43 Uncomment port = 995 ## D嘆ng 82 Uncomment mode = 0600 ## D嘆ng 83 Uncomment, s畛a l畉i thnh: user = postfix ## D嘆ng 84 Uncomment, s畛a l畉i thnh: group = postfix
  • 11. Nguy畛n Duy 畉t - SVTT Page 11 3/ Ki畛m tra t畉i Client: T畉i Client, t畉o 2 user u1v u2, Log on U1 ,kh畛i 畛ng Outlook Expres c畉u h狸nh Mail client B1. Nh畉p t棚n ng動畛i d湛ng B2. Nh畉p account mail
  • 12. Nguy畛n Duy 畉t - SVTT Page 12 B3. Nh畉p 畛a ch畛 c畛a Incoming mail server v Outgoing mail server B4. Nh畉p user account v password 達 t畉o t畉i server B5.Nh畉n Finish
  • 13. Nguy畛n Duy 畉t - SVTT Page 13 B6. T畉o 1 email g畛i qua cho u2 B7. ng nh畉p u2, c畉u h狸nh t動董ng t畛 nh動 u1, ki畛m tra mail 達 nh畉n thnh c担ng
  • 14. Nguy畛n Duy 畉t - SVTT Page 14 V/ C畉u h狸nh Squirrelmail: 1/Ci 畉t Ci 畉t online # yum install epel squirrelmail -y Ci 畉t b畉ng g坦i: Download v ci 畉t c叩c g坦i sau: epel-release-6-8.noarch.rpm php-common-5.3.3-27.el6_5.i686.rpm php-cli-5.3.3-27.el6_5.i686.rpm php-5.3.3-27.el6_5.i686.rpm php-mbstring-5.3.3-27.el6_5.i686.rpm php-pear-1.9.4-4.el6.noarch.rpm php-pear-DB-1.7.13-3.el6.noarch.rpm squirrelmail-1.4.22-4.el6.noarch.rpm 2/C畉u h狸nh: Di chuy畛n 畉n /usr/share/squirrelmail/config/ r畛i ch畉y file conf.pl # cd /usr/share/squirrelmail/config/ # ./conf.pl
  • 15. Nguy畛n Duy 畉t - SVTT Page 15 B畉ng c畉u h狸nh c畛a Squirrelmail xu畉t hi畛n, nh畉p 2 Enter 畛 ci 畉t cho server 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 >> 2
  • 16. Nguy畛n Duy 畉t - SVTT Page 16 Trong m畛c Server Settings, nh畉p 1 Enter nh畉p mail domain Enter 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 >> 1 The domain name is the suffix at the end of all email addresses. If for example, your email address is jdoe@example.com, then your domain would be example.com. [localhost]: athena.edu.vn
  • 17. Nguy畛n Duy 畉t - SVTT Page 17 Nh畉p 3 Enter v 畛i t畛 Sendmail sang SMTP Nh畉p 2 Enter 畛 chuy畛n t畛 Sendmail sang SMTP Nh畉p s Enter 畛 l動u l畉i, sau 坦 q Enter 畛 tr畛 v畛 menu ch鱈nh SquirrelMail Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Server Settings General ------- 1. Domain : athena.edu.vn 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 >> 3 You now need to choose the method that you will use for sending messages in SquirrelMail. You can either connect to an SMTP server or use sendmail directly. 1. Sendmail 2. SMTP Your choice [1/2] [1]: 2
  • 18. Nguy畛n Duy 畉t - SVTT Page 18 T畉i menu ch鱈nh, nh畉p d Enter 畛 ch畛n IMAP server Nh畉p dovecot Enter 畛 ch畛n dovecot lm IMAP server Nh畉p s Enter 畛 l動u c畉u h狸nh, sau 坦 nh畉p q Enter 畛 tho叩t menu c畉u h狸nh 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 >> d Please select your IMAP server: bincimap = Binc IMAP server courier = Courier IMAP server cyrus = Cyrus IMAP server dovecot = Dovecot Secure IMAP server exchange = Microsoft Exchange IMAP server hmailserver = hMailServer macosx = Mac OS X Mailserver mercury32 = Mercury/32 uw = University of Washington's IMAP server gmail = IMAP access to Google mail (Gmail) accounts quit = Do not change anything Command >> dovecot
  • 19. Nguy畛n Duy 畉t - SVTT Page 19 M畛 file /etc/httpd/conf.d/squirrelmail.conf v s畛a l畉i nh動 sau: D嘆ng 8: s畛a Deny from all thnh Allow from all Comment c叩c d嘆ing: 14, 15, 16, 17, 18 畛 cho ph辿p client ng nh畉p b畉ng http, nh畉p c但u l畛nh sau: # setsebool -P httpd_can_network_connect=1 Kh畛i 畛ng l畉i c叩c d畛ch v畛: # service httpd restart # service postfix restart # service dovecot restart 1 # 2 # SquirrelMail is a webmail package written in PHP. 3 # 4 5 Alias /webmail /usr/share/squirrelmail 6 7 <Directory "/usr/share/squirrelmail/plugins/squirrelspell/modules"> 8 Allow from all 9 </Directory> 10 11 # this section makes squirrelmail use https connections only, for this you 12 # need to have mod_ssl installed. If you want to use unsecure http 13 # connections, just remove this section: 14 #<Directory /usr/share/squirrelmail> 15 # RewriteEngine on 16 # RewriteCond %{HTTPS} !=on 17 # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} 18 #</Directory> 19
  • 20. Nguy畛n Duy 畉t - SVTT Page 20 3/ Ki畛m tra t畉i client: 畛 truy c畉p vo web mail, ta truy c畉p v畛i 畛a ch畛: http://<ipaddress>/webmail ho畉c http://<domain-name>/webmail Nh畉p username v password t畉i mn h狸nh ng nh畉p T畉i giao di畛n account, nh畉n Compose 畛 t畉o v g畛i m畛t email m畛i sang u2@athena.edu.vn
  • 21. Nguy畛n Duy 畉t - SVTT Page 21 ng nh畉p u2 ki畛m tra email v畛a g畛i t畛 u1: