[exim] Re: exim 4.97.1 exiqgrep - line mismatch => broke mun…

Góra strony
Delete this message
Reply to this message
Autor: Niels Kobschätzki
Data:  
Dla: Cyborg
CC: exim users
Temat: [exim] Re: exim 4.97.1 exiqgrep - line mismatch => broke munin
There is a tool for converting old message-ids to new ones.
Or you wait until all messages with the old IDs are out of the queue.

Best,


Niels

> On Jan 12, 2024, at 09:17, Cyborg via Exim-users <exim-users@???> wrote:
>
> Hi all,
>
> Fedora pushed an exim 4.97.1 update last night and now exiqgrep -cz shows this error message, which breaks the munin plugin für the mailqueue.
>
> [~]# mailq
>  9h  2.2K 1rO3sE-005JbF-1D-H <> *** frozen ***
>           xxxxxx@???

>
> [~]# exiqgrep -cz
> Line mismatch: 9h 2.2K 1rO3sE-005JbF-1D-H <> *** frozen ***
>
> because:
>
> # exim -bpu
>  9h  2.2K 1rO3sE-005JbF-1D-H <> *** frozen ***
>           xxxxxx@???

>
> but according to the perl code should be:
>
> 9h 2.2K 1rO3sE-005JbF-1D-H <x@???>
>
> "collect" subroutine in exiqgrep has this REGEXP:
>
>                 #Should be 1st line of record, if not error.
>                 if ($line =~ /^\s*(?<age>\w+)
> \s+(?<size>(?:\d+(?:\.\d+)?[A-Z]?)?)
> \s*(?<msgid>(?:\w{6}-\w{6}-\w{2}|\w{6}-\w{11}-\w{4}))     # old, 2023 msgid formats
>                               \s+(?<from><.*?>)/x) {

>
>
> which does not seem to be correct:
>
> a) if the exim mailqueue is read line by line, <FROM> will be in a different line, as the rest of the issue.
>
> b) "<> *** frozen ***" is not handled, but i'm no expert in perl regexp magic foo ;)
>
>
> Any quick fix for exiqgrep available i can apply and give to the exim maintainer @ fedora?
>
>
> best regards,
> Marius
>
> --
> ## subscription configuration (requires account):
> ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
> ## unsubscribe (doesn't require an account):
> ## exim-users-unsubscribe@???
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/