Install and configure Dovecot pop3 server

dovecot

Dovecot is a beautiful pop3 server that works well with most of the linux based mail servers.

Follow the steps mentioned here to configure and installation first.

Now install dovecot

  • yum install dovecot

Edit the dovecot configuration file

  • vi /etc/dovecot/dovecot.conf

Un-comment the line

  • protocols = imap pop3 lmtp

Edit the following file:

  • vi /etc/dovecot/conf.d/10-mail.conf

Un- comment the following line

  • mail_location = maildir:~/Maildir

Edit the following file:

  • vi /etc/dovecot/conf.d/10-auth.conf

Un- comment the following line:

  • disable_plaintext_auth = yes
  • Add ” login” at the end of the line “auth_mechanisms = plain”

Edit the following section in file incase you are using a virtual domain hosting. Else please skip editing the below file:

  • vi /etc/dovecot/conf.d/10-master.conf
  • unix_listener auth-userdb {
  • mode = 0600
  • user = <user created for postfix mailbox>
  • group = <user created for postfix mailbox>
  • }

Now start the dovecot server

  • systemctl start dovecot
  • systemctl enable dovecot

Ensure the pop server is working

  • netstat -na | grep 110