Installation of dovecot-1.0.rc14
Note: My system is RHEL4
I. RPM format
1. Install the RPM package;
2. Edit/etc/Dovecot. conf
Modify
Protocols = IMAP POP3
Passdb passwd {
}
Passdb shadow {
}
3. Start
# Service Dovecot start
Installation of binary tar.gz package
1. (The latest version)
Http://www.dovecot.org/releases/dovecot-1.0.rc14.tar.gz
2. Installation:
# Tar zxvf dovecot-1.0.rc14.tar.tar
# Cd dovecot-1.0.rc14
#./Configure -- prefix =/usr/local/Dovecot -- sysconfdir =/usr/local/etc -- With-mysql -- without-SSL -- disable-ipv6
# Make
# Make install
# Cp/usr/local/etc/dovecot-example.conf/usr/local/etc/Dovecot. conf
3. Create the user on which the startup process depends
# Useradd-S/bin/false-D/dev/null Dovecot
4. Modify configuration file
Edit/usr/local/etc/Dovecot. conf
Modify
Protocols = IMAP POP3
Ssl_disable = Yes
Passdb passwd {
}
Passdb shadow {
}
5. Start
#/Usr/local/Dovecot/sbin/Dovecot
6. You can write the startup command into the/etc/rc. d/rc. Local file to enable the service automatically when the system starts.
# Echo "/usr/local/Dovecot/sbin/Dovecot">/etc/rc. d/rc. Local
7. Verification
(1) positive POP3 Verification
# Telnet to localhost 110
Trying 127.0.0.1...
Connected to localhost. localdomain (127.0.0.1 ).
Escape Character is '^]'.
+ OK Dovecot ready.
(2) Validate IMAP
# Telnet to localhost 143
Trying 127.0.0.1...
Connected to localhost. localdomain (127.0.0.1 ).
Escape Character is '^]'.
* OK Dovecot ready.
Dovecot with postfix