/[smecontribs]/rpms/smeserver-mailsorting/contribs8/smeserver-mailsorting-forward.patch
ViewVC logotype

Contents of /rpms/smeserver-mailsorting/contribs8/smeserver-mailsorting-forward.patch

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


Revision 1.1 - (show annotations) (download)
Sun Jul 14 23:14:28 2013 UTC (10 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailsorting-1_2-41_el5_sme, smeserver-mailsorting-1_2-45_el5_sme, smeserver-mailsorting-1_2-47_el5_sme, smeserver-mailsorting-1_2-42_el5_sme, smeserver-mailsorting-1_2-44_el5_sme, smeserver-mailsorting-1_2-46_el5_sme, HEAD
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.2-41.sme
- apply locale 2013-07-14 patch
- documentation fix [SME: 7586]
- copy keeped even if forward [SME: 6847]

1 --- smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/76Filter.old 2012-02-09 18:19:38.000000000 -0500
2 +++ smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/76Filter 2012-02-09 18:26:11.000000000 -0500
3 @@ -19,6 +19,14 @@
4 if ($MailFilter eq 'bypass');
5 }
6
7 + if ($props{EmailForward})
8 + {
9 + my $EmailForward = $props{EmailForward} || 'on';
10 +
11 + return '# Procmail/Maildrop disabled for forwarding mail purpose'
12 + if ($EmailForward eq 'forward');
13 + }
14 +
15 if ($qmail{FilterType})
16 {
17 return '| /usr/bin/procmail ~/.procmailrc ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;'
18 --- smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/50Filter.old 2012-02-09 18:19:38.000000000 -0500
19 +++ smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/50Filter 2012-02-09 18:25:51.000000000 -0500
20 @@ -15,6 +15,14 @@
21 if ($MailFilter eq 'bypass');
22 }
23
24 + if ($props{EmailForward})
25 + {
26 + my $EmailForward = $props{EmailForward} || 'on';
27 +
28 + return '# Procmail/Maildrop disabled for forwarding mail purpose'
29 + if ($EmailForward eq 'forward');
30 + }
31 +
32 if ($qmail{FilterType})
33 {
34 return '| /usr/bin/procmail ~/.procmailrc ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;'

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