fail2ban questions

Alex mysqlstudent at gmail.com
Fri Jan 18 18:56:06 UTC 2013


Hi,

>> [ssh-iptables]
>> enabled  = true
>> filter   = sshd
>> action   = iptables[name=SSH, port=ssh, protocol=tcp]
>>            sendmail-whois[name=SSH, dest=myuser at mydomain.com,
>> sender=dmin at mydomain.com]
>> logpath  = /var/log/secure
>> maxretry = 5
>>
>> There doesn't seem to be a man page for this, and I can't really find
>> any local configuration documentation. How can I keep the rule enabled
>> but not have it send an email for every IP that it blocks? Is the only
>> way to delete the dest= and sender= options?
>
> Remove the sendmail-whois action entirely, leaving the iptables one.

Yeah, thanks. I was hoping there was a way to set a variable that
would affect all rules. I'll just comment out the sendmail-whois line
for now.

Thanks,
Alex


More information about the users mailing list