Upload
Download free for 30 days
Login
Submit Search
Ch09 mail-systems-part2
0 likes
313 views
Chatchai Jantaraprim
1 of 11
Download now
Download to read offline
1
2
3
4
5
6
7
8
9
10
11
More Related Content
PDF
Editors for-linux
Chatchai Jantaraprim
ODP
Ch05 name-services
Chatchai Jantaraprim
PDF
Ch08 mail-systems
Chatchai Jantaraprim
PDF
Linux command-reference
Suphot Chaichana
PPT
โปรโตคอล
Rattana Wongphu-nga
PPT
Basic linux
taggi
PDF
Cent os
สามารถ จงนอก
PDF
Ch06 bind9
Chatchai Jantaraprim
Editors for-linux
Chatchai Jantaraprim
Ch05 name-services
Chatchai Jantaraprim
Ch08 mail-systems
Chatchai Jantaraprim
Linux command-reference
Suphot Chaichana
โปรโตคอล
Rattana Wongphu-nga
Basic linux
taggi
Cent os
สามารถ จงนอก
Ch06 bind9
Chatchai Jantaraprim
Viewers also liked
(20)
PDF
CompTIA Linux+
Matthew Shellhart
PDF
Ch15 elastic hosts-svradmin
Chatchai Jantaraprim
PDF
Ch17 secure-password
Chatchai Jantaraprim
PDF
Ch10 web servers
Chatchai Jantaraprim
PDF
Ch11 web-app
Chatchai Jantaraprim
PDF
Ch12 web-app-part2
Chatchai Jantaraprim
ODP
Ch01 administrators-tasks
Chatchai Jantaraprim
PDF
E-File Opt-Out Request Form
taxman taxman
PPS
Videoconferencia
Zitzi Lopez
PDF
Unidad 2 planificacion y modelado
JosepSalvadorSotoObregon
PDF
Advergames: Análisis de America's Army
Cristina Martorell
PDF
Enhancing your Movie Viewing Experience
Galalite Projection Screens
PPT
Europa
adtva
PPT
Upc feria de tecnologia movil
PUCMM
PDF
Primeras planas periodisticas miércoles 25 de marzo mexico
Diario de Un Politologo
PPTX
Activity 1 Mobius Toy, Inc.
Jean-Luc Winkler
PDF
Informe anual de polóticas migratorias y de asilo 2012 - España
International Talent Mobility Solutions
DOCX
Curso formación de compuestos
Sara Andrea Lopez Carhuamaca
PDF
Debate en la revista corpus sobre los pueblos indígenas
Norberto Mollo
PPS
Rezo Por Ti (Cmp)
Carmen María Pérez
CompTIA Linux+
Matthew Shellhart
Ch15 elastic hosts-svradmin
Chatchai Jantaraprim
Ch17 secure-password
Chatchai Jantaraprim
Ch10 web servers
Chatchai Jantaraprim
Ch11 web-app
Chatchai Jantaraprim
Ch12 web-app-part2
Chatchai Jantaraprim
Ch01 administrators-tasks
Chatchai Jantaraprim
E-File Opt-Out Request Form
taxman taxman
Videoconferencia
Zitzi Lopez
Unidad 2 planificacion y modelado
JosepSalvadorSotoObregon
Advergames: Análisis de America's Army
Cristina Martorell
Enhancing your Movie Viewing Experience
Galalite Projection Screens
Europa
adtva
Upc feria de tecnologia movil
PUCMM
Primeras planas periodisticas miércoles 25 de marzo mexico
Diario de Un Politologo
Activity 1 Mobius Toy, Inc.
Jean-Luc Winkler
Informe anual de polóticas migratorias y de asilo 2012 - España
International Talent Mobility Solutions
Curso formación de compuestos
Sara Andrea Lopez Carhuamaca
Debate en la revista corpus sobre los pueblos indígenas
Norberto Mollo
Rezo Por Ti (Cmp)
Carmen María Pérez
Ad
Similar to Ch09 mail-systems-part2
(6)
PDF
Ch03
burin rujjanapan
PDF
Lernning 12
Mayuree Janpakwaen
DOC
Set Openwebmail
การเดินทาง ที่ไร้จุดหมาย
PDF
Ch07 bind9-part2
Chatchai Jantaraprim
PDF
Tcp
Tay Chaloeykrai
PDF
Set up rubytech fgs 2924 r กับ tacacs
Alkornn Tanomjitvimol
Ch03
burin rujjanapan
Lernning 12
Mayuree Janpakwaen
Set Openwebmail
การเดินทาง ที่ไร้จุดหมาย
Ch07 bind9-part2
Chatchai Jantaraprim
Tcp
Tay Chaloeykrai
Set up rubytech fgs 2924 r กับ tacacs
Alkornn Tanomjitvimol
Ad
Ch09 mail-systems-part2
1.
Linux Server Admin
Mail Systems II POP3 & IMAP Chatchai J 2012-12-26
2.
POP3 ●
POP3 – Post office Protocol (version 3) ● download & delete protocol ● ถ้าต้องการดูว่า mail มาจากใครก็ต้อง อ่าน mail มาทั้งหมด
3.
IMAP ●
Internet Message Access Protocol
4.
Dovecot ●
จาก http://dovecot.org/ ● IMAP และ POP3 Server รองรับ Maildir format และ account จากหลาย source (ldap, mysql, .. etc) ● package ของ debian ใช้ – dovecot-common, dovecot-imapd, dovecot-pop3d $ sudo aptget update $ sudo aptget install dovecotcommon dovecotimapd dovecotpop3d
5.
Dovecot config ●
โดย default จะเปิ ดทั้ง pop3, pop3s, imap, imaps ● แก้ไขในบรรทัด “protocols” ในไฟล์ /etc/dovecot.conf ● ใช้งาน Maildir format แก้ mail_location = maildir:~/Maildir
6.
ทดสอบ POP3 ●
ส่ง mail เข้า mailbox ของ mailacct $ echo "test1" | mail s "test1" mailacct $ echo "test2" | mail s "test2" mailacct $ echo "test3" | mail s "test3" mailacct ● ใช้คำาสั่ง nc เพื่อทดสอบ protocol $ nc localhost pop3
7.
ทดสอบ POP3 $ nc localhost pop3 +OK Dovecot ready. user mailacct +OK pass ******** +OK Logged in. list +OK 3 messages: 1 506 2 506 3 506 . retr 1 +OK 506 octets Returnpath: <cj@lsa.coe.psu.ac.th> Envelopeto: mailacct@lsa.coe.psu.ac.th Deliverydate: Wed, 26 Dec 2012 16:39:41 +0700
8.
dele 1 +OK Marked to be deleted. retr 2 +OK 506 octets Returnpath: <cj@lsa.coe.psu.ac.th> ... To: mailacct@lsa.coe.psu.ac.th Subject: test2 From: Chatchai J <cj@lsa.coe.psu.ac.th> test2 . list +OK 2 messages: 2 506 3 506 . quit +OK Logging out, messages deleted.
9.
ทดสอบ IMAP $ nc localhost imap * OK ... a login mailacct ******** a OK ... Logged in a list "*" "*" * LIST (HasNoChildren) "." "INBOX" a OK List completed. a3 select INBOX * FLAGS (Answered Flagged Deleted Seen Draft) ... a3 OK [READWRITE] Select completed. a3 fetch 1:* flags * 1 FETCH (FLAGS (Seen)) * 2 FETCH (FLAGS ()) a3 OK Fetch completed. a3 fetch 1 full * 1 FETCH (FLAGS (Seen) INTERNALDATE "26Dec2012 16:39:50 +0700"
10.
อ่าน mail โดยใช้
mutt ● ใช้ mutt $ mutt f pop://mailacct:********@smtp.cheshirecat2012.net/INBOX $ mutt f imap://mailacct:********@smtp.cheshirecat2012.net/INBOX ● proto://login:password@host.domain.net/mailbox
11.
certificates ●
create self-signed certificate ● … later!
Download