Accessing Mastodon and the fediverse via email: - eviltoast
  • alchemist@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 months ago

    I see that you’re using Acme over there… :)

    Are you somewhat inspired by how Plan 9 handles e-mail? I was wondering if I could do the same but for 9front.

    • Oliver Lowe@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      Ha good eyes! :) I have basic receive-only working with Lemmy using a virtual file system interface I wrote (https://pkg.go.dev/olowe.co/lemmy). Just realised we actually spoke about this a while ago haha (https://lemmy.sdf.org/post/1035382 )

      But synchronising to disk is super inefficient: too many API calls. Should subscribe using ActivityPub proper and store updates received as RFC 5322 messages.

      From there we could serve the messages via NNTP. Then, finally, we could use nntpfs(4)

    • Oliver Lowe@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Oh wow thanks! :) One program syncs my home Mastodon timeline, with all replies, to a Maildir. Dovecot serves that over IMAP. Sending involves a custom SMTP server which reads the mail message and creates a post from it.

      For Mastodon it was all about converting statuses (toots? Posts?) into RFC 5322 messages. Using the status’ ID as Message-Id in the message header is handy. Mail clients do the heavy lifting of rendering threads thankfully!

    • Oliver Lowe@hachyderm.ioOP
      link
      fedilink
      arrow-up
      0
      ·
      10 months ago

      @skullgiver Oh wow thanks! :) One program syncs my home Mastodon timeline, with all replies, to a Maildir. Dovecot serves that over IMAP. Sending involves a custom SMTP server which reads the mail message and creates a post from it.

      For Mastodon it was all about converting statuses (toots? Posts?) into RFC 5322 messages. Using the status’ ID as Message-Id in the message header is handy. Mail clients do the heavy lifting of rendering threads thankfully!