Mail Server : Install Dovecot2025/11/19 |
|
Install Dovecot to configure POP/IMAP Server. |
|
| [1] | Install Dovecot. |
|
[root@mail ~]# dnf -y install dovecot
|
| [2] | This example shows to configure to provide SASL function to Postfix. |
|
[root@mail ~]#
vi /etc/dovecot/dovecot.conf # line 29 : change mail_path = ~/Maildir # line 47 : change ssl = yes
[root@mail ~]#
vi /etc/dovecot/conf.d/10-auth.conf # create new auth_allow_cleartext = yes auth_mechanisms = plain login
[root@mail ~]#
vi /etc/dovecot/conf.d/10-master.conf # create new
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
user = postfix
group = postfix
}
}
systemctl enable --now dovecot |
| [3] | If Firewalld is running, allow POP/IMAP service. POP uses [110/TCP], IMAP uses [143/TCP]. |
|
[root@mail ~]# firewall-cmd --add-service={pop3,imap} success [root@mail ~]# firewall-cmd --runtime-to-permanent success |
| Sponsored Link |
|
|