:: How to installing Postfix and Dovecot on Linux CentOS

yum install postfix dovecot
chkconfig postfix on
chkconfig dovecot on

 
:: How to configure Postfix for Dovecot
+ configure main.cf

vi /etc/postfix/main.cf
# change or add on these line:
myhostname = mail.fileregion.com
mydomain = fileregion.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 127.0.0.0/8
home_mailbox = Maildir/

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, permit
broken_sasl_auth_clients = yes

+ restarting postfix

/etc/init.d/postfix restart

 
:: Configure Dovecot on Linux CentOS 6
+ configure dovecot.conf

vi /etc/dovecot/dovecot.conf
# uncomment on this line:
protocols = imap pop3
listen = *

+ config mail auth mehanism

vi /etc/dovecot/conf.d/10-auth.conf
# change on these line:
disable_plaintext_auth = no
auth_mechanisms = plain login

+ configure mail_location

vi /etc/dovecot/conf.d/10-mail.conf
# change / uncomment on this line:
mail_location = maildir:~/Maildir

+ configure service auth

vi /etc/dovecot/conf.d/10-master.conf
# commented on these line:
#unix_listener auth-userdb {
    #mode = 0600
    #user =
    #group =
  #}

# change or setup on these line:
# Postfix smtp-auth
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
    group = postfix
  }

+ configure pop3

vi /etc/dovecot/conf.d/20-pop3.conf
# uncomment on these line:
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

+ restaring Dovecot

/etc/init.d/dovecot restart

 
+ Google
+ ServerWorld