Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It’s fast, simple to set up, requires no special administration and it uses very little memory.
Dovecot 2.0.6 is bugfix release and should be more stable than previous versions of 2.0.x.
Below you can find transcript of configuration and compilation session of Dovecot server and a script which I use for this purpose (as attachement).