about summary refs log tree commit homepage
path: root/scripts/report-spam
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/report-spam')
-rwxr-xr-xscripts/report-spam8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/report-spam b/scripts/report-spam
index 0015ef0b..325f5718 100755
--- a/scripts/report-spam
+++ b/scripts/report-spam
@@ -32,14 +32,14 @@ PI_USER=pi
 
 case $1 in
 *[/.]spam/cur/*) # non-new messages in spam get trained
-        $DO_SENDMAIL $PI_USER+pispam < $1
-        exec $DO_SENDMAIL $USER+trainspam < $1
+        $DO_SENDMAIL $PI_USER+pispam <$1
+        exec $DO_SENDMAIL $USER+trainspam <$1
         ;;
 *:2,*S*) # otherwise, seen messages only
         case $1 in
         *:2,*T*) exit 0 ;; # ignore trashed messages
         esac
-        $DO_SENDMAIL $PI_USER+piham < $1
-        exec $DO_SENDMAIL $USER+trainham < $1
+        $DO_SENDMAIL $PI_USER+piham <$1
+        exec $DO_SENDMAIL $USER+trainham <$1
         ;;
 esac