Documenting my setup

Hi everyone, I started to document my setup in case it could be useful for others: 14 years of self-hosting - ben@localhost

I tried to present how I manage Yunohost vs other services and how I deal with failures, especially how to keep email running when facing long downtime.
Let me know what you think!

I also have a script to do my Yunohost deployment in an unprivileged LXC container including network and firewall configuration that I am in the process of documenting.

4 Likes

Excellent blog article.
It’s slightly condensed for newbies, I got confused at some point. Some things could have their own article.
Other thing, the page display is not adapted to mobile view. I had to zoom in to be able to read it.
I made an article for beginners in French

L’auto hébergement, un aperçu avec yunohost

Thanks for the great feedback. Indeed I did not write it with newbies in mind. My idea was to share my experience for people already familiar with Linux administration but not self-hosting yet. Yours is great to kickstart newbies and maybe after some months of experience they’ll find mine useful - who knows :slight_smile: ?
Still, I’ll be interested to know which areas should be more detailed in your opinion.

Finally, I’ve been using this old theme from pre-mobile web era, but you nudged me to update it to be more mobile-friendly :stuck_out_tongue:

1 Like

@benou this was an interesting article and cool to hear the experience from someone who has been self-hosting for a significant amount of time!

In your article, you mentioned you use yunohost for email, but also you use an external service for sending emails (gandi). If you have time to share, I would be curious how you configure yunohost to use an external service for sending?

I just started using yunohost, and self-hosting my email with it, and I’m curious to see if I get reliable email delivery, and how I could make it more reliable if not.

Yunohost fully support relay setup and the procedure is documented here: Configure SMTP relay | Yunohost Documentation
So it is actually pretty easy - note the step 2 though: you’ll have to configure SPF / DKIM correcly for this to work. In my case Gandi has documentation for that.

The reliability issues I encountered mainly are:

  • being denied because my IP is a residential IP: ISP declare the IP used for their users and this is used by quite a few servers to outright block you. This was the case of eg. Orange last I checked
  • GMail dumb spam classifier: it looks like using a residential IP makes your emails go the spam folder of your recipients almost 100% of the time - which is actually worst than being denied in my opinion because you have no idea why nobody answer (hint: nobody looks at the spam folder)

Obviously, most of it stems from using a residential IP - if you use a hosting service (eg. OVH) your mileage may vary.

Anyway, best of luck :slight_smile:

1 Like

@Benout thanks for this, very helpful!
I’m currently hosting my yunohost on a digital ocean droplet, with the plan to possibly migrate it to a home-server someday when I have a more stable home-situation.
On the digital ocean droplet, I’m already seeing that some of my emails are ending up in people’s spam folders, so I’m going to try out setting up an SMTP relay and see if that improves the situation. Anyway, thanks again.