]> Sergey Matveev's repositories - public-inbox.git/commitdiff
scripts/dc-dlvr.pre: ensure stderr gets back to the MTA
authorEric Wong <e@80x24.org>
Tue, 14 Jul 2015 21:09:50 +0000 (21:09 +0000)
committerEric Wong <e@80x24.org>
Tue, 14 Jul 2015 21:09:50 +0000 (21:09 +0000)
We want to be able to reject errors back to the MTA.

scripts/dc-dlvr.pre

index 9183a96e77b345a45c2c98c349cdb1dbab6f023f..c10e80c7b6e2b2b8ab28a6325f1fc504bf87d1e8 100644 (file)
@@ -3,7 +3,6 @@
 # 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 ;;