티스토리 뷰

Feodra 18 MAIL Server Install/Configure Dovecot


Install Dovecot to Configure POP/IMAP Server. This example shows to configure to provide SASL function to Postfix.

1. Install and Configure Dovecot


[root@mail ~]# yum -y install dovecot

[root@mail ~]# vi /etc/dovecot/dovecot.conf


# line 20: uncomment

protocols = imap pop3 lmtp


# line 67: uncomment and change ( if not use IPv6 )

listen = *



[root@mail ~]# vi /etc/dovecot/conf.d/10-auth.conf


# line 9: uncomment and change ( allow plain text auth )

disable_plaintext_auth = no


# line 99: add

auth_mechanisms = plain login

[root@mail ~]# vi /etc/dovecot/conf.d/10-mail.conf


# line 30: uncomment and add

mail_location = maildir:~/Maildir


[root@mail ~]# vi /etc/dovecot/conf.d/10-master.conf

# line 96-98: uncomment and add

# Postfix smtp-auth

unix_listener /var/spool/postfix/private/auth {

mode = 0666

user = postfix # add

group = postfix # add

}


[root@mail ~]# vi /etc/dovecot/conf.d/10-ssl.conf

# line 8: change (not require SSL)

ssl = no


[root@mail ~]# systemctl start dovecot.service 

[root@mail ~]# systemctl enable dovecot.service 

저작자 표시 비영리 변경 금지
신고
댓글