/[smeserver]/rpms/e-smith-qmail/sme9/e-smith-qmail-2.4.0-modify_domain_style_pseudonyms.patch
ViewVC logotype

Annotation of /rpms/e-smith-qmail/sme9/e-smith-qmail-2.4.0-modify_domain_style_pseudonyms.patch

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


Revision 1.1 - (hide annotations) (download)
Fri May 3 02:01:21 2013 UTC (11 years, 6 months ago) by burnat
Branch: MAIN
CVS Tags: e-smith-qmail-2_4_0-5_el6_sme, e-smith-qmail-2_4_0-6_el6_sme, e-smith-qmail-2_4_0-8_el6_sme, e-smith-qmail-2_4_0-3_el6_sme, e-smith-qmail-2_4_0-7_el6_sme, e-smith-qmail-2_4_0-4_el6_sme, HEAD
* Fri May 03 2013 chris burnat <devlist@burnat.com> 2.4.0-3.sme
- Reverse Allow groups with dots [SME 6694] and modify domain style pseudonyms to point to the correct user, by Filippo Carletti [SME: 7572]

1 burnat 1.1 diff -urN e-smith-qmail-2.4.0.old/root/etc/e-smith/events/actions/qmail-update-group e-smith-qmail-2.4.0/root/etc/e-smith/events/actions/qmail-update-group
2     --- e-smith-qmail-2.4.0.old/root/etc/e-smith/events/actions/qmail-update-group 2013-02-07 08:56:02.000000000 +1100
3     +++ e-smith-qmail-2.4.0/root/etc/e-smith/events/actions/qmail-update-group 2013-05-03 10:47:59.988250621 +1000
4     @@ -73,6 +73,8 @@
5     next;
6     }
7     my %properties = $group->props;
8     + $groupName =~ s/\./:/g;
9     + my $group = "/var/qmail/alias/.qmail-$groupName";
10     my $members = $properties{Members};
11    
12     esmith::util::processTemplate(
13     diff -urN e-smith-qmail-2.4.0.old/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms e-smith-qmail-2.4.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms
14     --- e-smith-qmail-2.4.0.old/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms 2006-01-11 18:04:56.000000000 +1100
15     +++ e-smith-qmail-2.4.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms 2013-05-03 11:06:36.463235916 +1000
16     @@ -14,7 +14,7 @@
17     next unless ($pseudo->key =~ /@/);
18    
19     my $account = $pseudo->prop("Account");
20     -
21     + $account =~ s/\./:/g;
22     $OUT .= $pseudo->key . ":$account\n";
23     }
24     }

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