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 |
|
|
} |