File grepmail_midnight.patch of Package grepmail

--- grepmail
+++ grepmail
@@ -397,7 +397,7 @@
     if (eval 'require Date::Manip')
     {
       my ($version_number) = $Date::Manip::VERSION =~ /^(\d+\.\d+)/;
-      Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43;
+      Date::Manip::Date_Init("TodayIsMidnight=1") if $version_number >= 5.43 && $version_number < 6;
     }
   }