/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-external_badrcptto.patch
ViewVC logotype

Annotation of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-external_badrcptto.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Apr 22 08:38:15 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-39_el7_sme, smeserver-qpsmtpd-2_6_0-25_el7_sme, smeserver-qpsmtpd-2_6_0-33_el7_sme, smeserver-qpsmtpd-2_6_0-30_el7_sme, smeserver-qpsmtpd-2_6_0-29_el7_sme, smeserver-qpsmtpd-2_6_0-24_el7_sme, smeserver-qpsmtpd-2_6_0-34_el7_sme, smeserver-qpsmtpd-2_6_0-31_el7_sme, smeserver-qpsmtpd-2_6_0-32_el7_sme, smeserver-qpsmtpd-2_6_0-28_el7_sme, smeserver-qpsmtpd-2_6_0-38_el7_sme, smeserver-qpsmtpd-2_6_0-35_el7_sme, smeserver-qpsmtpd-2_6_0-17_el7_sme, smeserver-qpsmtpd-2_6_0-16_el7_sme, smeserver-qpsmtpd-2_6_0-19_el7_sme, smeserver-qpsmtpd-2_6_0-40_el7_sme, smeserver-qpsmtpd-2_6_0-36_el7_sme, smeserver-qpsmtpd-2_6_0-20_el7_sme, smeserver-qpsmtpd-2_6_0-23_el7_sme, smeserver-qpsmtpd-2_6_0-37_el7_sme, smeserver-qpsmtpd-2_6_0-27_el7_sme, smeserver-qpsmtpd-2_6_0-22_el7_sme, smeserver-qpsmtpd-2_6_0-21_el7_sme, smeserver-qpsmtpd-2_6_0-26_el7_sme
* Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-16.sme
- Use an additional badrcptto file list for external connections so
  local only pseudonymes work as expected [SME: 9460] [SME: 4597]

1 vip-ire 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/createlinks mezzanine_patched_smeserver-qpsmtpd-2.6.0/createlinks
2     --- smeserver-qpsmtpd-2.6.0/createlinks 2016-04-21 23:24:20.862748593 +0200
3     +++ mezzanine_patched_smeserver-qpsmtpd-2.6.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.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/00Setup mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/00Setup
13     --- smeserver-qpsmtpd-2.6.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.6.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.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/10InternalPeudonymes mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/10InternalPeudonymes
25     --- smeserver-qpsmtpd-2.6.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.6.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.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/34badrcptto_ext mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/34badrcptto_ext
39     --- smeserver-qpsmtpd-2.6.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.6.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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed