lefcha/imapfilter — pull request #62 by moparisthebest (2013-09-05 13:01:00+00:00)
Title: Read config from stdin if config is specified as '-'

This is a standard option in command line utilities and can make some things much easier.

Examples:
```bash
imapfilter -c ./config.lua # old way, still works
imapfilter -c - < ./config.lua # read from stdin
sed -e 's/user1/user2/' -e 's/pass1/pass2/' ./config.lua | imapfilter -c - # handy in bash loops, etc etc
```

For example I'm going to use it to use the same lua script on multiple accounts by just having sed replace the usernames and passwords for me while not writing the new config to the filesystem each time.

Thanks for the nice software!