On Wed, May 06, 2026 at 11:56:35PM -0700, Doug Hardie via Postfix-users wrote:
> Starting this week, I am seeing errors output from collate. The simple
> reproduction is the one line filel
>
> mail# ./collate xxx
> Use of uninitialized value in concatenation (.) or string at ./collate line
> 114, <> line 1.
> May 5 09:05:34 mail postfix/bounce[58560]: 4g93JP3FQkzMw76: sender
> non-delivery notification: 4g93JZ0174zMw7B
Your version appears to be slightly different from the one included with
Postfix source, there's "." concatenation on line 114. But it seems
that my personal copy has changed since and includes the below "fix":
--- a/auxiliary/collate/collate.pl
+++ b/auxiliary/collate/collate.pl
@@ -124,4 +124,3 @@ while (<>) {
}
- $transaction{$newid} =
- $_ . $transaction{$newid};
+ $transaction{$newid} = $_ . ($transaction{$newid} //
"");
$seqno{$newid} = ++$i if (! exists $seqno{$newid});
--
Viktor. 🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]