The app is looking for the following environment variables
||A string containing the reddit username of the bot you want to use.|
||A string containing the password for the reddit username of the bot you want to use.|
||A string containing the subreddit where you want to post to.|
||A string of comma separated e-mail addresses that are allowed to send to the app.|
||A string of comma separated IP addresses that are allowed to POST e-mail data to the app.|
||A string of random letters and numbers. Minimum of 30 characters. Used for verifying the integrity of signed cookies.|
You can either use
config/application.yml to store your environment variables for development or a
The test environment currently uses
.env.test. I am probably moving to using strictly dotenv for working with environment variables, so for now, whichever method you decide to use is up to you.
For the app to just work, the app was designed to work with Postmark's Inbound JSON API. You can either use their service or slightly modify the app to use whatever you want.
If you want to work with mailman, you will need to signup for the mailing list with the special e-mail address Postmark gave you for inbound e-mailing. You can do this without having the application setup, but ensure that your app isn't posting these e-mails anywhere. Also, in your mailman config for your account, make sure you disallow mailman from e-mailing your mailing list account password once a month. If you don't that's bad.
Also, you will want keep your e-mail hidden from the membership list. Configure your account to not show your inbound mailing address. I have taken measures to guard against if your inbound e-mail address gets exposed, but it's still a very good idea to keep it hidden.
Pull requests are accepted. If you're adding features, please have tests if possible.
The application is under the MIT License.