Install Dovecot2015/05/15 |
Install Dovecot to configure POP/IMAP server. POP uses 110/TCP, IMAP uses 143/TCP.
|
|
[1] | This example shows to configure to provide SASL function to Postfix. |
root@mail:~#
aptitude -y install dovecot-core dovecot-pop3d dovecot-imapd
root@mail:~#
vi /etc/dovecot/dovecot.conf # line 30: change ( if not listen IPv6 port ) listen = *
root@mail:~#
vi /etc/dovecot/conf.d/10-auth.conf # line 10: uncomment and change ( allow plain text auth ) disable_plaintext_auth = no
# line 100: add auth_mechanisms = plain login
root@mail:~#
vi /etc/dovecot/conf.d/10-mail.conf # line 30: change to Maildir mail_location = maildir:~/Maildir
root@mail:~#
vi /etc/dovecot/conf.d/10-master.conf # lien 96-98: uncomment and add # Postfix smtp-auth unix_listener /var/spool/postfix/private/auth { mode = 0666
user = postfix
}
group = postfix systemctl restart dovecot |
Sponsored Link |