10/16/2010

Install/Configure Dovecot

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

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

# line 20: uncomment
protocols = imap imaps pop3 pop3s

# line 211: uncomment and add
mail_location = maildir:~/Maildir

# line 762: add
mechanisms = plain login

# line 978: change like below
socket listen { # uncomment
#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 { # uncomment
# 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 # uncomment and change
mode = 0660 # uncomment
user = postfix # add
group = postfix # add
}# uncomment
} # uncomment

[root@mail ~]# /etc/rc.d/init.d/dovecot start
Starting Dovecot Imap: [ OK ]
[root@mail ~]# chkconfig dovecot on

From: server-world

No comments:

Post a Comment