/[smecontribs]/rpms/smeserver-zarafa/contribs7/smeserver-zarafa-0.9.0-zarafaPublic.patch
ViewVC logotype

Contents of /rpms/smeserver-zarafa/contribs7/smeserver-zarafa-0.9.0-zarafaPublic.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jul 27 11:06:39 2009 UTC (15 years, 3 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-zarafa-0_9_0-40_el4_sme, smeserver-zarafa-0_9_0-51_el4_sme, smeserver-zarafa-0_9_0-54_el4_sme, smeserver-zarafa-0_9_0-53_el4_sme, smeserver-zarafa-0_9_0-56_el4_sme, smeserver-zarafa-0_9_0-50_el4_sme, smeserver-zarafa-0_9_0-48_el4_sme, smeserver-zarafa-0_9_0-36_el4_sme, smeserver-zarafa-0_9_0-47_el4_sme, smeserver-zarafa-0_9_0-49_el4_sme, smeserver-zarafa-0_9_0-42_el4_sme, smeserver-zarafa-0_9_0-38_el4_sme, smeserver-zarafa-0_9_0-43_el4_sme, smeserver-zarafa-0_9_0-45_el4_sme, smeserver-zarafa-0_9_0-46_el4_sme, smeserver-zarafa-0_9_0-52_el4_sme, smeserver-zarafa-0_9_0-39_el4_sme, smeserver-zarafa-0_9_0-37_el4_sme, HEAD
Error occurred while calculating annotation data.
* Mon Jul 27 2009 Stephen Noble <support@dungog.net> - 0.9-36
- db setting to deliver mail to Public folders [SME 5412]

1 --- smeserver-zarafa-0.9.0/root/etc/e-smith/templates-user/.qmail/80Zarafa.zarafaPublic 2009-07-27 20:20:42.000000000 +1000
2 +++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates-user/.qmail/80Zarafa 2009-07-27 20:35:44.000000000 +1000
3 @@ -1,6 +1,13 @@
4 {
5 my $zarafa = $user->prop('zarafa') || 'disabled';
6 + my $zarafaPublic = $user->prop('zarafaPublic') || 'disabled';
7 my $zarafa2 = ${'zarafa-server'}{GlobalForward} || 'disabled';
8 - return "| /usr/bin/zarafa-dagent -q $USERNAME ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;"
9 - if ($zarafa eq 'enabled' || $zarafa2 eq 'enabled');
10 +
11 + if ($zarafa eq 'enabled' || $zarafa2 eq 'enabled')
12 + {
13 + if ($zarafaPublic eq 'enabled')
14 + { return "| /usr/bin/zarafa-dagent --public 'Public Folders\\$USERNAME' -C $USERNAME ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;"; }
15 + else
16 + { return "| /usr/bin/zarafa-dagent -q $USERNAME ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;" }
17 + }
18 }

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