UnixServerAdmin

Server Administration & Management

How to configure Dovecot in RHEL/CentOS 6 for Plain Login

1. Install Dovecot Package

# yum install dovecot

2. Open the dovecot config file /etc/dovecot/dovecot.conf and Find and uncomment the line as shown below.

# vim /etc/dovecot/dovecot.conf

protocols = imap pop3 lmtp

3. Open the file /etc/dovecot/conf.d/10-mail.conf and uncomment the line as shown below.

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

mail_location = maildir:~/Maildir  ##line no 24 – uncomment

4. Open the /etc/dovecot/conf.d/10-auth.conf and edit as shown below.

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

disable_plaintext_auth = no  ##line no 9 – uncomment and change from yes to no.
auth_mechanisms = plain login  ##line no 97 – add the text “login”

5. Open the /etc/dovecot/conf.d/10-master.conf and edit as shown below.

# vim /etc/dovecot/conf.d/10-master.conf

unix_listener auth-userdb {
    #mode = 0600
    user = postfix  ##line no 83 – uncomment and enter postfix
    group = postfix  ##line no 84 – uncomment and enter postfix

6. Start the dovecot service

# /etc/init.d/dovecot restart

July 26, 2013 - Posted by | Mail | ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: