c0ffee.net
c0ffee.net · Personal blog · on HN since 2017
c0ffee.net hosts self-hosting guides on running a mail server, FreeBSD and OpenBSD on laptops, and DNS.
What HN saysCommenters repeatedly recommend its mail server guide and FreeBSD laptop post as excellent, thorough walkthroughs.
17HN people shared it
11linked it in comments
8stories submitted
1.3Kstory points
5 years agolast shared
2017people per year2026
Most-shared posts
- 1How to Run Your Own Mail Server (2017)10 people · 1.0K points · first shared 2017 · 325 comments on HN
- 2OpenBSD on a Laptop3 people · 266 points · first shared 2018 · 116 comments on HN
- 3FreeBSD on a Laptop (2017)3 people · 4 points · first shared 2020 · discussion on HN
- 4Dovecot Push Notifications for iOS2 people · 1 points · first shared 2018 · discussion on HN
- 5FreeBSD Server Guide (2017)1 people · 1 points · first shared 2018 · discussion on HN
- 6Dns hidden master1 people · first shared 2018
What HN people wrote when they linked it
72deluxe · 2021-12-06
I set up my own mail server following the guide here: https://www.c0ffee.net/blog/mail-server-guide/
I also referred to https://www.gmass.co/blog/smtp-server-linux/
I also looked at OwnCloud, but ended up just syncing from my phone to local Mac and doing backups off that regularly.
You could also rsync to other devices. A raspberry Pi with a SSD at home would work fine. If you have a VPN set up on your own network (eg. an ASUS router), you could use it to host photos/backups/music. If you home IP address is dynamic, use a free DDNS provider so you can always connect to your home site.
Just make sure you get a copy of those photos sooner than later!!
lllr_finger · 2020-07-13
I've found the same. One of my favorite blog posts on getting FreeBSD working well on laptop is: https://www.c0ffee.net/blog/freebsd-on-a-laptop/
snazz · 2019-05-28
Any cloud VPS service that provides ISO upload will allow you to use OpenBSD. Vultr has OpenBSD 6.4 and 6.5 images pre-configured that you can get installed on a VPS (I’m using a $3.50/mo one).
For an even better experience, try it on an old ThinkPad following this guide [0]. You might like how suspend/resume just works, how your brightness and volume hotkeys just work, how the documentation is awesome, and how all the software you need is just one pkg_add away. I’d say that, compared to Linux on the desktop, OpenBSD can be a much more cohesive experience without a desktop environment installed and without endless configuration for basic features.
[0]: https://www.c0ffee.net/blog/openbsd-on-a-laptop/
petecooper · 2018-09-24
I'll leave this here - it's a chunky read and might need tailoring to your situation, but it's an excellent walkthrough:
https://www.c0ffee.net/blog/mail-server-guide/
phaser · 2018-09-16
I host my own postfix server on FreeBSD and use the Evolution IMAP client on Linux. I haven't been in a situation where I need web access to mail in years so for me it's equivalent.
I started out about 6 months ago with this great guide:
https://www.c0ffee.net/blog/mail-server-guide/
The cost of a convenience like having a free email account is participating in the demise of the protocol-based networks that we have replaced with centralized products. There's many other great IMAP clients and maybe some of the features of Gmail/Inbox can be recreated using server side rules and scripts.
perlgod · 2018-11-15
I used to run Postfix + Dovecot + Rspamd with all the bells and whistles enabled [1], but I recently switched to OpenSMTPD + spamd on OpenBSD.
Unlike rspamd, which has pluggable modules for everything under the sun (RBLs, word filters, Bayesian filtering + learning), spamd uses plain ol' graylisting with some PF integration to throttle spammers connections to 1 character/second for maximum annoyance.
With Rspamd, I never got any spam in my Inbox. With spamd, I get maybe 1 spam mail every two weeks. To me, spamd's ridiculous simplicity is worth the tradeoff.
You do have to be careful with graylisting large mailers like Gmail, since they rarely retry the mail from the same IP address. For this, OpenBSD's smtpctl now has the spfwalk [2] command to whitelist the big guys. That's what I use in my current setup [3], which was linked here a few days ago.
[1] https://www.c0ffee.net/blog/mail-server-guide/
[2] https://poolp.org/posts/2018-01-08/spfwalk/
[3] https://github.com/cullum/dank-selfhosted
dbtc · 2021-02-16
Yes definitely, with supported hardware.
This blog was useful for me: https://www.c0ffee.net/blog/openbsd-on-a-laptop/#multimedia
and https://www.openbsd.org/faq/
gautamcgoel · 2021-02-07
I wish FreeBSD booted faster. I recall it took nearly a minute from turning my machine on (with an SSD and a recent Intel i5 processor) before I was prompted for my login credentials. It's little things like that which make the system feel a bit dated, at least to someone like me who is an outsider to FreeBSD but has used Linux for a decade. I also wished FreeBSD needed less configuration to use as a desktop (see https://www.c0ffee.net/blog/freebsd-on-a-laptop/ for what I mean). Also, does Zoom work on FreeBSD?
mulmen · 2020-10-31
I haven't made time for it yet but this guide seems pretty comprehensive and will be my starting point: https://www.c0ffee.net/blog/mail-server-guide/
combatentropy · 2020-08-16
I've only been running it for about a year, but I simply don't get spam --- perhaps partially because it isn't my main email address.
I went by this article, https://www.c0ffee.net/blog/mail-server-guide/ but I only set up Postfix and the various DNS records (MX, DKIM, etc.). I didn't set up Dovecot because I just use Mutt on the same server. And I haven't bothered to set up any kind of spam filter.
kev009 · 2018-07-03
Setting up a mail server is somewhat intricate as admins added hurdles to cut spam. This was on HN a while back and is good stuff https://www.c0ffee.net/blog/mail-server-guide
SPF, DKIM, DMARC all need to be set up. Check to see if the IP is any RBLs. Time also helps as the major MXers "learn" you are a real mail server.