this post was submitted on 28 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I would love to run my mail server self-hosted at home. I have a small N100 box that I would like to dedicate for this purpose.

Needs

  • capability to handle a handful of domains
  • each domain has at least one user (no more than a handful each)
  • the ability for users to have multiple aliases
  • relatively small amounts of email per day total (mostly incoming)

Concerns / Possible Mitigations:

  • residential IP won’t work with SMTP
  • I have a Vultr VPS I could use as a relay between the world and me (IP reports as clean on blacklist checkers [both IPv4 and IPv6])

Questions:

  • Could I set up WireGuard between the home server and VPS then have that handle sending out the email?
  • What software stack would I need? Would this be something like postfix to postfix or..?
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

Here is a guide that I found helpful when setting up my email server: https://workaround.org/ispmail-bookworm/whats-new/

It allows for multiple aliases and domains. Has spam blocking and uses both postfix and dovecot for handling the mail.

Vultr blocks outgoing port 25 so you'll have to ask support for it to be opened.

Test your residential IP by connecting to smtp/imap servers using telnet.