selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Piatro, in Actual: How to import data with proper readable payee?

Personally I rename them to something meaningful and they get merged if there are no other references. PayPal is especially bad for completely meaningless rubbish in the payee field and they tend to be ad-hoc purchases so I don’t fiddle with them much. The category is the most relevant bit for me.

Atemu,
@Atemu@lemmy.ml avatar

Yeah, I’ve noticed the PayPal issue aswell.

olmium, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

Considering they’re covered in toxic shit, nope.

originalucifer, (edited ) in External email server vs port forwarding/vpn
@originalucifer@moist.catsweat.com avatar

email is one of the only services i just gave up on (after rolling my own exchange for over a decade). its too annoyingly complex, tedious to do correctly for just yourself. its not worth it.

Gooey0210,

I do it not really for myself, slow and steady i’m converting everyone I know to using my services

Sounds impossible, but some people already are using almost the whole suite and are happy. More and more people are asking if they can join.

The global sentiment is moving towards “tired of google”, “tired of paying for bad services”

chiisana,

Self hosting email on non-mission critical domain for learning purposes might be okay if your intention is to get into the industry. Self hosting email for others on more production like setting you’re going to find yourself in a world of pain.

All it takes is one missed email (be it not making into their intended recipient’s inbox, or them not receiving an important notice in their inbox) and you’re never going to hear the end of it.

You’d also be liable for content your users send out from your servers — and I don’t mean the spam type, though if you get your IP blacklisted, your provider may want to have a word with you.

I’d strongly advise against going down this path, but if you do, be sure to have ways to legally shield yourself from any sort of potential liabilities.

Gooey0210,

No problem, the world of pain is my hometown

TheHolm,
@TheHolm@aussie.zone avatar

I do not understand why everyone calling hosting email difficult? IT is like 5 RFC you need to read and implement. Sofware wise you will need mail agent, something for DKIM ( if it not build in in agent), “local delivery agent” ( probably presenting it as IMAP) + mail reader of your choice. Nothing too complex

IAm_A_Complete_Idiot, (edited )

It’s not complicated until your reputation drops for a multitude of reasons, many not even directly your fault.

Neighboring bad acting IPs, too many automated emails sent out while you were testing, compromised account, or pretty much any number of things means everyone on your domain is hosed. And email is critical.

TORFdot0,

The complex part isn’t the hosting part. Its the security part, the reputation management part, the uptime part, the troubleshooting delivery part and basically every other aspect other than running postfix+dovecot

TORFdot0,

Hosting your own email is a bad idea. Hosting OTHER PEOPLE’S email is a REALLY BAD idea. Self-hosting mail on a vanity domain is a good exercise to learn how SMTP, DNS, IMAP and other protocols interact.

If you don’t like Google, Apple, or Microsoft then sign them up with Proton or another hosted provider. You don’t want to be the reason someone lost income because they missed out on a critical email from a client or their job application was blocked because it was sent from a host with poor reputation.

TCB13, (edited ) in External email server vs port forwarding/vpn
@TCB13@lemmy.world avatar

You can selfhost the email server wherever you want. But you’ve to use some external system to deliver the email or you’ll end up in spam because your residential IP is most likely dynamic and already flagged by most email providers.

One way to do it is to get a VPS somewhere and setup Wireguard on it. Then configure your local system to bind to the Wireguard interface and IP so all email send and received using the tunnel. Dovecot doesn’t care what interface it is running on, Postfix has specific options that you can change in master.cf to accommodate the fact that it will be binding to the VPN IP and the real IP is the VPS public IP.

  1. Setup a install of Dovecot / Postfix / Rspamd on your local server: workaround.org/ispmail-bookworm/
  2. Start by setting up a Wireguard tunnel between your local server and the VPS: digitalocean.com/…/how-to-set-up-wireguard-on-ubu…
  3. Create a outgoing transport for the email that uses the WG tunnel and is aware of the VPS public IP:

<span style="color:#323232;">out-wg      unix  -       -       n       -       -       smtp
</span><span style="color:#323232;"> -o proxy_interfaces=188.xxx.xxx.xxx # the real public IP of the VPS
</span><span style="color:#323232;"> -o smtp_bind_address=10.0.0.2 # the IP that your local server has on the WG interface
</span><span style="color:#323232;"> -o inet_interfaces=10.0.0.2 # same as above
</span><span style="color:#323232;"> -o myhostname=server.example.org # should match the PTR / reverse DNS entry on the VPS IP
</span><span style="color:#323232;"> -o smtp_helo_name=server.example.org # should match the PTR / reverse DNS entry on the VPS IP
</span><span style="color:#323232;"> -o syslog_name=smtp-wg
</span>
  1. Set your VPS firewall to NAT/forward incoming traffic on port 25, 587, 465 and 993 to the local server (wireguard client 10.0.0.2);
  2. Change main.cf to use the transport by adding: default_transport = out-wg.

That’s everything you need to get it going. Use www.mail-tester.com to debug if DKIM and everything else is properly setup at the end.

