# MM4-to-webhook proxy

**URL:** <https://hub.soprani.ca/t/mm4-to-webhook-proxy/232>\
**Category:** Issues\
**Tags:** implemented\
**Created:** [June 27, 2022, 6:14pm UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232 "2022-06-27T18:14:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [June 27, 2022, 6:14pm UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/1 "2022-06-27T18:14:49Z")

</div>

MM4 is just SMTP, so postfix can receive those no problem. It can also run a program for each new inbound email, just like we do for cheogram-smtp. This program needs to parse the email and then hit sgx-bwmsgsv2 with a webhook as though from Bandwidth.

We’re basically re-implementing Bandwidth’s inbound MMS API here, but theirs has some show-stopping bugs they refuse to fix (such as ignoring Cc headers on group text from those who use them, such as Google Voice).

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [August 24, 2022, 8:54pm UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/2 "2022-08-24T20:54:07Z")

</div>

Maybe start with attachments for cheogram-smtp to get code to do some of this handling?

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [November 7, 2022, 3:25pm UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/3 "2022-11-07T15:25:18Z")

</div>

I did add inbound attachment code in cheogram-smtp as a start to this, so I think we want to have a mode over there to convert email to bandwidth API JSON or similar.

---

<div class="post-metadata">

**Author:** ![seki](https://hub.soprani.ca/letter_avatar_proxy/v4/letter/s/74df32/32.png) [@seki](https://hub.soprani.ca/u/seki)\
**Post date:** [January 19, 2023, 10:37am UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/4 "2023-01-19T10:37:07Z")

</div>

Based on my long and previous attempts at this without making any useful progress, I want to unassign myself from this and let someone else get it done.

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [January 27, 2023, 5:04am UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/5 "2023-01-27T05:04:44Z")

</div>

[https://lists.sr.ht/~singpolyma/dev/patches/38478](https://lists.sr.ht/~singpolyma/dev/patches/38478)

---

<div class="post-metadata">

**Author:** ![ossguy](https://hub.soprani.ca/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@ossguy](https://hub.soprani.ca/u/ossguy)\
**Post date:** [February 5, 2023, 10:34pm UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/6 "2023-02-05T22:34:16Z")

</div>

See #223 for a related ticket about outgoing MM4 (to possibly fix unsupported 10+ recipient outgoing group texts).

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [February 6, 2023, 1:15am UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/7 "2023-02-06T01:15:21Z")

</div>

Google Fi apparently sends to/cc header without leading +

---

<div class="post-metadata">

**Author:** ![system](https://hub.soprani.ca/user_avatar/hub.soprani.ca/system/32/18_2.png) [@system](https://hub.soprani.ca/u/system)\
**Post date:** [October 19, 2026, 6:28pm UTC](https://hub.soprani.ca/t/mm4-to-webhook-proxy/232/8 "2026-10-19T18:28:31Z")

</div>


