diff options
author | Eric Wong <e@80x24.org> | 2016-08-20 00:25:16 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-08-21 09:26:47 +0000 |
commit | 52762ddc300db09aee3ad975a0efb6942343e779 (patch) | |
tree | 34a1da13ce9f67d10432a36af438afb6d286b314 /scripts/report-spam | |
parent | 303356a9125ab33e68604bae49be548575b40a84 (diff) | |
download | public-inbox-52762ddc300db09aee3ad975a0efb6942343e779.tar.gz |
This makes us closer to git.git style (though I'm not quite sure why we do this...)
Diffstat (limited to 'scripts/report-spam')
-rwxr-xr-x | scripts/report-spam | 8 |
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 |