Hi fellow self-hosting lemmings,

In an SME setting, I’m looking for a service to regularly fetch mails from an IMAP server and print incoming mails and attachments on a local network printer based on rules (e.g., only print mails where the subject contains a specific word.)

Does a solution like that exist, ideally with a browser frontend to set it up?

Thank you!

  • @[email protected]
    link
    fedilink
    English
    4
    edit-2
    1 year ago

    … forget it. I was about to write a long-winded answer, that you can use usual cli mail softare to fetch the eml or msg files (mails) and use the tool on them and then send the pdf to the printers (most printers use pdf internally). But then i remembered that this would be the perfect job for a python script.

    But, uh, wouldn’t you better just save the mails instead of printing them? Environment and cost and so on.

    • @[email protected]OP
      link
      fedilink
      English
      31 year ago

      Gotcha. Thanks anyway. 🙂

      You’re right about printing not being all that, but certain situations (my situation) call for it, at least for the time being.

      This is for manufacturing orders in a low tech environment, and at this point in time I need to stick with a paper trail (so I can get rid of it in the future.)