mattermail icon indicating copy to clipboard operation
mattermail copied to clipboard

Running Mattermail as a procmail filter

Open guyou opened this issue 8 years ago • 2 comments

Hi,

Do you think it is possible to evolve mattermail in a way that we can run it as a procmail filter? Doing this way, no need to run the soft permanently, it is just run when a email arrives in the expected account.

guyou avatar May 25 '16 19:05 guyou

Hi @guyou! I never worked with procmail before, how could this work? Maybe using command lines argument?

$ mattermail --email mailfile --channel "town-square"

rodcorsi avatar May 25 '16 19:05 rodcorsi

As far as I know, procmail pipe email to standard input of the sub-command. So, I imagine the perfect option would be something like --stdin. Do you think it is possible to hack mattermail this way?

As I don't know how to do such change, if you create a dedicated feature branch with such change, I can give it a try and keep you informed.

PS: sorry I certainly missed the notification :disappointed:

guyou avatar Sep 03 '16 15:09 guyou