/[smeserver]/rpms/smeserver-qpsmtpd/sme9/smeserver-qpsmtpd-2.4.0-external_badrcptto.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme9/smeserver-qpsmtpd-2.4.0-external_badrcptto.patch

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


Revision 1.1 - (show annotations) (download)
Fri May 6 21:28:42 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_4_0-38_el6_sme, smeserver-qpsmtpd-2_4_0-33_el6_sme, smeserver-qpsmtpd-2_4_0-29_el6_sme, smeserver-qpsmtpd-2_4_0-37_el6_sme, smeserver-qpsmtpd-2_4_0-35_el6_sme, smeserver-qpsmtpd-2_4_0-30_el6_sme, smeserver-qpsmtpd-2_4_0-36_el6_sme, smeserver-qpsmtpd-2_4_0-39_el6_sme, smeserver-qpsmtpd-2_4_0-34_el6_sme, smeserver-qpsmtpd-2_4_0-23_el6_sme, smeserver-qpsmtpd-2_4_0-25_el6_sme, smeserver-qpsmtpd-2_4_0-31_el6_sme, smeserver-qpsmtpd-2_4_0-27_el6_sme, smeserver-qpsmtpd-2_4_0-32_el6_sme, smeserver-qpsmtpd-2_4_0-24_el6_sme, smeserver-qpsmtpd-2_4_0-26_el6_sme, smeserver-qpsmtpd-2_4_0-28_el6_sme, HEAD
Error occurred while calculating annotation data.
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-23.sme
- Use an additional badrcptto file list for external connections so
  local only pseudonymes work as expected [SME: 9503]

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

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