Welcome to Linux Support and Sun Help
Search LinuxSupport
Downloading Dovecot

Dovecot is available to download from http://www.dovecot.org/

wget http://www.dovecot.org/releases/dovecot-1.0.2.tar.gz
gunzip dovecot-1.0.2.tar.gz
tar -xvf dovecot-1.0.2.tar
cd dovecot-1.0.2
Compiling Dovecot
./configure
make 
make install

Now move the example configuration file into the correct location:-

mv /usr/local/etc/dovecot-example.conf /usr/local/etc/dovecot.conf
Configuring Dovecot

Edit configuration settings as per example file (example coming soon...)

You should add a dovecot user to your server:-

useradd -c "dovecot" -d /data/dovecot/ -s /sbin/nologin dovecot
Running Dovecot

Run it via:-

/usr/local/sbin/dovecot

All done!

Configuring Firewalls

If you want to run a server and you have a firewall running, you probably need to edit the firewall rules to allow access to port 143 (IMAP)

If using iptables use the following:-

vi /etc/sysconfig/iptables-config
Add the following line near the bottom
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 143 -j ACCEPT
Valid HTML 4.01! Valid CSS!