Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

Running Mattermail as a procmail filter #14

Open
guyou opened this issue May 25, 2016 · 2 comments
Open

Running Mattermail as a procmail filter #14

guyou opened this issue May 25, 2016 · 2 comments
Labels

Comments

@guyou
Copy link

guyou commented May 25, 2016

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.

@rodcorsi
Copy link
Owner

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

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

@guyou
Copy link
Author

guyou commented Sep 3, 2016

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 😞

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants