[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#949384: sendmail: milter expansion of "$b" macro is unreliable



Control: tag -1 upstream
Control: found -1 8.15.2-8

Hi Bjørn,

interesting problem.

On Mon, 20 Jan 2020 14:26:27 +0100 =?utf-8?Q?Bj=C3=B8rn_Mork?=
<bjorn@mork.no> wrote:
> The bug is that sendmail returns sendmail process start time instead of
> current time when milters request the "$b" macro ("The current date in
> RFC822 format").  This happens often, but not on every milter excution.
> Sometimes the correct current time is returned. I do not know the exact
> trigger...

>From your timestamps it looks a bit like the first one of some "batch"
gets the correct time, but any subsequent ones the wrong one. A "batch"
could be multiple recipients in a message or multiple messages received
in a single smtp connection. The wallclock timestamps are quite tight
within such a "batch": e.g. 13:51:02-13:52:28, 14:06:49-14:08:03
Your mail logfiles might reveal more of the nature of these batches (but
you probably should not post them publically!)

You could try your luck upstream at
sendmail-bugs-2020@support.sendmail.org
I hope that these addresses still work after sendmail changing ownership.
Please keep this bug in Cc:

Andreas


Reply to: