]> diplodocus.org Git - minc/commitdiff
(filter_mail): Resurrect -p functionality, which was lost in r1617.
authorepg <>
Wed, 14 Apr 2004 18:24:42 +0000 (18:24 +0000)
committerepg <>
Wed, 14 Apr 2004 18:24:42 +0000 (18:24 +0000)
minc

diff --git a/minc b/minc
index 80c88f4..9cb1901 100755 (executable)
--- a/minc
+++ b/minc
@@ -563,6 +563,10 @@ sub filter_mail {
     @baton = spam_start_hook();
 
     foreach $msg (@msglist) {
+        if ($printfilenames) {
+            print("$msg\n");
+        }
+
         if (spam_check($msg, @baton)) {
             $mhfolder = 'SPAM';
             $spam = scalar(@SPAM)+ 1;