[root@os~]yum -y install dovecot
protocols = imap imaps pop3 pop3s mail_location = maildir:~/Maildir
/etc/rc.d/init.d/dovecot start
chkconfig dovecot on