diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service20qpsmtpd b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service20qpsmtpd index d57c915..fc4ddf4 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service20qpsmtpd +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service20qpsmtpd @@ -8,7 +8,7 @@ push @ports, ($qpsmtpd{'TCPPort'} || '25'); push @ports, ($sqpsmtpd{'TCPPort'} || '465') if (($sqpsmtpd{'status'} || 'disabled') eq 'enabled'); push @ports, ($uqpsmtpd{'TCPPort'} || '587') - if ((usqpsmtpd{'status'} || 'disabled') eq 'enabled'); + if (($usqpsmtpd{'status'} || 'disabled') eq 'enabled'); my $port = join (",", @ports); my $max = $maxretry*3; diff --git a/root/etc/fail2ban/filter.d/smanager.conf b/root/etc/fail2ban/filter.d/smanager.conf index dae71b6..356c843 100644 --- a/root/etc/fail2ban/filter.d/smanager.conf +++ b/root/etc/fail2ban/filter.d/smanager.conf @@ -6,7 +6,7 @@ failregex = ^\[.*\] \[info\] Login FAILED: .*\t$ ignoreregex = ^\[.*\] \[debug\] .*$ -ignoreregex = ^\[.*\] \[info\] Login succeeded: .*$ + ^\[.*\] \[info\] Login succeeded: .*$ datepattern = {^LN-BEG} diff --git a/smeserver-fail2ban.spec b/smeserver-fail2ban.spec index 0ee43d9..f8b19d6 100644 --- a/smeserver-fail2ban.spec +++ b/smeserver-fail2ban.spec @@ -1,5 +1,5 @@ %define version 0.1.18 -%define release 36 +%define release 37 %define name smeserver-fail2ban Summary: fail2ban integration on SME Server @@ -25,6 +25,10 @@ AutoReqProv: no Configure fail2ban on SME Server %changelog +* Tue Sep 30 2025 Jean-Philippe Pialasse 0.1.18-37.sme +- fix typo for uqpsmtpd [SME: 13172] +- fix smanager filter [SME: 13206] + * Fri Sep 26 2025 Jean-Philippe Pialasse 0.1.18-36.sme - fix spec file [SME: 13172] - fix 05IgnoreIP fragment [SME: 12453]