minimalist
minimalist copied to clipboard
Alternative: use unveil rather than chroot+setuid
The code you have already is more portable than what's in this pull request, but I wanted to share this for anyone looking for an alternative to running the program as root. On OpenBSD I let OpenSMTPD spawn minimalist as the _smtpd user. Then I use unveil rather than chroot.
Thanks. I'm on OpenBSD, too. But I don't use minimalist any more. As you notice, unveil() is less portable, so not really suitable as a master branch.
I don't use minimalist any more.
A bit off-topic, but may I ask what you use now?
I don't manage any mailinglists anymore.