diff options
author | TechSneeze <dave@techsneeze.com> | 2016-03-08 09:51:04 +0300 |
---|---|---|
committer | TechSneeze <dave@techsneeze.com> | 2016-03-08 09:51:04 +0300 |
commit | 345ddd5990604bf8906db96b0d3d5ea3f94ada33 (patch) | |
tree | 362901b59c3dfe589dd4d8f0f9418e9aed9cf2ed /README.md | |
parent | 17379f7421ea36882264fade3550071af5ba9a64 (diff) |
Add Info about dependencies for Debian systems
Adding some information to install dependencies on a Debian system, and used marked-down formatting.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 19 insertions, 6 deletions
@@ -1,9 +1,22 @@ # imap-dmarcts -Parse DMARC reports from IMAP and insert into a database. +A Perl based tool to Parse DMARC reports from IMAP and insert into a database. -More info can currently be found at : http://www.techsneeze.com/how-parse-dmarc-reports-imap/ +To install dependencies on Debian: +``` +apt-get install libmail-imapclient-perl libmime-tools-perl libxml-simple-perl \ +libclass-dbi-mysql-perl libio-socket-inet6-perl libio-socket-ip-perl libperlio-gzip-perl +``` +Once the script has been downloaded, you'll want to edit these basic components. Most others are self-explanatory. +``` +our $imapserver = 'mail.example.com:143'; +our $imapuser = 'dmarcreports'; +our $imappass = 'xxx'; +our $mvfolder = 'processed'; +our $readfolder = 'Inbox'; +our $dbname = 'dmarc'; +our $dbuser = 'dmarc'; +our $dbpass = 'xxx'; +``` +The alternative is to use the `imap-dmarcts.conf` file. - -Enjoy! -Dave -TechSneeze.com +More info can currently be found at : [TechSneeze.com](http://www.techsneeze.com/how-parse-dmarc-reports-imap/) |