/[smecontribs]/rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0-filterorder.patch
ViewVC logotype

Contents of /rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0-filterorder.patch

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


Revision 1.1 - (show annotations) (download)
Sat Jun 6 00:58:19 2009 UTC (14 years, 10 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-35_el4_sme, smeserver-vacation-1_0-36_el4_sme, smeserver-vacation-1_0-39_el4_sme, HEAD
* Sat Jun 06 2009 Stephen Noble <support@dungog.net> - 1.0-35
- cp .qmail fragment before SME filtering with filterorder prop [SME: 5327]

1 --- smeserver-vacation-1.0/root/etc/e-smith/templates-user/.qmail/74vacationMessage.filterorder 2009-06-06 10:50:03.000000000 +1000
2 +++ smeserver-vacation-1.0/root/etc/e-smith/templates-user/.qmail/74vacationMessage 2009-06-06 10:51:16.000000000 +1000
3 @@ -1,4 +1,10 @@
4 {
5 + if ($qmail{FilterOrder})
6 + {
7 + return '# qmail FilterOrder enabled - vacation'
8 + }
9 + else
10 + {
11 my $VacationDelay = $qmail{VacationDelay} || '';
12
13 if ($props{EmailVacation})
14 @@ -8,4 +14,5 @@
15 }
16
17 return '# Vacation Message not set'
18 + }
19 }
20 --- smeserver-vacation-1.0/root/etc/e-smith/templates-user/.qmail/49vacationMessage.filterorder 2009-06-06 10:43:43.000000000 +1000
21 +++ smeserver-vacation-1.0/root/etc/e-smith/templates-user/.qmail/49vacationMessage 2009-06-06 10:48:19.000000000 +1000
22 @@ -0,0 +1,15 @@
23 +{
24 + if ($qmail{FilterOrder})
25 + {
26 +
27 + my $VacationDelay = $qmail{VacationDelay} || '';
28 +
29 + if ($props{EmailVacation})
30 + {
31 + return "| /usr/local/bin/vacation -j $VacationDelay $USERNAME"
32 + if ($props{EmailVacation} eq 'yes');
33 + }
34 +
35 + return '# Vacation Message not set'
36 + }
37 +}

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