/[smeserver]/rpms/e-smith-qmail/sme8/e-smith-qmail-2.2.0-modify_domain_style_pseudonyms_dot_in_name.patch |
Parent Directory | Revision Log | Revision Graph
* Wed May 22 2013 chris burnat <devlist@burnat.com> 2.2.0-10.sme - Modify domain style pseudonym pointing to user with dot in name, by Filippo Carletti [SME: 7607]
1 | diff -urN e-smith-qmail-2.2.0.old/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms e-smith-qmail-2.2.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms |
2 | --- e-smith-qmail-2.2.0.old/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms 2013-05-22 16:36:48.693863170 +1000 |
3 | +++ e-smith-qmail-2.2.0/root/etc/e-smith/templates/var/qmail/control/virtualdomains/90pseudonyms 2013-05-22 17:06:48.298862560 +1000 |
4 | @@ -14,7 +14,11 @@ |
5 | next unless ($pseudo->key =~ /@/); |
6 | |
7 | my $account = $pseudo->prop("Account"); |
8 | - $account =~ s/\./:/g; |
9 | + my $acct = $adb->get($account); |
10 | + if ($acct->prop('type') eq "group") |
11 | + { |
12 | + $account =~ s/\./:/g; |
13 | + } |
14 | |
15 | $OUT .= $pseudo->key . ":$account\n"; |
16 | } |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |