/[smeserver]/rpms/e-smith-qmail/sme7/e-smith-qmail-1.10.0-ExcludeFromEveryoneEmail.patch
ViewVC logotype

Contents of /rpms/e-smith-qmail/sme7/e-smith-qmail-1.10.0-ExcludeFromEveryoneEmail.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 19:15:56 2008 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

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 }

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