> Viktor Dukhovni via Postfix-users <[email protected]>:
>
> On Thu, Dec 11, 2025 at 12:55:53AM +0100, Gerald Galster via Postfix-users
> wrote:
>
>> I'm relating to the modified log message in general:
>
> You failed to read Wietse's original carefully. The only proposed
> change is to log **failure to create** a bounce message queue file with
> the original queue id as the correct context. This does not change the
> logging of normal (successful) bounce processing.
Thanks for clarifying that.
So for successful deliveries nothing changes:
> postfix/bounce[]: 4dRQzN6pXBzVHYR: sender non-delivery notification:
> new-queue-id
And the error case would look like this:
> postfix/bounce[]: 4dRQzN6pXBzVHYR: sender non-delivery notification: message
> content rejected
Log parsers historically expect a queue-id after "sender non-delivery
notification:".
How shall a parser best distinguish a queue id from a possibly variable error
message?
A regex that checks for spaces, chars/numbers and length (depending on long
queue id setting)?
Or will the wording change, so that an error message cannot accidentially be
mistaken for a queue-id?
My concern is that this change might break parsers that collate log lines.
Best regards,
Gerald
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]