]> Sergey Matveev's repositories - public-inbox.git/blobdiff - scripts/dc-dlvr.pre
add filter for Subject: tags
[public-inbox.git] / scripts / dc-dlvr.pre
index 9183a96e77b345a45c2c98c349cdb1dbab6f023f..d7bc1b5c8efb08f5bf0e6b19c231bb9734985a77 100644 (file)
@@ -3,10 +3,9 @@
 # sourced by /etc/dc-dlvr in ~$PI_USER/.dc-dlvr.rc, this just exits,
 # aborting /etc/dc-dlvr
 export PATH=/usr/local/bin:/usr/bin:/bin
-exec 2>> ~/log/dc-dlvr.pre.err
 trap 'err=$?; set +e; test $err -eq 0 || rm -f $TMPMSG; exit $err' EXIT
 case $1,$CLIENT_ADDRESS in
-pispam,) exec public-inbox-learn spam < $TMPMSG ;;
-piham,) exec public-inbox-learn ham < $TMPMSG ;;
+pispam,) exec public-inbox-learn spam <$TMPMSG ;;
+piham,) exec public-inbox-learn ham <$TMPMSG ;;
 esac
-exec public-inbox-mda < $TMPMSG
+exec public-inbox-mda <$TMPMSG