Dovecot is an IMAP and POP3 server
Prerequisites before starting with the configuration
Make sure the required package are installed
# rpm -qa | grep dovecot
If the package is not installed by default then use yum for the same
# yum -y install dovecot
Make the following changes as shown below
# vi /etc/dovecot/dovecot.conf
protocols = imap imaps pop3 pop3s
protocol imap {
listen = *:143
# ssl_listen = *:10943
# ..
}
protocol pop3 {
listen = *:110
# ..
}
# protocol managesieve {
# listen = *:12000
# ..
# line 211: uncomment and add
mail_location =maildir:~/Maildir
mechanisms = plain login
socket listen {
# master {
# Master socket provides access to userdb information. It's typically
# used to give Dovecot's local delivery agent access to userdb so it
# can find mailbox locations.
#path = /var/run/dovecot/auth-master
#mode = 0600
# Default user/group is the one who started dovecot-auth (root)
#user =
#group =
#}
client {
# The client socket is generally safe to export to everyone. Typical use
# is to export it to your SMTP server so it can do SMTP AUTH lookups
# using it.
path = /var/spool/postfix/private/auth-client
mode = 0660
user = postfix
group = postfix
}
}
# service dovecot restart
# cat /var/log/messages
# cat /var/log/maillog
No comments:
Post a Comment