Page 1 of 1

Forward e-mails to disk log

Posted: 12 Feb 2015, 21:33
by kUdtiHaEX
I would like to aggregate logs from multiple servers to some service like FluentD or Logstash + Kibana + Elasticsearch.

I know that CSF (LFD actually) can log everything to syslog, but there is a huge difference between information in syslog and e-mails which are sent to some mailbox. So the question is - is there a way to enable e-mail like logging to disk (where e-mail like equals all information which is available in email to be available to the log file on disk (or syslog in JSON format))?

Re: Forward e-mails to disk log

Posted: 13 Feb 2015, 08:30
by ForumAdmin
You would have to use the BLOCK_REPORT option and write a script to do what you want to achieve

Re: Forward e-mails to disk log

Posted: 16 Feb 2015, 19:36
by kUdtiHaEX
This should work for all types of reports (IP blocks, mailing alerts, suspicious processes and so on)?