1 |
burnat |
1.1 |
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 |
2 |
|
|
--- e-smith-qmail-2.4.0.old/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms 2013-05-23 16:51:52.525905036 +1000 |
3 |
|
|
+++ e-smith-qmail-2.4.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms 2013-05-23 17:20:04.805906131 +1000 |
4 |
|
|
@@ -13,8 +13,13 @@ |
5 |
|
|
{ |
6 |
|
|
next unless ($pseudo->key =~ /@/); |
7 |
|
|
|
8 |
|
|
- my $account = $pseudo->prop("Account"); |
9 |
|
|
- $account =~ s/\./:/g; |
10 |
|
|
+ my $account = $pseudo->prop("Account"); |
11 |
|
|
+ my $acct = $adb->get($account); |
12 |
|
|
+ if ($acct->prop('type') eq "group") |
13 |
|
|
+ { |
14 |
|
|
+ $account =~ s/\./:/g; |
15 |
|
|
+ } |
16 |
|
|
+ |
17 |
|
|
$OUT .= $pseudo->key . ":$account\n"; |
18 |
|
|
} |
19 |
|
|
} |