HTTP mirror

I made a simple tool some time ago to extract the content of an email, and publish it to a gopher hole.

To put it simply, the subject is used as the title, and the body is put into the log entry (optionnaly passed through a command, like fmt(1) for example. The original email sender is verified, to prevent spams from cluttering your phlog. It might not be the most secure method, but that works for me tm.

You can see it in action here:

  • gopher://phlog.z3bra.org
  • gopher://g.nixers.net/7/~anon/twtxt.dcgi
  • @rickumali
    link
    31 year ago

    This reminds me of Posterous, a now defunct service that let you post to a BLOG just by sending an email. I’ll be sure to check out your Gopher!

    • z3braOP
      link
      31 year ago

      Never heard about it before. It does sound similar indeed ! I’m curious to know what security mechanism they used to make sure only the author would submit new posts. I’ll check it out, thanks !

      • @rickumali
        link
        21 year ago

        It was cool to use, but it is no longer in service. I still have the old emails I sent! For them, they had an email address (post@posterous.com) that you would send the BLOG post. I’m guessing they checked the FROM to know whicih BLOG to update!

    • z3braOP
      link
      21 year ago

      Yeah unfortunately I never implemented that feature ^^ It would require to parse the email body and add much more logic into Scribo itself, making it very complex and subject to bugs. I like it the way it is now to be fair ^^

      What’s confusing about the mailto item ?

      • @screwtapeM
        link
        11 year ago

        My usual phetch doesn’t have an XDG web browser set or something I think? Unless I misunderstood that error, hang on. Specifically in phetch, I tried following link 1. (phlog@z3bra.org) and I get the error, “invalid port value”.

        • z3braOP
          link
          21 year ago

          Oh right, then it’s probably just the link format which is misinterpreted by your client. mailto links don’t include the usual “://”, which might prevent them from opening correctly on some clients.

  • @dbucklin
    link
    21 year ago

    I love this idea. I’ll have to check it out!

    • z3braOP
      link
      21 year ago

      I’d love to hear back from you if you ever use it !

  • plugd
    link
    21 year ago

    That’s a great idea; tempted to just go and implement this outright in my hole! Would definitely lower the activation energy for posting…