X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=scripts%2Freport-spam;h=325f57183d2a14bb1365f45af1c949c246c79e22;hb=21fcd8a37c82c1ef654d402cf592f0c9d803aa26;hp=0015ef0ba22fca00a2fc9bb3a12a3c20146a89e4;hpb=62f57b7545eedf6a781efb2f5269b0a38ef2cd4c;p=public-inbox.git 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