Dovecot
1.3kIMAP and POP3 server written primarily with security in mind.
SelfHostHub lists 3 open-source Mail Delivery Agents projects you can host on your own server. The most-starred on GitHub are Dovecot (1,268 stars), DavMail (768 stars) and Cyrus IMAP (652 stars). 0 of them document a Docker install.
IMAP and POP3 server written primarily with security in mind.
POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client with an Exchange server, even from the internet or behind a firewall through Outlook Web Access.
Email (IMAP/POP3), contacts and calendar server.
By GitHub stars, the top projects in this category are Dovecot (1,268 stars), DavMail (768 stars) and Cyrus IMAP (652 stars).
3 projects are currently listed in the Mail Delivery Agents category on SelfHostHub.
The most common licences in this category are MIT (1), LGPL-2.1 (1) and GPL-2.0 (1).
0 of the 3 projects list Docker as a supported platform. Check each project's documentation for the exact install steps.