mattermail
mattermail copied to clipboard
Running Mattermail as a procmail filter
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.
Hi @guyou! I never worked with procmail before, how could this work? Maybe using command lines argument?
$ mattermail --email mailfile --channel "town-square"
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: