fail2ban email setup

I have fail2ban running but have no email sending configured. I only want this setup temporarily to see if I am getting any attacks. is there a way to add an email address via command line if necessary - I have postfix set up already.

Not directly, but you can temporarily set or unset the various “action*” for a particular jail to one of the sendmail-* options in /etc/fail2ban/ation.d/ with

fail2ban-client set <jail> action* <ACT> <CMD>

syntax and more at:-

http://www.fail2ban.org/wiki/index.php/Main_Page

Thanks Dicko, I’ll look into that.