# yum install dovecot
Then edit the dovecot configuration file nd uncommet the line, protocols = imap pop3 lmtp
# vi /etc/dovecot/dovecot.conf
protocols = imap pop3 lmtp
Then Open the file /etc/dovecot/conf.d/10-mail.conf and uncomment the line
# vi /etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:~/Maildir
Open the /etc/dovecot/conf.d/10-auth.conf and edit
# vi /etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no ## uncomment and change from yes to no.
auth_mechanisms = plain login
Then,
Open the /etc/dovecot/conf.d/10-master.conf and edit
# vi /etc/dovecot/conf.d/10-master.conf
unix_listener auth-userdb {
#mode = 0600
user = postfix ## uncomment and enter postfix
group = postfix ## uncomment and enter postfix
Then, start the dovecot service.
# service dovecot start
Starting Dovecot Imap: [ OK ]
# chkconfig dovecot on
Testing dovecot:
[root@ns2 postfix]# telnet localhost pop3
Trying ::1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
user user1
+OK
pass user1
+OK Logged in.
list
+OK 1 messages:
1 424
.
retr 1
+OK 424 octets
Return-Path: <user1@ranjithkr.com>
X-Original-To: user1
Delivered-To: user1@ranjithkr.com
Received: from localhost (localhost [IPv6:::1])
by ns2.ranjithkr.com (Postfix) with ESMTP id D01B1101E0D
for <user1>; Sat, 22 Jun 2013 06:17:01 +0530 (IST)
Message-Id: <20130622004822.D01B1101E0D@ns2.ranjithkr.com>
Date: Sat, 22 Jun 2013 06:17:01 +0530 (IST)
From: user1@ranjithkr.com
To: undisclosed-recipients:;
test
.
quit
+OK Logging out.
Connection closed by foreign host.
[root@ns2 postfix]#
Then edit the dovecot configuration file nd uncommet the line, protocols = imap pop3 lmtp
# vi /etc/dovecot/dovecot.conf
protocols = imap pop3 lmtp
Then Open the file /etc/dovecot/conf.d/10-mail.conf and uncomment the line
# vi /etc/dovecot/conf.d/10-mail.conf
mail_location = maildir:~/Maildir
Open the /etc/dovecot/conf.d/10-auth.conf and edit
# vi /etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no ## uncomment and change from yes to no.
auth_mechanisms = plain login
Then,
Open the /etc/dovecot/conf.d/10-master.conf and edit
# vi /etc/dovecot/conf.d/10-master.conf
unix_listener auth-userdb {
#mode = 0600
user = postfix ## uncomment and enter postfix
group = postfix ## uncomment and enter postfix
Then, start the dovecot service.
# service dovecot start
Starting Dovecot Imap: [ OK ]
# chkconfig dovecot on
Testing dovecot:
[root@ns2 postfix]# telnet localhost pop3
Trying ::1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
user user1
+OK
pass user1
+OK Logged in.
list
+OK 1 messages:
1 424
.
retr 1
+OK 424 octets
Return-Path: <user1@ranjithkr.com>
X-Original-To: user1
Delivered-To: user1@ranjithkr.com
Received: from localhost (localhost [IPv6:::1])
by ns2.ranjithkr.com (Postfix) with ESMTP id D01B1101E0D
for <user1>; Sat, 22 Jun 2013 06:17:01 +0530 (IST)
Message-Id: <20130622004822.D01B1101E0D@ns2.ranjithkr.com>
Date: Sat, 22 Jun 2013 06:17:01 +0530 (IST)
From: user1@ranjithkr.com
To: undisclosed-recipients:;
test
.
quit
+OK Logging out.
Connection closed by foreign host.
[root@ns2 postfix]#
No comments:
Post a Comment