How to create a Email Server under Linux
Email Platform Although this email service can’t send email to other people due to server providers email port block , it can be used to receive email. There are 2 options, but I decided to use other solution since my VPS has limited memory and disk storage: https://github.com/mailcow/mailcow-dockerized https://github.com/Mailu/Mailu I’m going to make a SMTP(Simple Mail Transfer Protocol) service by myself: https://stackoverflow.com/a/10850619/8667243 https://aiosmtpd.readthedocs.io/en/latest/migrating.html https://docs.python.org/3/library/email.examples.html https://petri.com/configure_mx_records_for_incoming_smtp_email_traffic/ https://stackoverflow.com/questions/7297373/smtp-directly-to-a-hosts-mx-record How I did For the python part, you can simply use python to set up a SMTP service, which will listen to a port, for google, they use 25 . Then if you want the outside world to be able to send email to you, you have to set up a MX record and an A recor...