Skip to content

Instantly share code, notes, and snippets.

View khovanskiy's full-sized avatar

Victor Khovanskiy khovanskiy

  • Belgium, Brussels
View GitHub Profile
@raelgc
raelgc / Email Server (Linux, Unix, Mac).md
Last active September 30, 2024 23:45
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