Enviar búsqueda
Cargar
Set Openwebmail
•
Descargar como DOC, PDF
•
0 recomendaciones
•
327 vistas
ก
การเดินทาง ที่ไร้จุดหมาย
Seguir
Set Openwebmail
Leer menos
Leer más
Tecnología
Denunciar
Compartir
Denunciar
Compartir
1 de 64
Descargar ahora
Recomendados
Cent OS-book
Cent OS-book
nin9nin9
คำสั่ง ลินุกซ์ (Linux)
คำสั่ง ลินุกซ์ (Linux)
Arkom Thaicharoen
Introduction to py gtk
Introduction to py gtk
การเดินทาง ที่ไร้จุดหมาย
บทที่+1 3..
บทที่+1 3..
การเดินทาง ที่ไร้จุดหมาย
The Near Future of CSS
The Near Future of CSS
Rachel Andrew
รูปแบบการเขียนรายงานโครงงาน 5 บท
รูปแบบการเขียนรายงานโครงงาน 5 บท
Aekapoj Poosathan
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and Adolescents
Shelly Sanchez Terrell
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris Lema
Chris Lema
Recomendados
Cent OS-book
Cent OS-book
nin9nin9
คำสั่ง ลินุกซ์ (Linux)
คำสั่ง ลินุกซ์ (Linux)
Arkom Thaicharoen
Introduction to py gtk
Introduction to py gtk
การเดินทาง ที่ไร้จุดหมาย
บทที่+1 3..
บทที่+1 3..
การเดินทาง ที่ไร้จุดหมาย
The Near Future of CSS
The Near Future of CSS
Rachel Andrew
รูปแบบการเขียนรายงานโครงงาน 5 บท
รูปแบบการเขียนรายงานโครงงาน 5 บท
Aekapoj Poosathan
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and Adolescents
Shelly Sanchez Terrell
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris Lema
Chris Lema
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Más contenido relacionado
Destacado
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Destacado
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Set Openwebmail
1.
1. การติดตั้ง Postfix
และ Openwebmail 1.1 การดาวน์โหลดโปรแกรม Postfix เพื่อใช้งาน การติดตั้งโปรแกรม ผ่านระบบปฏิบัติการ Ubuntu โปรแกรมผ่านเทอร์มินัล เป็นการรันสิทธิ์เข้าใช้ ด้วย sudo –s แล้วใส่รหัสผ่านจากนั้นกดปุ่ม Enter รูปที่ ก-1 การแสดงสิทธิ์ที่เข้าใช้หน้าต่าง terminal ว่าเป็น เจ้าของเครื่อง 1
2.
จากนั้นทำาการพิมพ์คำาสั่ง sudo apt-get
install Postfix แล้วกดปุ่ม Enter เพื่อทำาการเรียกติดตั้งแพกเกจ Postfix รูปที่ ก-2 การรันคำาสั่งติดตั้งโปรแกรม Postfix ผ่าน terminal หลังจากสั่งติดตั้งแล้วจะมีหน้าต่างข้อความแสดงการเลือก ใช้รูปแบบเซิฟเวอร์ที่ต้องการใช้จากนั้นกด ok แล้ว Enter 2
3.
รูปที่ ก-3 แสดงประเภทการทำางานของรูปแบบเซิฟเวอร์ จากนั้นจะแสดงหน้าต่างข้อความการเลือกใช้ระบบของเซิฟ เวอร์เมลล์
No configuration จากนั้นเลือก ok 3
4.
รูปที่ ก-4 การเลือกประเภทการทำางานของรูปแบบเซิฟเวอร์ หลังจากทำาการเซ็ตค่า
Postfix แล้วจะทำาการแตกไฟล์ที่ ดาวโหลดมาทำาการแตกไฟล์และติดตั้งลงในระบบ 4
5.
รูปที่ ก-5 การแตกไฟล์และติดตั้งโปรแกรม
Postfix เมื่อติดตั้งเสร็จแล้วให้ทำาการตั้งค่าระบบ Postfix ใหม่ด้วย คำาสั่ง sudo dpkg-reconfigure postfix จากนั้นกด Enter 5
6.
รูปที่ ก-6 การตั้งค่าระบบ
Postfix ใหม่ เมื่อรันคำาสั่งแล้วจะแสดงหน้าต่างข้อความแสดงการเลือกใช้ รูปแบบเซิฟเวอร์ที่ต้องการใช้อีกครั้งจากนั้นกด ok แล้ว Enter 6
7.
รูปที่ ก-7 แสดงประเภทการทำางานของรูปแบบเซิฟเวอร์ จากนั้นทำาการเลือกระบบเซิฟเวอร์เมลล์เป็น
Local only จากนั้นเลือก ok การเลือกใช้งานคือการใช้ในระบบภายใน 7
8.
รูปที่ ก-8 การเลือกใช้งานของรูปแบบเซิฟเวอร์เมลล์ จากนั้นจะแสดงหน้าต่างข้อความสำาหรับตั้งชื่อเมลล์เซิฟเวอร์ ทำาการใส่ชื่อจากนั้นเลือก
ok 8
9.
รูปที่ ก-9 การเลือกใช้งานของรูปแบบเซิฟเวอร์เมลล์ หลังจากนั้นจะขึ้นหน้าต่างข้อความการตั้งค่าสิทธิ์ผู้ใช้เพิ่ม เติม
ให้ทำาการปล่อยว่างจากนั้นเลือก ok 9
10.
รูปที่ ก-10 การเลือกตั้งค่าสิทธิ์ใน
aliases จากนั้นจะขึ้นหน้าต่างข้อความในการตั้งโดเมนการเรียกเข้า ใช้เซิฟเวอร์เมลล์กำาหนดตามคามาตรฐานหากต้องการเพิ่มเติมให้ ใส่เครื่องหมายลูกนำ้า และกรอกที่อยู่โดเมน จากนั้นกด ok 10
11.
รูปที่ ก-11 การตั้งชื่อโดเมนของเซิฟเวอร์เมลล์ หลังจากตั้งชื่อโดเมนแล้วจะขึ้นหน้าต่างข้อความถ้ามีการ อัพเดตเมื่อไหร่จะไม่สามารถปรับแต่งข้อมูลได้ในระบบ
ให้เลือก ไม่ต้องการอัพเดตเมื่อมีการทำางานของเมลล์ เลือกกด no 11
12.
รูปที่ ก-12 การปฏิเสธการประมวลผลการอัพเดตเมลล์ จากนั้นจะมีหน้าต่างข้อความแสดงการกำาหนดช่วงของ คลาสไอพีที่ใช้ในการทำางานของระบบเซิฟเวอร์เมลล์
เลือกเป็น 127.0.0.0/8 จากนั้นกด ok 12
13.
รูปที่ ก-13 การกำาหนดช่วงไอพีคลาสการทำางาน ทำาการตั้งค่าความจุของการเก็บข้อมูลของเมลล์
Postfix ไว้ ที่ 0 จากนั้นกดเลือก ok 13
14.
รูปที่ ก-14 การเลือกใช้งานของรูปแบบเซิฟเวอร์เมลล์ จากนั้นหน้าต่างข้อความจะแสดงการเลือกตัวอักขระในการ ใช้อ้างอิงในการติดต่อภายในระบบปรับให้เป็น
+ จากนั้นเลือก ok 14
15.
รูปที่ ก-15 การเลือกใช้งานของรูปแบบเซิฟเวอร์เมลล์ จากนั้นจะแสดงหน้าต่างข้อความของการตั้งค่าการทำางาน ระบบภายในให้ใช้อินเตอรเน็ตโปรโตคอลเป็นเวอร์ชั่นใด
เลือก เป็น คลาส ไอพีเวอรชั่น 4 จากนั้นเลือก ok 15
16.
รูปที่ ก-16 การเลือกใช้งานโปรโตคอลในเซิฟเวอร์เมลล์ จากนั้นระบบจะทำาการตั้งค่าตามที่ได้เซ็คค่าไว้เมื่อข้างต้นดัง กล่าวจากนั้นระบบจะทำาการ
restart ระบบของ Postfix 16
17.
รูปที่ ก-17 การตั้งค่าของระบบ
Postfix จากนั้นทำาการรันคำาสั่งแก้ไขไฟล์ main.cf เพื่อทำาการเซ็ต ให้ระบบสามารถส่งเมลล์ได้ ด้วยคำาสั่ง gedit /etc/postfix/main.cf 17
18.
รูปที่ ก-18 การรันคำาสั่งแก้ไขไฟล์
main.cf เมื่อเปิดไฟล์ main.cf แล้วให้เลื่อนหาบรรทัด dedault_transport ,relay_transport เพื่อทำาการเปลี่ยนค่า การใช้งานที่เป็น error เป็น smtp 18
19.
รูปที่ ก-19 การเซ็คค่าระบบ
Postfix จากนั้นทำาการเปลี่ยนค่า smtp แล้วทั้ง 2 ค่าจากนั้นทำาการ บันทึกไฟล์ 19
20.
รูปที่ ก-20 การเซ็คค่าเปิดการทำางานส่งเมลล์ จากนั้นทำาการรีสตาร์ท
Postfix ด้วยคำาสั่ง sudo /etc/init.d/postfix restart เพื่อทำาการสั่งเริ่มการทำางานใหม่ 20
21.
รูปที่ ก-21 การรีสตาร์ทการทำางานระบบ
Postfix ทำาการตรวจสอบไฟล์สิทธิ์ผู้ใช้งาน ด้วยคำาสั่ง gedit /etc/aliases หรือ cat /etc/aliases 21
22.
รูปที่ ก-22 การตรวจสอบสิทธิ์ผู้ใช้ ทำาการรันคำาสั่ง
sudo newaliases เพื่อให้ Postfix เรียน รู้ข้อมูลใหม่ 22
23.
รูปที่ ก-23 การสั่งให้
Postfix รับข้อมูลใหม่ ทำาการติดตั้งแพคเก็จ aptitude ด้วยคำาสั่ง sudo apt-get install aptitude เพื่อใช้ในการช่วยติดตั้งโปรแกรมอย่าง สมบูรณ์ครบถ้วน ทำาการติดตั้งโปรแกรมด้วยการกด Enter 23
24.
รูปที่ ก-24 การติดตั้งโปรแกรม
aptitude หลังจากติดตั้งเสร็จทำาการติดตั้งแพคเกจสำาหรับใช้งานใน openwebmail ด้วยคำาสั่ง aptitude install perl-suid libnet-ldap-perl libpg-perl libpgperl libtext-iconv-perl –y จากนั้นกด Enter 24
25.
รูปที่ ก-25 การติดตั้งแพคเกจเสริม ทำาการใช้คำาสั่ง
sudo –i เพื่อออกจากหน้าเข้าสู่หน้า filesystem จากนั้นทำาการสร้างโฟลเดอร์ด้วยคำาสั่ง mkdir – p /data/install จากนั้นทำาการเข้าโฟลเดอร์ด้วยคำาสั่ง cd /data/install เพื่อทำาการใช้ในการบันทึกแพคเกจที่ดาวโหลด 25
26.
รูปที่ ก-26 การสร้างโฟลเดอร์สำาหรับดาวโหลดแพคเกจ ทำาการรันคำาสั่งโหลดแพคเกจ
MIME-Base64 ใน terminal ด้วยคำาสั่ง wget http://www.openwebmail.org/openwebmail/download/packages/MIME-Base64 -3.01.tar.gz 26
27.
รูปที่ ก-27 การดาวโหลดแพคเกจ
MIME-Base64 ทำาการรันคำาสั่งโหลดแพคเกจ CGI ใน terminal ด้วยคำาสั่ง wget http://www.openwebmail.org/openwebmail/download/packages/CGI.pm-3.05 .tar.gz 27
28.
รูปที่ ก-28 การดาวโหลดแพคเกจ
CGI ทำาการรันคำาสั่งโหลดแพคเกจ Digest-MD5 ใน terminal ด้วยคำาสั่ง wget http://www.openwebmail.org/openwebmail/download/packages/Digest-MD5- 2.33.tar.gz 28
29.
รูปที่ ก-29 การดาวโหลดแพคเกจ
Digest-MD5 ตรวจสอบไฟล์ที่ทำาการดาวโหลดมาด้วยคำาสั่ง ls จะแสดง รายการที่อยู่ในโฟลเดอร์ /data/install 29
30.
รูปที่ ก-30 การแสดงรายการแพคเกจที่ดาวโหลด ทำาการแตกไฟล์
CGI ด้วยคำาสั่ง tar –zxvf CGI.pm- 3.05.tar.gz จากนั้นกด Enter 30
31.
รูปที่ ก-31 การแตกไฟล์แพคเกจ เมื่อแตกไฟล์เสร็จ
ทำาการเข้าโฟลเดอร์ที่แตกไฟล์ จากนั้น ทำาการรวมไฟล์ในการติดตั้งด้วยคำาสั่ง perl Makefile.PL 31
32.
รูปที่ ก-32 การรวมไฟล์ด้วยคำาสั่ง
Perl จากนั้นทำาการ make ไฟล์เพื่อทำาการแยกไฟล์เพื่อให้พร้อม สำาหรับการติดตั้ง 32
33.
รูปที่ ก-33 การรวมไฟล์ด้วยคำาสั่ง
Perl เมื่อแยกไฟล์ด้วย perl ออกมาแล้วทำาการ make install เพื่อทำาการติดตั้งไฟล์ไปตามที่อยู่ของแพคเกจต่างๆที่กำาหนดไว้ 33
34.
รูปที่ ก-34 การติดตั้งไฟล์ด้วยคำาสั่ง
Perl ทำาการแตกไฟล์ ด้วยคำาสั่ง tar –zxvf MIME-Base64- 3.01.tar.gz จากนั้นกด Enter 34
35.
รูปที่ ก-35 การแตกไฟล์แพคเกจ เมื่อแตกไฟล์เสร็จ
ทำาการเข้าโฟลเดอร์ที่แตกไฟล์ จากนั้น ทำาการรวมไฟล์ในการติดตั้งด้วยคำาสั่ง perl Makefile.PL 35
36.
รูปที่ ก-36 การรวมไฟล์ด้วยคำาสั่ง
Perl จากนั้นทำาการ make ไฟล์เพื่อทำาการแยกไฟล์เพื่อให้พร้อม สำาหรับการติดตั้ง 36
37.
รูปที่ ก-37 การรวมไฟล์ด้วยคำาสั่ง
Perl เมื่อแยกไฟล์ด้วย perl ออกมาแล้วทำาการ make install เพื่อทำาการติดตั้งไฟล์ไปตามที่อยู่ของแพคเกจต่างๆที่กำาหนดไว้ 37
38.
รูปที่ ก-38 การติดตั้งไฟล์ด้วยคำาสั่ง
Perl ทำาการแตกไฟล์ ด้วยคำาสั่ง tar xvf Digest-MD5- 2.33.tar.gz จากนั้นกด Enter 38
39.
รูปที่ ก-39 การรวมไฟล์ด้วยคำาสั่ง
Perl เมื่อแตกไฟล์เสร็จ ทำาการเข้าโฟลเดอร์ที่แตกไฟล์ จากนั้น ทำาการรวมไฟล์ในการติดตั้งด้วยคำาสั่ง perl Makefile.PL 39
40.
รูปที่ ก-40 การรวมไฟล์ด้วยคำาสั่ง
Perl จากนั้นทำาการ make ไฟล์เพื่อทำาการแยกไฟล์เพื่อให้พร้อม สำาหรับการติดตั้ง 40
41.
รูปที่ ก-41 การรวมไฟล์ด้วยคำาสั่ง
Perl เมื่อแยกไฟล์ด้วย perl ออกมาแล้วทำาการ make install เพื่อทำาการติดตั้งไฟล์ไปตามที่อยู่ของแพคเกจต่างๆที่กำาหนดไว้ 41
42.
รูปที่ ก-42 การติดตั้งไฟล์ด้วยคำาสั่ง
Perl จากนั้นทำาการสร้างโฟลเดอร์ openwebmail ภายใน /data/install/ เมื่อสร้างแล้วให้ทำาการเข้าโฟลเดอร์ openwebmail 42
43.
รูปที่ ก-43 การสร้างโฟลเดอร์เก็บ
Openwebmail หลังจากเข้ามาในโฟลเดอร์ openwebmail แล้ว ทำาการ ดาวโหลดแพคเกจ openwebmail ด้วยคำาสั่ง wget http://www.openwebmail.ort/openwebmail/downloa 43
44.
d/release/openwebmail-2.53.tar.gz จากนั้นทำาการกด Enter รูปที่ ก-44
การดาวโหลดแพคเกจ openwebmail ทำาการแตกไฟล์ openwebmail ด้วยคำาสั่ง tar xvf openwebmail-2.53.tar.gz 44
45.
รูปที่ ก-45 การแตกไฟล์แพคเกจ
openwebmail เมื่อแตกไฟล์เสร็จเรียบร้อยแล้วให้ทำาการแสดงรายการใน โฟลเดอร์ จากนั้นทำาการย้ายไฟล์ที่แตกมาด้วยคำาสั่งต่อไปนี้ mv data /var/www ย้ายไฟล์ data ไปยัง /var/www/ และ mv 45
46.
cgi-bin/openwebmail /usr/lib/cgi-bin ย้ายไฟล์
cgi- bin/openwebmail ไปยัง /usr/lib/cgi-bin เพื่อทำาการเชื่อม ต่อการเรียกใช้ผ่านหน้าเว็บและการตั้งค่าของ openwebmail และ postfix รูปที่ ก-46 การแสดงรายการและการย้ายไฟล์ openwebmail คำาสั่งทำาการแก้ไขค่าในไฟล์ openwebmail.conf 46
47.
รูปที่ ก-47 การแก้ไขไฟล์
openwebmail.conf เมื่อทำาการเปิดไฟล์ openwebmail.conf จะแสดงค่าตัว แปรดั้งเดิมอยู่มาตรฐานให้ทำาการแก้ไขค่าของโดเมนเซิฟเวอร์ ที่ อยู่ของการตั้งค่าการทำางานระบบ หน้าเชื่อมต่อระบบหน้าเว็บและ 47
48.
ไฟล์แจ้งเตือน หรือที่เรียกว่า Logfiles
เมื่อแก้ค่าครบแล้วทำาการ บันทึก รูปที่ ก-48 การตั้งค่าการใช้งาน openwebmail.conf จากนั้นทำาการแก้ไขไฟล์ตั้งค่าที่ 2 ของ openwebmail.conf 48
49.
รูปที่ ก-49 การแก้ไขไฟล์
openwebmail.conf ชุด 2 หลังจากเปิดไฟล์แก้ไขให้ทำาการเปลี่ยนชื่อ โดเมนเซิฟเวอร์ และค่าของระบบ openwebmail 49
50.
รูปที่ ก-50 การแก้ไขชื่อโดเมนเนมของเมลล์เซิฟเวอร์ 50
51.
หลังจากทำาการเปลี่ยนชื่อโดเมนแล้วให้ทำาการตั่งค่าที่อยู่ ตัวแปรของ openwebmail ให้ถูกต้องตามที่เซ็ตไว้
จากนั้น ทำาการบันทึก รูปที่ ก-51 การแก้ไขที่อยู่ตัวแปรของระบบ openwebmail 51
52.
เมื่อเซ็คค่า Config ของระบบแล้วให้ทำาการเข้าไปที่ /usr/lib/cgi-bin/openwebmail/
เมื่อเข้าไปภายในแล้วให้ รันคำาสั่ง ./openwebmail-tool.pl –init เพื่อทำาการเปลี่ยนฐาน ข้อมูลเพื่อนำาไปใช้สร้าง ระบบภายในของ openwebmail จาก นั้นนำาค่าที่ได้ไปแก้ไขในไฟล์ dbm.conf รูปที่ ก-52 การสร้างหน้าระบบ openwebmail 52
53.
จากนั้นทำาการแก้ไขค่าในไฟล์ dbm.conf รูปที่ ก-53
การแก้ไขไฟล์ฐานข้อมูล config dbm.conf 53
54.
จากนั้นนำาค่าจากที่ได้จากการขอฐานข้อมูลมาใส่ โดย เปลี่ยนจาก .db
เป็น .pag จากนั้นทำาการบันทึก รูปที่ ก-54 การตั้งค่าในการสร้างระบบฐานข้อมูลของ openwebmail 54
55.
หลังจากทำาการบันทึกค่าแล้ว ให้รันคำาสั่ง ./openwebmail-tool.pl –init
เพื่อสร้างระบบข้อมูลและการ เข้ารหัสภาษา ของโปรแกรม openwebmail รูปที่ ก-55 การเขียนข้อมูลระบบ openwebmail และการสร้าง ฐานข้อมูล 55
56.
หลังจากทำาการเขียนข้อมูลเสร็จแล้วจะปรากฏข้อความยีนดี ต้อนรับสู่ openwebmail และมีตัวเลือกเกี่ยวกับการส่งข้อมูลไป ของระบบเราไปให้เว็บไซต์หรือไม่ให้ทำาการ
พิมพ์ n แล้ว Enter เพื่อเป็นการปฏิเสธการส่งข้อมูลระบบให้แก่ เว็บของ openwebmail รูปที่ ก-56 การติดตั้ง openwebmail แบบสมบูรณ์ 56
57.
ต่อไปแก้ไฟล์ รหัสผ่าน ของ
auth_unix.conf เพื่อให้ authen ผ่านหน้าเว็บได้ รูปที่ ก-57 การเรียกคำาสั่งแก้ไขไฟล์ authen 57
58.
ทำาการแก้ไขไฟล์รหัสผ่านดังนี้ จากนั้นทำาการบันทึก รูปที่ ก-58
การตั้งค่ารหัสผ่าน การเรียกเข้าใช้หน้าเว็บ 58
59.
ทำาการตรวจสอบการเรียกการทำางานของ apache ด้วย
คำา สั่ง cat /usr/lib/cgi-bin/openwebmail เพื่อตรวจสอบการ ใช้งานไม่ให้ผิดพลาด รูปที่ ก-59 การตรวจสอบเรียกการทำางานของ apache2 59
60.
จากนั้นทำาการรีสตาร์ทระบบ apache2 ด้วยคำาสั่ง sudo
/etc/init.d/apache2 restart รูปที่ ก-60 คำาสั่งการรีสตาร์ท apache2 60
61.
หลังจากทำาการรีสตาร์ทระบบแล้วให้ทำาการติดตั้งแพคเกจ ตกค้างของระบบ ด้วยคำาสั่ง aptitude
install libauthen- simple-dbm-perl จากนั้นทำาการพิมพ์ y เพื่อยืนยันการติดตั้ง รูปที่ ก-61 การติดตั้งแพคเกจตกค้าง dbm, dbi 61
62.
เมื่อติดตั้งโปรแกรมตกค้างเสร็จแล้วให้ทำาการสร้างลอกไฟล์ ด้วยคำาสั่ง touch /var/log/openwebmail.log
จากนั้น ทำาการกำาหนดสิทธิ์ของไฟล์ เป็น 777 และทำาการกำาหนดเจ้าของ ไฟล์เว็บเพื่ออ้างสิทธิ์ในการ authen หน้าเว็บ รูปที่ ก-62 การสร้างไฟล์ลอกและการอ้างสิทธิ์เว็บ 62
63.
เมื่อกำาหนดเว็บแล้วให้ทำาการเข้าไปที่ /usr/lib/cgi- bin/openwebmail/ ทำาการกำาหนดสิทธิ์เจ้าของและกำาหนด สิทธิ์ไฟล์เว็บไซต์อีกครั้ง รูปที่
ก-63 การกำาหนดสิทธิ์ไฟล์ระบบและการอ้างสิทธิ์เจ้าของ 63
64.
จากนั้นทำาการเรียกหน้าเว็บ เพื่อทดสอบการทำางานของเมล ล์เซิฟเวอร์ของระบบ ผ่านทาง
http://127.0.0.1/cgi- bin/openwebmail/openwebmail.pl รูปที่ ก-64 การเรียกหน้าเว็บ openwebmail แบบสมบูรณ์ 64
Descargar ahora