Skip to content

Instantly share code, notes, and snippets.

View pogster's full-sized avatar

carstenpfeifer pogster

View GitHub Profile
@raelgc
raelgc / Email Server (Linux, Unix, Mac).md
Last active April 28, 2024 15:33
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