hm. i've set up postfix, amavis with clamav + spamassassin, dovecot, and solr all on the same system i'm using to host 00dani.me and various other projects
it's kinda tight on memory at this point?
i'm wondering whether it's worth spinning off a separate mail server maybe? i'd probably have to configure the services all over again, this stuff is pretty ingrained in the system it's on, but maybe it'd be worth it? idk
maybe i need to shave fewer yaks and stop self-hosting everything :/
@00dani hah! No one escapes the self-hosting bug 😀.
I've wanted to shove my mail server stack into an LXD container or something, though, so I can migrate it easily around. And snapshot and backup, and stuff.
@RAOF oh wow, email in a container sounds good :3 it'd definitely be easier to split off to a separate server :o
also what's your stack? maybe i can improve mine a li'l ;)
@00dani a pretty standard postfix/dovecot/spamassassin/solr stack. Oh, and I guess with dkim and spf. I don't think there's much to learn from it, it's Ubuntu's mail-stack-delivery package plus some tweaks 😀
@RAOF wait wait wait, ubuntu provides a single package that sets up that whole stack?
oh my god i installed everything individually while fiddling with it for DAYS
@00dani mail-stack-delivery only sets up the postfix/dovecot bit, sadly.
@RAOF ah. darn. and i'm guessing it doesn't do cool things like use dovecot as the submission service either, since the distribution-provided dovecot doesn't know how to do that yet :/
@00dani huh, dovecot as SMTPS submission server, rather than postfix?
I'm intrigued. What cool stuff would that do?
@RAOF i set it up today, actually! dovecot >=2.3 can act as a submission /relay/, it passes the messages on to your actual mta for delivery but handles auth and enables more advanced smtp features?
most importantly is burl, which enables you to upload sent messages once rather than both to smtp (for actual sending) and to imap (for saving in your sent folder) - since dovecot effectively provides both smtp and imap, burl Just Works™ :3
@00dani huh, interesting! I just have a postfix rule that forwards everything to me+sent@
@00dani if I get around to it I'll post something about the containerisation process. I'd share the container itself, but it'd have all my email and private keys and such 😀
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!