How to create a simple email server in Linux

Penetration testing sometimes requires the assembly of various additional tools. For example, a mail server from which you can send phishing emails to check employees for social engineering attacks. This mail server should allow...