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