Would you kindly list a possible technology stack needed to host my own E-mail server and describe what are expected pitfalls and risks ?
Here is the technology stack I would recommend for hosting your email server:

1. Linux distribution (Ubuntu 16.04, Debian 8) - The most popular operating system for running servers in production environments today. Ubuntu comes with many useful applications that make it easy to set up and manage an email server.
2. Postfix mail transfer agent (MTA) - A program responsible for routing incoming emails through multiple delivery agents before they reach their destination recipients. Postfix provides features such as virtual domains, aliases, bounce handling, and virus checking.
3. Dovecot IMAP/POP3 Server - An open source software library providing secure access to remote mailboxes using the standard protocols of SMTP and POP3. It supports authentication, message indexing, search, encryption, and more.
4. SpamAssassin antispam toolkit - This application filters out spam messages from incoming emails by learning user's preferences. You can use it along with other security tools like SPF, DMARC, DKIM, etc., to improve the overall email security posture.
5. ClamAV anti-virus scanner - Used to detect malicious attachments or code within infected emails. It scans both emails and files on disk and helps prevent infections via email.
6. Roundcube webmail client - Provides an interface where users can read, compose, send, receive and archive their email messages online. Roundcube also includes built-in spam filtering and anti-phishing measures.
7. Courier-imap mail transport agent (MTA) - Used to store local copies of all received emails in folders named after the sending domain. All outgoing emails sent from this MTA will be stored locally so they can be accessed offline.
8. Exim Mail Transfer Agent (MTA) - Similar to Postfix, but optimized for high performance and scalability. It offers features like IPv6 support, TLS, DKIM,