+pflogsumm (1.1.5-8) UNRELEASED; urgency=medium
+
+ * Fix regex in milter-rejects patch. Kudos to Andreas Jaggi
+ <debianbug@jaggi.info> for the report and patch. (Closes: #1027829)
+
+ -- Sven Hoexter <hoexter@debian.org> Wed, 04 Jan 2023 13:08:05 +0100
+
pflogsumm (1.1.5-7) unstable; urgency=medium
* Re-Release for a source only upload. Package is unchanged.
# regexp rejects happen in "cleanup"
if($cmd eq "cleanup" && (my($rejSubTyp, $rejReas, $rejRmdr) = $logRmdr =~
- /\/cleanup\[\d+\]: .*?\b(reject|warning|hold|discard): (header|body) (.*)$/) == 3)
-+ /\/cleanup\[\d+\]: .*?\b((?:milter-)reject|warning|hold|discard): (header|body|END-OF-MESSAGE) (.*)$/) == 3)
++ /\/cleanup\[\d+\]: .*?\b((?:milter-)?reject|warning|hold|discard): (header|body|END-OF-MESSAGE) (.*)$/) == 3)
{
$rejRmdr =~ s/( from \S+?)?; from=<.*$// unless($opts{'verbMsgDetail'});
$rejRmdr = string_trimmer($rejRmdr, 64, $opts{'verbMsgDetail'});