1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/alias/.qmail-shared/50body mezzanine_patched_e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/alias/.qmail-shared/50body |
2 |
|
|
--- e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/alias/.qmail-shared/50body 2006-01-11 18:04:56.000000000 +1100 |
3 |
|
|
+++ mezzanine_patched_e-smith-qmail-1.10.0/root/etc/e-smith/templates/var/qmail/alias/.qmail-shared/50body 2006-08-14 16:45:40.411590546 +1000 |
4 |
|
|
@@ -1,5 +1,13 @@ |
5 |
|
|
{ |
6 |
|
|
use esmith::AccountsDB; |
7 |
|
|
my $a = esmith::AccountsDB->open_ro; |
8 |
|
|
- $OUT = join "\n", "&admin", sort map { "&" . $_->key } $a->users; |
9 |
|
|
+ |
10 |
|
|
+ $OUT = ''; |
11 |
|
|
+ |
12 |
|
|
+ for my $user ( $a->get('admin'), $a->users ) |
13 |
|
|
+ { |
14 |
|
|
+ next if ( ($user->prop('EveryoneEmail') || 'yes') eq 'no'); |
15 |
|
|
+ |
16 |
|
|
+ $OUT .= '&' . $user->key . "\n"; |
17 |
|
|
+ } |
18 |
|
|
} |