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

Self-Hosted Main

502 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
 

Does anyone know of any free, or very cheap, smtp relays that are 'open' to any sender address and not domain limited?

My email setup (my domain & also local sports clubs emails) is behind a residential dynamic IP (virgin media in the UK) so need a relay to avoid getting spam tagged; I have tried without a relay and even with having correct spf, dkim, dmarc, etc. Records lots of items were still getting tagged as spam for dynamic IP.

The challenge i have from testing most of the big name free smtp relay services (smtp2go, mailjet, blogmail, mailgun, etc.) is that I have a mix of imap/pop3 accounts and some 'forward to x' accounts, the imap/pop accounts are all fine however the forward emails are getting blocked by the services I tested so far because the sender isn't from my listed domains. E.g. email1@gmail.com sends to email2@mydomain.com, my server then forwards the email to email3@outlook.com. The services I tested so far are blocking the forwarded email because email1@gmail.com isn't in my allowed list of sending domains.

The setup was working using virgins (ISP) relay until today but seems they're now limiting the sender address & have stopped even giving new email accounts to customers so not expecting any help from them so looking for options. (If the only real option is to stop the 'forward to X' I can live with telling the sports club that they can't have that anymore & all their emails will need to be imap/pop3)

top 2 comments
sorted by: hot top controversial new old
[–] h311m4n000@alien.top 1 points 11 months ago

I don't know of a free relay, but here's how I do it:

5€ hetzner VPS with Proxmox Mail Gateway installed, relays e-mail to my residential IP. To deal with my IP changing every now and then, I have 2 scripts:

  1. One at home updates my A record on cloudflare when an IP change is detected
  2. One on my PMG that checks for my A host on cloudflare and if the IP changes, modifies the conf files where the my residential IP is set then restarts postfix.

Been working great for 2 years now.

[–] kmaid@alien.top 1 points 11 months ago

I don't think email is something you can really selfhost. I would suggest getting a cheap mail provider like mxroute. I am using a dodgey reseller with success yuzhen.cloud. If you pay for icloud you can use a custom domain with them.