this post was submitted on 14 Nov 2023
3 points (80.0% liked)

Self-Hosted Main

502 readers
4 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 want to set up an outgoing transactional email server for my small business. Do I need to purchase IP blocks? Given most IPs from VPS will have bad reputation.

Please respond only if you have ran an SMTP server. Not looking for heresay.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 10 months ago

I was an email administrator for 6 years. I’ve ran every hosted mail service you can possibly think of. My advice: DON’T DO THIS!

[–] [email protected] 3 points 10 months ago

I’d be surprised to find anyone recommending you self host a mail server. It’s an absolute nightmare. But best of luck to you

[–] [email protected] 3 points 10 months ago

Unless sending mail or hosting mail servers is the primary focus of the company, it's a waste of time and labor to host and administrate.

[–] [email protected] 2 points 10 months ago

Or you can use an external SMTP gateway so all your mail is sent using a 3rd party service like mailchannels or spamexperts

[–] [email protected] 1 points 10 months ago (1 children)

I do run my own mail server from home, I have a second MX proxy on AWS, so even if my home goes out for a bit (less than 3 days) it will mail will be collected on my AWS server.

Getting it setup is easy, and cheap.

But getting it set up right is not, make a mistake and you could be an SMTP relay, people may start sending out bogus mail on using your email, and then there is the maintenance (backups, patching, etc)

Even if you were able to purchase a block of class C, who know what the reputation was prior to that. Then you need an ISP that will route said IPs to your home.

I have a small block of IPs (/29) and I think I pay 3 times what my residential peers pay.

I self hosted Exchange 5.5 at home, then went to SBS 2003, then SBS 20008, after that moved things to Hosted Exchange.

I still host a local mail server but it is Postfix and Dovecut (prior to Exchange 5.5 it was sendmail and uw-imap). My IPs are closing in on 2 decades old, and my domains 25 years.

If you want cheap and able to wait, maybe put it on AWS with an EIP, and wait till it is eventually clean. Be aware that if you get an IP from AWS even if you dont use it you will be charged and you still have to have them allow port 25. There is their SES service, but now I feeling you getting away from r/self-hosted.

New just established domains get a low reputation as well.

I encourage people to learn though, ask more questions here, expect most people to say don't do it.

Good luck

[–] [email protected] 1 points 10 months ago

How much did you pay for your IPs you purchased? I am not worried about people sending emails because its only outgoing transactional emails, and thats it.

[–] [email protected] 1 points 10 months ago

Hello.

I run multiple email servers for different companies on multiple servers in different locations all onprem. Some are CTX containers on Proxmox some are just older physical servers.

Do not even try to run it on VPS or on any low reputation IP's or internet domains.

Use a different internet domain (not subdomain) and IP for your marketing/newsletter/e.t.c. or such that are susceptible for blacklisting, so your business email still get trough.

[–] [email protected] 1 points 10 months ago

I'm hosting one. All foss software. The name of.the game is reputation building. Be ready to spend a lot of time emailing providers. After a few months it gets better depending on how much traffic your server has.