[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
** Changed in: exim4 (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966923 Title: exiqgrep -r and -f options match all messages if no To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/1966923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
** Tags added: verification-done-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966923 Title: exiqgrep -r and -f options match all messages if no To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/1966923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
This bug was fixed in the package exim4 - 4.95-4ubuntu2 --- exim4 (4.95-4ubuntu2) jammy; urgency=medium * d/p/lp1966923-exiqgrep-syntax-error.patch: Fix exiqgrep syntax error, improve the validation of command-line options and add a new -E option to allow specifying a binary to be used. (LP: #1966923) -- Sergio Durigan Junior Wed, 30 Mar 2022 16:45:24 -0400 ** Changed in: exim4 (Ubuntu Jammy) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966923 Title: exiqgrep -r and -f options match all messages if no To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/1966923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
** Merge proposal linked: https://code.launchpad.net/~sergiodj/ubuntu/+source/exim4/+git/exim4/+merge/417985 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966923 Title: exiqgrep -r and -f options match all messages if no To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/1966923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
** Changed in: exim4 (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966923 Title: exiqgrep -r and -f options match all messages if no To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/1966923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
** Tags added: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966923 Title: exiqgrep -r and -f options match all messages if no To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/1966923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
Thanks for the bug report, EOLE team. I can confirm that the exiqgrep command indeed fails on Jammy. I will see about backporting the fix to the package. BTW, this also affects Debian and there's a bug opened against the Debian exim4 package. ** Changed in: exim4 (Ubuntu) Status: New => Triaged ** Changed in: exim4 (Ubuntu) Assignee: (unassigned) => Sergio Durigan Junior (sergiodj) ** Bug watch added: Debian Bug tracker #1006661 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006661 ** Also affects: exim4 (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006661 Importance: Unknown Status: Unknown ** Changed in: exim4 (Ubuntu) Importance: Undecided => High ** Also affects: exim4 (Ubuntu Jammy) Importance: High Assignee: Sergio Durigan Junior (sergiodj) Status: Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966923 Title: exiqgrep -r and -f options match all messages if no To manage notifications about this bug go to: https://bugs.launchpad.net/exim/+bug/1966923/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1966923] Re: exiqgrep -r and -f options match all messages if no
Launchpad has imported 9 comments from the remote bug at http://bugs.exim.org/show_bug.cgi?id=2821. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2021-10-06T14:22:37+00:00 Fiedler-x wrote: The original author of this comment is ltning-e...@anduin.net. If exiqgrep is invoked with -r or -f but without specifying a regular expression - e.g. like exiqgrep -i -r | xargs exim -Mrm all enqueued are deleted. Help output states Selection criteria: -f Match sender address sender (field is "< >" wrapped) ... which indicates that is a required criteria. I presume the absence of is treated as an empty regex, matching everything - but I would consider this a bug, or at least unexpected behaviour. Needless to say the fallout of discovering this was somewhat significant. User error, yes, but not immediately obvious. Reply at: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1966923/comments/0 On 2021-10-20T14:53:19+00:00 Fiedler-x wrote: --- Bug imported by fied...@schlittermann.de 2021-10-20 14:53 UTC --- This bug was previously known as _bug_ 2821 at https://bugs.exim.org/show_bug.cgi?id=2821 Unknown bug field "comment_sort_order" encountered while moving bug oldest_to_newest Unknown platform unknown. Setting to default platform "". The original reporter of this bug does not have an account here. Reassigning to the person who moved it here: fied...@schlittermann.de. Previous reporter was ltning-e...@anduin.net. Reply at: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1966923/comments/1 On 2021-10-21T13:19:44+00:00 Git-p wrote: Git commit: https://git.exim.org/exim.git/commitdiff/df618101a5ea15dc90c4a2968798ef2be9dba16f commit df618101a5ea15dc90c4a2968798ef2be9dba16f Author: Jeremy Harris AuthorDate: Mon Oct 18 11:01:47 2021 +0100 Commit: Jeremy Harris CommitDate: Mon Oct 18 11:01:47 2021 +0100 Exiqgrep: check arg parsing. Bug 2821 --- src/src/exiqgrep.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/exiqgrep.src b/src/src/exiqgrep.src index c8762df..04602da 100644 --- a/src/src/exiqgrep.src +++ b/src/src/exiqgrep.src @@ -53,7 +53,7 @@ if ($ARGV[0] eq '--version') { exit 0; } -getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt); +if (!getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt) { exit;} if ($ARGV[0]) { exit;} if ($opt{h}) { exit;} if ($opt{a}) { $eargs = '-bp'; } Reply at: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1966923/comments/2 On 2021-10-21T13:27:23+00:00 Git-p wrote: Git commit: https://git.exim.org/exim.git/commitdiff/df618101a5ea15dc90c4a2968798ef2be9dba16f commit df618101a5ea15dc90c4a2968798ef2be9dba16f Author: Jeremy Harris AuthorDate: Mon Oct 18 11:01:47 2021 +0100 Commit: Jeremy Harris CommitDate: Mon Oct 18 11:01:47 2021 +0100 Exiqgrep: check arg parsing. Bug 2821 --- src/src/exiqgrep.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/exiqgrep.src b/src/src/exiqgrep.src index c8762df..04602da 100644 --- a/src/src/exiqgrep.src +++ b/src/src/exiqgrep.src @@ -53,7 +53,7 @@ if ($ARGV[0] eq '--version') { exit 0; } -getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt); +if (!getopts('hf:r:y:o:s:C:zxlibRcaG:',\%opt) { exit;} if ($ARGV[0]) { exit;} if ($opt{h}) { exit;} if ($opt{a}) { $eargs = '-bp'; } Reply at: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1966923/comments/3 On 2021-11-20T16:51:04+00:00 Jgh146exb wrote: Nobody commented Reply at: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1966923/comments/4 On 2022-03-02T18:14:20+00:00 Eximusers-i wrote: (In reply to Jeremy Harris from comment #4) > Nobody commented The applied patch introduces unbalanced parentheses. syntax error at /usr/sbin/exiqgrep line 56, near ") {" syntax error at /usr/sbin/exiqgrep line 56, near ";}" syntax error at /usr/sbin/exiqgrep line 57, near ";}" syntax error at /usr/sbin/exiqgrep line 58, near ";}" Execution of /usr/sbin/exiqgrep aborted due to compilation errors. cu Andreas Reply at: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1966923/comments/5 On 2022-03-06T16:48:48+00:00 Jgh146exb wrote: Oops. We had no regression-test case. Reply at: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1966923/comments/6