]> diplodocus.org Git - minc/commitdiff
(find_mh_folder): If get_headers fails, return 'malformed' instead of
authorepg <>
Sun, 29 Dec 2002 00:13:07 +0000 (00:13 +0000)
committerepg <>
Sun, 29 Dec 2002 00:13:07 +0000 (00:13 +0000)
'inbox' so that malformed messages are quarantined for inspection.

minc

diff --git a/minc b/minc
index fd8625e..17c3d39 100755 (executable)
--- a/minc
+++ b/minc
@@ -554,7 +554,7 @@ sub find_mh_folder {
 
     %headers = get_headers($msg);
     if (not %headers) {
-        return 'inbox';
+        return 'malformed';
     }
 
     log_headers(%headers);