Skip to content

Instantly share code, notes, and snippets.

View hosford42's full-sized avatar

Aaron Hosford hosford42

View GitHub Profile
@hosford42
hosford42 / Email Server (Linux, Unix, Mac).md
Created May 18, 2018 02:45 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup a Local Only Email Server (Linux, Unix, Mac)

Setup a Local Only 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