💾 Archived View for dj-chase.com › documents › matrix-mms-email › intro.html captured on 2023-07-10 at 13:38:25.

View Raw

More Information

➡️ Next capture (2024-02-05)

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

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>
      Matrix To MMS-Over-Email Bridge
    </title>
    <meta name="generator" content="//dj-chase.com/Make.py">
    <link rel="stylesheet" href="../../style.css?2023-05-13">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  <body>
    <nav>
      <a href="#start">Skip to start</a>
      <!-- screen-reader–only p -->
      <p>You are here:</p>
      <ol>
        <li><a href="/" aria-label="home">⌂&nbsp;<span>›</span></a></li>
        <li><a href="/documents/">documents&nbsp;<span>›</span></a></li>
        <li><a href="/documents/matrix-mms-email/">matrix-mms-email&nbsp;<span>›</span></a></li>
        <li><a href="/documents/matrix-mms-email/intro.gmi">intro.gmi</a></li>
      </ol>
    </nav>
    <header id="start">
      <h1>
        Matrix To MMS-Over-Email Bridge
      </h1>
    </header>
    <main>
      <p>
        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 <a href="https://matrix.org/">Matrix</a> to <abbr title="Multimedia Messaging Service (text message)">MMS</abbr>-over-email bridge on my server.
      </p>
      <p>
        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.
      </p>
      <h2>
        Overview
      </h2>
      <h3>
        Sending
      </h3>
      <ol>
        <li>I send a text to the correct contact.
        </li>
        <li>My phone provider’s email gateway converts that to an email.
        </li>
        <li>I receive the message on a different server (~team) because my server (smirkingface) cannot receive mail.
        </li>
        <li>~team checks the sender address to make sure it’s me, then converts it to a Matrix message.
        </li>
        <li>Then, acting as a Matrix client, ~team sends the message to my friend&nbsp;(<a href="https://theevilskeleton.gitlab.io/">Tesk</a>).
        </li>
      </ol>
      <h3>
        Receiving
      </h3>
      <ol>
        <li>Tesk sends a message to me on Matix.
        </li>
        <li>smirkingface, acting as a second Matrix client, reads the message and converts it to a multipart/MIME email message.
        </li>
        <li>smirkingface sends the message via Postfix to my phone provider’s email gateway.
        </li>
        <li>The Matrix message appears as a text on my flip phone a few minutes later.
        </li>
      </ol>
      <h2>
        Details
      </h2>
      <p>
        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:
      </p>
      <ol>
        <li>
          <a href="1_mms-over-email.gmi">MMS over email</a>
        </li>
        <li>Matrix over email (coming soon)
        </li>
      </ol><!-- html code generated by txt2tags 3.3 (http://txt2tags.org) -->
      <footer>
        <p>
          Questions, comments, or wrote a reply? <a href="mailto:u9000@posteo.mx">Email me</a>.
        </p>
        <p>
          ©&nbsp;DJ Chase 2022-11-05. Licensed under the Academic Free License (AFL&nbsp;3.0).
        </p>
        <p>
          <a href="/cgi-bin/cite.sh">Cite this page</a>
        </p>
      </footer><!-- cmdline: txt2tags  -->
    </main>
  </body>
</html>