Fisch, in How well does the raspberry pi handle being a moonlight client
@Fisch@lemmy.ml avatar

I have a Raspberry Pi 4 with LibreELEC and Moonlight as a plugin. Streaming from my PC on 1080p with 60 fps and 80 mbit/s works great.

roofuskit, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?
@roofuskit@lemmy.world avatar

I don’t have the space to hoard garbage.

egeres, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?
@egeres@lemmy.world avatar

What are they made of anyways?? Could one see any etching marks with a microscope?

brlemworld,

Bunch of tiny magnets either north or south.

Morphit,
@Morphit@feddit.uk avatar

Usually aluminium or glass. There’s a metallic coating applied to the outside surfaces that stores the data. That layer is very thin though, so most of the material is the substrate.

atzanteol, (edited ) in External email server vs port forwarding/vpn

I think mail forwarders are still a good way to go. It’s hard to predict how Internet providers will react to email running in their networks.

These days I have an ec2 at AWS for my mail server and use SES for outbound mail. I’m thinking of moving “receiving” back into my network with a simple chat forwarding service but keep SES for outbound. They handle all the SPF and DKIM things and ensure their networks aren’t on blacklists.

bartolomeo,
@bartolomeo@suppo.fi avatar

react to email running in their networks.

Is email dangerous? (I have no idea how email works so please don’t bombard me with acronyms)

atzanteol,

It’s spam they’re concerned about. Spam email is kinda “big business” and one way they thrive is by using bots to just scan for poorly-configured or vulnerable systems to hack and install an app that will let them send email from your system. By compromising hundreds or thousands of individual machines it makes it hard for mail providers to block them individually. It also uses a ton of bandwidth on internet service providers networks.

So some time ago service providers started to simply block port 25 (used to send email) on their networks except to certain services. I think they’ve backed off a bit now but inbound port 25 can often be blocked still. It may even be against their TOS in some cases.

bartolomeo,
@bartolomeo@suppo.fi avatar

Oh wow, thanks for the explanation.

MangoPenguin, in Question: Best UI to manage VMs and containers?
@MangoPenguin@lemmy.blahaj.zone avatar

Dockge or Portainer are both good options.

For VMs you’ll need to find something else, you could use Cockpit for that.

RootBeerGuy,
@RootBeerGuy@discuss.tchncs.de avatar

Thanks for mentioning Dockge, hadn’t heard of it yet. Already use portainer but it seems a bit overkill for me and my few containers. Will try Dockge.

antrosapien,

Do they work with podman? Or anything for podman?

waigl, in Encrypted fileshares in the local network?

Is sshfs an option? Unfortunately, I don’t think you can put that into /etc/fstab, though…

MigratingtoLemmy,

Would this be an ideal solution to share media from the NAS to the media server?

waigl, (edited )

Dunno about ideal, but it should work.

It does have quite a bit of overhead, meaning it’s not the fastest out there, but as long as it’s fast enough to serve the media you need, that shouldn’t matter.

Also, you need to either mount it manually on the command line whenever you need it or be comfortable with leaving your SSH private key in your media server unencrypted. Since you are already concerned with needing to encrypt file share access even in the local network, the latter might not be a good option to you.

The good part about it is, as long as you can ssh from your media server to your NAS, this should just work with no additional setup needed.

MigratingtoLemmy,

Thanks, I’ll think more on this

moh9aiTh, (edited )

Actually, you can. Either on boot or on demand. 👍

waigl,

Interesting. Though it does seem to to require your private key to be unencrypted…

kevincox,
@kevincox@lemmy.ml avatar

Well passwordless. But you can put it on an encrypted partition.

waigl,

Well passwordless.

Same thing in this context. But sure, an encrypted partition would work.

possiblylinux127, in Private and/or cheap places to register a domain

gen.xyz?

possiblylinux127, in Question: Best UI to manage VMs and containers?

What’s wrong with ssh?

hperrin,

Nothing. I’ve been using SSH. I’d like to have both options, SSH and a web UI.

SweetMylk, in The "safest" way of self hosting

Don’t let it out onto the net…

ElusiveClarity, in The "safest" way of self hosting

I’m not expert but for the sake of getting some discussion going:

Don’t open ports on your router to expose services to the open internet.

Use a vpn when torrenting and make sure your torrent client is set to only use the vpn’s network adapter. This way, if your vpn drops out the torrent client can’t reach the internet.

I keep everything local and use Tailscale to access things while I’m away from home.

genie,

Couldn’t agree more! Tailscale also lets you use Mullvad (up to 5 devices per Mullvad account, across all clients) as an exit node.

Wizzard, in Does anyone else harvest the magnets and platters from old drives as a monument to selfhosting history?

There’s some really fun chemistry in the rare-earth magnets - I used to buy them in bulk to enlarge my own IT-workshop collection, which was mostly broken down for Nd salts. Also, the magnets from iMac screens were also plentiful when HDD magnets got small (and then went extinct).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #