@viragomann said in Email reports?:
@pyrodex said in Email reports?:
I've looked at the the wonderful pfB reports for dnsbl but not sure how we can obtain the same data to be emailed out on a daily basis.
pfBlocker might write this into log files. You can use the mailreport package to send the log to you.
mailreport also lets you apply a filter to the file, so you can limit the lines to the actual date or to specific errors or whatever you want.
I tried this with the dnsbl.log and switched off VIP mode to NULL (0.0.0.0) which logs it into the file. However, I am seeing LARGE discrepancies between what the report shows for a 24 hour period vs what the log shows when I parse it. I even wrote a simple script to give me some data from the log and in fact do use the email reporting tool for that output but once again huge differences.