šŸ’¾ Archived View for dj-chase.com ā€ŗ documents ā€ŗ matrix-mms-email ā€ŗ intro.gmi captured on 2024-08-31 at 11:48:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2023-06-14)

-=-=-=-=-=-=-

Matrix To MMS-Over-Email Bridge

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.

Matrix

Overview

Sending

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).

Teskā€™s homepage

Receiving

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.

Details

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 1 ā€” MMS Over Email

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)