Dovecot-
Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like systems, written with security primarily in mind
1- Install Package
# yum install dovecoat* -y
2- Open Config File
# vim /etc/dovecot/dovecot.conf
3- Open the file /etc/dovecot/conf.d/10-mail.conf and uncomment the line as shown below.
Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like systems, written with security primarily in mind
1- Install Package
# yum install dovecoat* -y
2- Open Config File
# 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.
# vi /etc/dovecot/conf.d/10-mail.conf
4- Open the /etc/dovecot/conf.d/10-auth.conf and edit as shown below.
# vi /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")
Open the /etc/dovecot/conf.d/10-master.conf and edit as shown below.
unix_listener auth-userdb {
#mode = 0600
user = postfix (line no 83 - uncomment and enter postfix)
group = postfix (line no 84 - uncomment and enter postfix)
5-Start the dovecot service.
# service dovecot start
Starting Dovecot Imap: [ OK ]
# chkconfig dovecot on
Test Dovecot-
The commands shown in bold should be entered by the user.
# 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 428
.
retr 1
+OK 428 octets
Return-Path: <user1@ramesh.com>
X-Original-To: user1
Delivered-To: user1@ramesh.com
Received: from localhost (localhost [IPv6:::1])
by server-1.ashu.com (Postfix) with ESMTP id 117113FF18
for <user1>; Thu, 7 Feb 2013 17:05:32 +0530 (IST)
Message-Id: <20130207113547.117113FF18@server-1.ramesh.com>
Date: Thu, 7 Feb 2013 17:05:32 +0530 (IST)
From: user1@ramesh.com
To: undisclosed-recipients:;
test
.
quit
+OK Logging out.
Connection closed by foreign host.
[root@server ~]#
Now Working.........
0 comments: