Installing and setting up Dovecot in RHEL 4 or CentOS 4 is easy. All we have to do is to enable the services we would like to provide and we are good to go.
protocols = pop3 pop3s imap imaps default_mail_env = maildir:~/Maildir/ client_workarounds = oe6-fetch-no-newmail outlook-idle outlook-pop3-no-nuls
Sample dovecot session. Replace johndoe and password with any valid user name and password.
[root@mail ~]# telnet localhost pop3 +OK dovecot ready. user johndoe +OK pass password +OK Logged in. list +OK 1 messages: 1 622 . retr 1 +OK 622 octets Return-Path: <email@example.com> X-Original-To: johndoe Delivered-To: firstname.lastname@example.org Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.acme.local (Postfix) with SMTP id 9729067C17 for <johndoe>; Thu, 22 Feb 2007 09:06:37 -0500 (EST) Message-Id: <20070222140640.9729067C17@mail.acme.local> Date: Thu, 22 Feb 2007 09:06:37 -0500 (EST) From: email@example.com To: undisclosed-recipients:; X-IMAPbase: 1172153557 1 Status: O X-UID: 1 Content-Length: 5 X-Keywords: test . quit +OK Logging out. Connection closed by foreign host. [root@mail ~]#
If you encounter any problems, check the log file at /var/log/maillog.
Visit the forum to ask for help or to give a comment.