1 |
--- smeserver-denyhosts-2.6/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/denyhosts.patch2 2008-04-24 01:18:58.000000000 +0200 |
2 |
+++ smeserver-denyhosts-2.6/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/denyhosts 2008-04-24 01:12:17.000000000 +0200 |
3 |
@@ -51,4 +51,16 @@ |
4 |
<base>ERR_NO_RECORD</base> |
5 |
<trans>Unable to locate denyhosts record in configuration db</trans> |
6 |
</entry> |
7 |
+ <entry> |
8 |
+ <base>SAVE</base> |
9 |
+ <trans>Save</trans> |
10 |
+ </entry> |
11 |
+ <entry> |
12 |
+ <base>ENABLED</base> |
13 |
+ <trans>Enabled</trans> |
14 |
+ </entry> |
15 |
+ <entry> |
16 |
+ <base>DISABLED</base> |
17 |
+ <trans>Disabled</trans> |
18 |
+ </entry> |
19 |
</lexicon> |
20 |
--- smeserver-denyhosts-2.6/root/etc/e-smith/templates/etc/denyhosts.conf/ADMIN_EMAIL.patch2 2008-04-22 17:07:15.000000000 +0200 |
21 |
+++ smeserver-denyhosts-2.6/root/etc/e-smith/templates/etc/denyhosts.conf/ADMIN_EMAIL 2008-04-24 00:30:24.000000000 +0200 |
22 |
@@ -1 +1,5 @@ |
23 |
-ADMIN_EMAIL = admin@localhost |
24 |
+{ |
25 |
+ my $ADMIN_EMAIL = ( $denyhosts{'AdminEmail'} || 'admin@localhost'); |
26 |
+ $OUT="ADMIN_EMAIL = $ADMIN_EMAIL "; |
27 |
+ |
28 |
+} |
29 |
--- smeserver-denyhosts-2.6/root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_FROM.patch2 2008-04-22 17:07:15.000000000 +0200 |
30 |
+++ smeserver-denyhosts-2.6/root/etc/e-smith/templates/etc/denyhosts.conf/SMTP_FROM 2008-04-23 23:39:34.000000000 +0200 |
31 |
@@ -1 +1 @@ |
32 |
-SMTP_FROM = DenyHosts <nobody@localhost> |
33 |
+SMTP_FROM = DenyHosts <nobody@{"$DomainName";}> |