about summary refs log tree commit homepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dc-dlvr3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/dc-dlvr b/scripts/dc-dlvr
index 5ebca3fe..a38760f5 100755
--- a/scripts/dc-dlvr
+++ b/scripts/dc-dlvr
@@ -25,7 +25,8 @@ cat >$CDMSG
 $CLAMDSCAN --quiet - <$CDMSG
 if test $? -eq 1
 then
-        exec $DELIVER -m INBOX.spam <$CDMSG
+        $DELIVER -m INBOX.spam <$CDMSG
+        exec rm -f $rm_list
 fi
 
 # pre-filter, for infrequently read lists which do their own spam filtering: