Skip to content

Commit 6cec2b1

Browse files
authored
Merge pull request #119 from crees/freebsd-port-info
Add FreeBSD port instructions
2 parents 51ba1de + 1cc507a commit 6cec2b1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,23 @@ yum install perl-File-MimeInfo perl-Mail-IMAPClient perl-MIME-tools perl-XML-Sim
3737
perl-Socket6 perl-PerlIO-gzip unzip perl-Mail-Mbox-MessageParser
3838
```
3939
Plus `perl-DBD-MySQL` for MySQL or `perl-DBD-Pg` for PostgreSQL.
40-
### on FreeBSD (FreeBSD 11.4):
40+
### on FreeBSD (FreeBSD 13.2):
4141
```
4242
sudo pkg install p5-File-MimeInfo p5-Mail-IMAPClient p5-MIME-tools p5-XML-Simple p5-DBI p5-Socket6 p5-PerlIO-gzip p5-Mail-Mbox-MessageParser unzip
4343
```
4444
Plus `p5-DBD-MySQL` for MySQL or `p5-DBD-Pg` for PostgreSQL.
45+
46+
There is also a port in mail/dmarcts-report-parser that does all this and
47+
creates a periodic script that runs the IMAP pull daily:
48+
```
49+
sudo pkg install dmarcts-report-parser
50+
[create the database and IMAP users and edit /usr/local/etc/dmarcts-report-parser.conf]
51+
echo daily_dmarcts_report_parser_enable=yes >> /etc/periodic.conf
52+
# Test it
53+
dmarcts-report-parser.pl -i
54+
# Hide the passwords!
55+
chmod 600 /usr/local/etc/dmarcts-report-parser.conf
56+
```
4557
### on macOS (macOS 10.13):
4658
```
4759
brew install mysql shared-mime-info

0 commit comments

Comments
 (0)