[Users] Exporting subjects

Andrej Kacian andrej at kacian.sk
Sun Mar 26 20:04:30 CEST 2017


On Sun, 26 Mar 2017 10:43:34 -0700
sylpheed at 911networks.com wrote:

> On Sun, 26 Mar 2017 19:16:55 +0200
> Ralf Mardorf <silver.bullet at zoho.com> wrote:
> 
> >I don't understand what exactly you want to archive. For one mail by  
> 
> I get the following emails:
> 
> > Subject: [Fail2Ban] Apache (scan): banned 91.200.12.86  
> 
> screenshot: http://i.imgur.com/5mmgWku.png
> 
> So I want to make a list. That's to verify my iptable list on
> the server.
> 
> I'd like to run this once a month...

I'm sure fail2ban also records these events in a logfile directly on
the server. Wouldn't it be cheaper and more reliable to check (and
programatically parse) such logfile, instead of trying to push a square
peg through a round hole by processing e-mails?

Regards,
-- 
Andrej



More information about the Users mailing list