A Rails app to parse DMARC report emails and show the results in a web UI.
Includes a ruby DMARC report parser in ./lib/parse_dmarc.rb
Designed to be run on heroku using cloudmailin to convert emails to HTTP.
this assumes you are deplying to heroku and already have the heroku toolbelt setup and working
git clone https://github.com/edds/dmarc-reporter.git
cd dmarc-reporter
heroku create
heroku config:add SITE_USER=user SITE_PASS=password
git push heroku master
heroku run rake db:migrate
heroku addons:add cloudmailin
heroku config
- Using
CLOUDMAILIN_USERNAME
andCLOUDMAILIN_PASSWORD
as displayed by the previous command login to cloudmailin and set up a email forward tohttp://user:password@project_name.herokuapp.com
. - Set the email address that receives your DMARC reports to forward to the
address listed as
CLOUDMAILIN_FORWARD_ADDRESS