Dovecot is an imap daemon. It can be easily configured with webmin that has an own module for this.
To install dovecot, find out your distribution and proceed accordingly:
yast -i dovecot20