1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.4.0/createlinks mezzanine_patched_smeserver-qpsmtpd-2.4.0/createlinks |
2 |
--- smeserver-qpsmtpd-2.4.0/createlinks 2016-04-21 23:24:20.862748593 +0200 |
3 |
+++ mezzanine_patched_smeserver-qpsmtpd-2.4.0/createlinks 2016-04-21 22:58:54.729785684 +0200 |
4 |
@@ -81,6 +81,7 @@ |
5 |
IP |
6 |
badhelo |
7 |
badrcptto |
8 |
+ badrcptto_ext |
9 |
dnsbl_zones |
10 |
dnsbl_allow |
11 |
uribl_zones |
12 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/00Setup mezzanine_patched_smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/00Setup |
13 |
--- smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/00Setup 1970-01-01 01:00:00.000000000 +0100 |
14 |
+++ mezzanine_patched_smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/00Setup 2016-04-21 23:23:50.195770385 +0200 |
15 |
@@ -0,0 +1,8 @@ |
16 |
+{ |
17 |
+ use esmith::AccountsDB; |
18 |
+ use esmith::DomainsDB; |
19 |
+ $a = esmith::AccountsDB->open_ro or die "Couldn't open AccountsDB"; |
20 |
+ $d = esmith::DomainsDB->open_ro or die "Couldn't open DomainsDB"; |
21 |
+ |
22 |
+ $OUT = ''; |
23 |
+} |
24 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/10InternalPeudonymes mezzanine_patched_smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/10InternalPeudonymes |
25 |
--- smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/10InternalPeudonymes 1970-01-01 01:00:00.000000000 +0100 |
26 |
+++ mezzanine_patched_smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/10InternalPeudonymes 2016-04-21 23:24:18.098750557 +0200 |
27 |
@@ -0,0 +1,10 @@ |
28 |
+{ |
29 |
+ $OUT .= ''; |
30 |
+ foreach my $alias ( $a->users, $a->groups, $a->pseudonyms ){ |
31 |
+ next unless ( $alias->prop('Visible') || '') =~ m/^(internal|none)$/i; |
32 |
+ |
33 |
+ foreach my $domain ( $d->domains ){ |
34 |
+ $OUT .= $alias->key . '@' . $domain->key . "\n"; |
35 |
+ } |
36 |
+ } |
37 |
+} |
38 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/34badrcptto_ext mezzanine_patched_smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/34badrcptto_ext |
39 |
--- smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/34badrcptto_ext 1970-01-01 01:00:00.000000000 +0100 |
40 |
+++ mezzanine_patched_smeserver-qpsmtpd-2.4.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/34badrcptto_ext 2016-04-21 22:57:51.354826794 +0200 |
41 |
@@ -0,0 +1 @@ |
42 |
+badrcptto more_badrcptto badrcptto_ext |