]> diplodocus.org Git - minc/commitdiff
(store_message): Don't log the SPAM folder; since we hadn't logged
authorepg <>
Thu, 13 Mar 2003 01:25:49 +0000 (01:25 +0000)
committerepg <>
Thu, 13 Mar 2003 01:25:49 +0000 (01:25 +0000)
any headers in the spam case, it just fills the log with useless
crap.

minc

diff --git a/minc b/minc
index 7c2a2d39e4d14c53cfbe13a9b5c2fcf1a1e01462..52e9a8213fe87e141c972c7fee2705f887550b1d 100755 (executable)
--- a/minc
+++ b/minc
@@ -461,7 +461,9 @@ sub store_message {
         #sleep(2);
     }
 
-    logsave("+$mhfolder");
+    if ($mhfolder ne 'SPAM') {
+        logsave("+$mhfolder");
+    }
 
     if ($run) {
         if (not rename($msg, $mhmsg)) {