1 |
diff -Nur smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress |
2 |
--- smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress 2019-06-03 00:27:57.264000000 -0400 |
3 |
+++ smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress 2019-06-03 00:28:59.724000000 -0400 |
4 |
@@ -29,7 +29,7 @@ |
5 |
backend = polling |
6 |
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$wphbantime] |
7 |
EOF |
8 |
-$OUT .= " smeserver-sendmail[name="Wordpress (hard)",dest=$maildest]\n" |
9 |
+$OUT .= " smeserver-sendmail[name=\"Wordpress (hard)\",dest=$maildest]\n" |
10 |
if ($mail eq 'enabled'); |
11 |
|
12 |
|
13 |
@@ -45,7 +45,7 @@ |
14 |
backend = polling |
15 |
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$wpsbantime] |
16 |
EOF |
17 |
-$OUT .= " smeserver-sendmail[name="Wordpress (soft)",dest=$maildest]\n" |
18 |
+$OUT .= " smeserver-sendmail[name=\"Wordpress (soft)\",dest=$maildest]\n" |
19 |
if ($mail eq 'enabled'); |
20 |
|
21 |
|
22 |
@@ -61,7 +61,7 @@ |
23 |
bantime = $wpxbantime |
24 |
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$wpxbantime] |
25 |
EOF |
26 |
-$OUT .= " smeserver-sendmail[name="Wordpress (xmlrpc)",dest=$maildest]\n" |
27 |
+$OUT .= " smeserver-sendmail[name=\"Wordpress (xmlrpc)\",dest=$maildest]\n" |
28 |
if ($mail eq 'enabled'); |
29 |
|
30 |
} |