How to Configure Dovecot on RHEL-6

Step-1 First of all install the package for dovecot

  ]#  yum  install   dovecot

Step-2 Now enable dovecot service

  ]#  chkconfig   dovecot   on

Step-3 Edit configuration file dovecot to enable pop imap lmtp protocol.

  ]#  vim  /etc/dovecot/dovecot.conf

   protocol = pop3 imap lmtp

Step-4 To enable plain text authentication

  ]#  vim   /etc/dovecot/conf.d/10-auth.conf

    disable_plaintext_auth = no

Step-5 Now enable Mail box format ( Maildir/ ).

   ]#  vim   /etc/dovecot/conf.d/10-mail.conf

     mail_location = maildir:~/Maildir

Step-6 Enable pop3 fromat which is supported by MS Outlook.

   ]#  vim   /etc/dovcot/conf.d/20-pop3.conf

   pop3_uidl_format = %08Xu%08Xv

   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

Step-7 Start dovecot service

  ]#  service  dovecot  start

Step-8 Now test dovecot service

  ]#   telnet  localhost   pop3

  ( ok dovecot if is is displaying "ok dovecot" that mean every thing is fine then write following )

   user  root

   pass  redhat