I’m migrating my email to a new provider that has significant delivery limits and that does not have great “push” support.
While trying to improve push delivery of emails, I played around with Delta Chat and realized it did push email better than many alternatives! I had heard great things about Delta Chat, but had never sat down to play with it, and I’m now thinking it’s “the future”!
I would like to use Delta Chat for notifications about my infrastructure- I don’t want to use my new provider because of their delivery limits.
I thought about just sending email to a Delta Chat email address, but chatmail servers require encrypted email.
How would you got for the absolutely most minimalistic way to have a “command” like:
$ notify -s Foobar <<EOF
Content of the notification
EOF
@WofWca’s advice is probably more relevant to the OP than the rest of this post.
Indeed there has been progress! I may even finish getting Neomutt sending Chatmails in the next day or so, assuming nothing else goes wrong, which it probably will . At which point I shall post my config, which unfortunately requires a recompile of Neomutt.
My choices are heavily constrained by my working on a Pinephone and wanting a mobile-usable client, among other things. On a desktop, using a CLI but not necessarily a client, there are probably easier ways.
You need Autocrypt functionality; this list of tools with Autocrypt functionality says that it is outdated, but I haven’t found better (@Simon pointed me at it). It is worth checking things not on the list; for instance, KMail has Autocrypt support. Also worth checking if GUI mail clients have command-line interfaces.
Hmmm, I tried sending an unencrypted email from GMail to my nine.testrun.org and it bounced immediately. I intend to use existing servers, so I don’t think I have much leeway to change passthrough_recipients.
I’ve read about bots and stuff- I was just wondering what’s the shortest path to getting something running. Bots don’t seem difficult, but it seems weird to write a bot for an “immediate” one-way email delivery, instead of for a long-running process that can read and send messages.
I’m using msmtp as the posts that 9er links currently too.
My question was more… is it easier to write a bot than to send encrypted mail that nine.testrun.org will accept? Or use something else?
I’m just evaluating options. I can just use something else, although it looked neat to get notifications through Delta Chat- with different contacts I could apply different notification policies, etc. If I had infinite time I’d go for a bot, because it might be cool to reply to some notifications (e.g. send a reboot command if I receive an alert that package updates for a server require a reboot).
On send Chatmail mails without using Deltatouch, I was going to write up what I’d done when I got it working, but perhaps I should post the bits I’m fairly sure are right as I go. I have not found it trivial, substantially because the tools are often not well-documented, though I’m sure I’m making it harder for myself. I’d think a bot might well be easier.