SlideShare a Scribd company logo
1
CONFIGURATION OF SMTP SERVER ON CENTOS 8
 sudo dnf install posftix –y
 sudo systemctl start postfix
 sudo systemct enable postfix
 vi /etc/postfix/main.cf
 postfix check
 dnf install dovecot
 vi /etc/dovecot/conf.d/10-mail.conf
mail_location should be configured as down below.
 vi /etc/dovecot/conf.d/20-pop3.conf
pop3_uidl_format should be configured as down below.
2
 vi /etc/postfix/master.cf
Configure the master.cf as shown below.
Give the firewall access
 iptables –A INPUT –p tcp –dport 25 –j ACCEPT
 iptables –A INPUT –p tcp –dport 465 –j ACCEPT
 iptables –A INPUT –p tcp –dport 587 –j ACCEPT
2/13/2022
X
Kaan Aslandag
Signed by: www.kaan1.com

More Related Content

PDF
多憑證網路承保作業系統(含承保實務法規簡介)-108.10版
PPTX
Як функціонує державна влада в Україні
DOC
урок 12 сонце — наша зоря
PPTX
Хөршийн хяналт холбоо-уулзалт арга хэмжээ
DOCX
цөлжилт
DOCX
правотворча діяльність
PPTX
нхх лекц №11
PPTX
Lecture 9
多憑證網路承保作業系統(含承保實務法規簡介)-108.10版
Як функціонує державна влада в Україні
урок 12 сонце — наша зоря
Хөршийн хяналт холбоо-уулзалт арга хэмжээ
цөлжилт
правотворча діяльність
нхх лекц №11
Lecture 9

More from Kaan Aslandağ (11)

PDF
Configuration of SFTP Server on CentOS 8.pdf
PDF
Configuration of Self Signed SSL Certificate For CentOS 8
PDF
Configuration of Apache Web Server On CentOS 8
PDF
Configuration of BIND DNS Server On CentOS 8
PDF
Configuration of NTP Server on CentOS 8
PDF
IPTables Lab
PDF
Configuration IPTables On CentOS 8
PDF
Firewalld LAB
PDF
Configuration Firewalld On CentOS 8
PDF
CentOS Server CLI Configuration (Nmcli & Hosts)
PDF
CentOS Server Gui Initial Configuration
Configuration of SFTP Server on CentOS 8.pdf
Configuration of Self Signed SSL Certificate For CentOS 8
Configuration of Apache Web Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8
Configuration of NTP Server on CentOS 8
IPTables Lab
Configuration IPTables On CentOS 8
Firewalld LAB
Configuration Firewalld On CentOS 8
CentOS Server CLI Configuration (Nmcli & Hosts)
CentOS Server Gui Initial Configuration
Ad

Recently uploaded (20)

PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
Geodesy 1.pptx...............................................
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
OOP with Java - Java Introduction (Basics)
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPT
Project quality management in manufacturing
PPTX
Internet of Things (IOT) - A guide to understanding
PPT
Mechanical Engineering MATERIALS Selection
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
573137875-Attendance-Management-System-original
Lecture Notes Electrical Wiring System Components
CYBER-CRIMES AND SECURITY A guide to understanding
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Geodesy 1.pptx...............................................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Operating System & Kernel Study Guide-1 - converted.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT 4 Total Quality Management .pptx
Digital Logic Computer Design lecture notes
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
OOP with Java - Java Introduction (Basics)
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Project quality management in manufacturing
Internet of Things (IOT) - A guide to understanding
Mechanical Engineering MATERIALS Selection
Ad

Configuration of Smtp Server On CentOS 8

  • 1. 1 CONFIGURATION OF SMTP SERVER ON CENTOS 8  sudo dnf install posftix –y  sudo systemctl start postfix  sudo systemct enable postfix  vi /etc/postfix/main.cf  postfix check  dnf install dovecot  vi /etc/dovecot/conf.d/10-mail.conf mail_location should be configured as down below.  vi /etc/dovecot/conf.d/20-pop3.conf pop3_uidl_format should be configured as down below.
  • 2. 2  vi /etc/postfix/master.cf Configure the master.cf as shown below. Give the firewall access  iptables –A INPUT –p tcp –dport 25 –j ACCEPT  iptables –A INPUT –p tcp –dport 465 –j ACCEPT  iptables –A INPUT –p tcp –dport 587 –j ACCEPT 2/13/2022 X Kaan Aslandag Signed by: www.kaan1.com