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;' |