Upload
know2pro
View
25
Download
4
Embed Size (px)
DESCRIPTION
Lab 8 Mail Server
Citation preview
50523206023-4 50523206025-9
Lab 8 Mail Server
1. Domain name 2. Mail 3. Web base Email
1. server domain a.com a dot com
host hosts (vi /etc/hosts) domain
ip adderss host
named.conf (vi /etc/named.conf) zone
50523206023-4 50523206025-9
2. server www.a.com , mail.com , c.com server mail server mail server IN MX mail mail
3. sendmail sendmail yum install sendmail download
50523206023-4 50523206025-9
4. User testmail01 , testmail02 , testmail03
user useradd d /home/username username password passwd username password
5. user mail Queue
mailq user : testmail01 mail user ( mail [email protected])
50523206023-4 50523206025-9
6. Web base Email Squirrel mail , Hord , Open webmail
Web base Email yum install squirrelmail download
7. Email Web base
Web base Email squirrelMail
/usr/shared/squirrelmail/config run conf.pl ./conf.pl start service httpd dovecot service httpd start service dovecot start login
50523206023-4 50523206025-9
50523206023-4 50523206025-9
Mail Server DNS Email domain Email Mail server service sendmail (/etc/mail) Cwlocalhos (/etc/mail) domainname O DaemonPortOptions = Port = smtp,Addr=0.0.0.0, Name=MTA Email domain 2 1. sendmail.cf 2. sendmail.mc compile sendmail.cf m4 sendmail.mc > senamail.cf
Web base Email yum install squirrelmail Web base Email run config.pl ./config.pl /usr/shared/squirrelmail/config start service httpd dovecot Web base Email Browser (IE , Firefox ) login
1. Mail Relay Mail Relay Server (Sender) (Recipient) Server / IP address (Local User)
2. Spam Mail Spam Mail Email
1. Spam Mail Spam Buster
2. Spam Mail Outlook Express , Unix , Hotmail Yahoomail
50523206023-4 50523206025-9
50523206023-4 50523206025-9
50523206023-4 50523206025-9
50523206023-4 50523206025-9