- Install Mail::DMARC somewhere. Example
- Run the included
dmarc_httpd
CLI program. - Configure dmarc-perl.ini to point at the Mail::DMARC HTTP service.
- Enable this plugin in haraka's config/plugins file.
cd /path/to/local/haraka
npm install haraka-plugin-dmarc-perl
echo "dmarc-perl" >> config/plugins
service haraka restart
If the default configuration is not sufficient, copy the config file from the distribution into your haraka config dir and then modify it:
cp node_modules/haraka-plugin-dmarc-perl/config/dmarc-perl.ini config/dmarc-perl.ini
$EDITOR config/dmarc-perl.ini