š¾ Archived View for dj-chase.com āŗ documents āŗ matrix-mms-email āŗ intro.gmi captured on 2023-07-10 at 13:26:55. Gemini links have been rewritten to link to archived content
ā¬ ļø Previous capture (2023-06-14)
-=-=-=-=-=-=-
I made a friend online while locked-down during COVID who I want to continue communicating with. The problem, though, is that I do not use social media, and chat apps do not work for me no matter how hard I try. So after about a month of back-and-forth discussing possible solutions, weāve thought of something that we think will work well for both of us: Iām going to run a Matrix to MMS-over-email bridge on my server.
This series will document the process of getting this to work, both because thatās interesting and because it will help me stay on schedule. What follows is a description of how itās going to work and more detailed posts about it as I go along.
1. I send a text to the correct contact.
2. My phone providerās email gateway converts that to an email.
3. I receive the message on a different server (~team) because my server (smirkingface) cannot receive mail.
4. ~team checks the sender address to make sure itās me, then converts it to a Matrix message.
5. Then, acting as a Matrix client, ~team sends the message to my friendĀ (Tesk).
1. Tesk sends a message to me on Matix.
2. smirkingface, acting as a second Matrix client, reads the message and converts it to a multipart/MIME email message.
3. smirkingface sends the message via Postfix to my phone providerās email gateway.
4. The Matrix message appears as a text on my flip phone a few minutes later.
That whole thing really breaks down to two parts: getting MMS working over email, and getting Matrix working over email. Here are those parts in more detail:
Step 2 ā Matrix over email (coming soon)
ā
Questions, comments, or wrote a reply? Email me.
Ā©Ā DJ Chase, 2022-11-05. Licensed under the Academic Free License (AFLĀ 3.0)