In the previous Hackweek I forked maildirproc, polished it up a little and added IMAP filtering to it:

https://hackweek.suse.com/projects/make-maildirproc-imap-ready

The result is mailprocessing which is only available directly from Github and from PyPI. Since I work for a Linux distributor, that doesn't quite cut it, so I'll package it for OpenSUSE.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 17

Activity

  • over 5 years ago: cwickert liked this project.
  • over 5 years ago: mook_work liked this project.
  • over 5 years ago: jgrassler originated this project.

  • Comments

    • cwickert
      over 5 years ago by cwickert | Reply

      I packaged maildirproc for Fedora. Please note that my package(https://src.fedoraproject.org/rpms/maildirproc) is still python 2 because I gave up Fedora packaging after joining SUSE. Nevertheless the spec might be a good starting point. If you need any help, please don't hesitate to contact me.

    • jgrassler
      over 5 years ago by jgrassler | Reply

      Thanks! I'll take a look at it once I get to the actual packaging.

      Today I was cleaning up the sources and added documentation to make this fit for packaging...and spent a fair amount of time scratching my head over the subtle difference between these two:

      • pandoc -s -t html -o out.html < reference.rst
      • pandoc -s -t html -o out.html < reference.rst

      The first one works, the second yields complete and utter garbage. Solution tomorrow morning for those who would like to have a go at the puzzle themselves :-)

    • jgrassler
      over 5 years ago by jgrassler | Reply

      Sorry, messed that last bit up by pasting the same command twice. That's what it should have looked like:

      • pandoc -s -t html -o out.html reference.rst
      • pandoc -s -t html -o out.html < reference.rst

    • jgrassler
      over 5 years ago by jgrassler | Reply

      The solution is a -f rst for the command that reads from standard input. For pandoc guesses the input format based on the file name extension. If it only has a raw stream to work with it won't have a file name to base this sort of guess on.

    • jgrassler
      over 5 years ago by jgrassler | Reply

      Ok. documentation overhaul complete: there are shiny new man pages now (mailprocessing(5), imapproc(1) and maildirproc(1)) and documentation is built from RST using Pandoc. On to the actual packaging...

    • jgrassler
      over 5 years ago by jgrassler | Reply

      Preliminary package: https://build.opensuse.org/repositories/home:jgrassler:branches:server:mail

      I'm still tinkering with the spec to get the package to build on all platforms (fixing one usually breaks another...), but the package should be usable on the platforms where it does build. For what it's worth, I installed it on my Tumbleweed box already where I'm using it in lieu of the pip installed version I used before.

    • jgrassler
      over 5 years ago by jgrassler | Reply

      Ehwg. That link certainly got mixed up, sorry about that. Let's try again:

      You'll find the preliminary package in home:jgrassler:branches:server:mail on build.opensuse.org

    • jgrassler
      over 5 years ago by jgrassler | Reply

      For crying out lout...this form appears to mess up anything with colons in it, even URLs embedded in Markdown links. This should do it (remove the spaces from the URL):

      https://build.opensuse.org/project/show/ home: jgrassler: branches: server: mail

    • jgrassler
      over 5 years ago by jgrassler | Reply

      ...and here's the request for inclusion in server:mail: https://build.opensuse.org/request/show/622086

    • jgrassler
      over 5 years ago by jgrassler | Reply

      This has successfully made it into server: mail. I'll submit to Factory later this week. Meanwhile, just use the package from server: mail. It works, I use it myself :-)

    Similar Projects

    This project is one of its kind!