--- smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/76Filter.old 2012-02-09 18:19:38.000000000 -0500 +++ smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/76Filter 2012-02-09 18:26:11.000000000 -0500 @@ -19,6 +19,14 @@ if ($MailFilter eq 'bypass'); } + if ($props{EmailForward}) + { + my $EmailForward = $props{EmailForward} || 'on'; + + return '# Procmail/Maildrop disabled for forwarding mail purpose' + if ($EmailForward eq 'forward'); + } + if ($qmail{FilterType}) { return '| /usr/bin/procmail ~/.procmailrc ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;' --- smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/50Filter.old 2012-02-09 18:19:38.000000000 -0500 +++ smeserver-mailsorting-1.2/root/etc/e-smith/templates-user/.qmail/50Filter 2012-02-09 18:25:51.000000000 -0500 @@ -15,6 +15,14 @@ if ($MailFilter eq 'bypass'); } + if ($props{EmailForward}) + { + my $EmailForward = $props{EmailForward} || 'on'; + + return '# Procmail/Maildrop disabled for forwarding mail purpose' + if ($EmailForward eq 'forward'); + } + if ($qmail{FilterType}) { return '| /usr/bin/procmail ~/.procmailrc ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;'