this post was submitted on 29 May 2024
28 points (96.7% liked)

Open Source

31256 readers
260 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Asudox@lemmy.world 2 points 5 months ago (5 children)

Is running a SMTP server a pain in the ass? Like hard to maintain?

[–] darklamer@lemmy.dbzer0.com 4 points 5 months ago

Yes, it is.

I've been running my own mail server for decades now (a quite odd hobby, I know) and that's not to be recommended for anyone who doesn't have a particular interest in e-mail. SMTP is from the early 1980s with roots in the 1970s and has had layer upon layer bolted on since then. It's a fantastic mess.

[–] smpl@discuss.tchncs.de 4 points 5 months ago* (last edited 5 months ago)

No, it's just a service that's running without me thinking about it.

My setup is:

  • debian as system
  • exim for smtp
  • courier for pop3
  • mariadb for accounts

But I'd like to make a point that's not being made in any of the other comments. It does not require an SMTP server to send e-mail. All you have to do is lookup the MX DNS record of the domain, connect to that SMTP server and write a few commands fx.:

EHLO senderdomain.tld
MAIL FROM:<yourmail@yourdomain.tld> 
RCPT TO:<recipient@recipientdomain.tld>
DATA
Subject: Blabla

Bla bla
.
[–] peregus@lemmy.world 2 points 5 months ago

I self host a lot of services, but I will never self host my email server If any of my self hosted service would have to go down, I will work on it as soon as I can, but it coudl that it's not that soon. If I would have self hosted my own email server at it would go down, I would have to work on it straight away because usually after 24/48 hours the other email server give up and send back the email (that was directed to me) to the sender, I could not receive airplane ticket for example and a lot of other stuff. What if that would happen when I'm on holiday in the other side of the world??? 🙈

[–] joshix@fosspri.de 1 points 5 months ago

@Asudox once I set it up *correctly* I didn't have problems yet

But big email providers like google like to not deliver emails if you do stuff wrong. I'm not self-hosting for my personal email stuff, but I didn't want to pay or put my email pw on my server, so I had no choice (i could've created a new email account, but i didn't want to put a 3rd party in the middle)

[–] Theoriginalthon@lemmy.world 1 points 5 months ago

I'll counter the other comments. It's not any more difficult to maintain than any other service. What is a pain is the spam, and as I run it for a business the users. The biggest problem I have is other mail servers been incorrectly configured for SPF, DKIM and dmarc , usually it's things like external billing platforms that have been integrated incorrectly by customers and suppliers. Spam is now starting to come though with all the proper headers for SPF and DKIM