Skip to content

Instantly share code, notes, and snippets.

View minhazulOO7's full-sized avatar
💪
Focusing

Syed Mohammad Minhazul Islam minhazulOO7

💪
Focusing
View GitHub Profile
@raelgc
raelgc / Email Server (Linux, Unix, Mac).md
Last active May 21, 2024 11:31
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix