[exim-dev] [Bug 1586] New: exiqgrep silently ignores extra a…

Top Page
Delete this message
Reply to this message
Author: Toby Goodwin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 1586] exiqgrep silently ignores extra arguments, [exim-dev] [Bug 1586] exiqgrep silently ignores extra arguments, [exim-dev] [Bug 1586] exiqgrep silently ignores extra arguments
Subject: [exim-dev] [Bug 1586] New: exiqgrep silently ignores extra arguments
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1586
           Summary: exiqgrep silently ignores extra arguments
           Product: Exim
           Version: 4.80
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Exipick
        AssignedTo: nigel@???
        ReportedBy: toby@???
                CC: exim-dev@???



exiqgrep -i <= lists all message IDs in the queue

exiqgrep -i -f bad@??? <= lists IDs from the spammer

exiqgrep -i bad@??? <= silently ignores the argument; lists the entire
queue

I would like exiqgrep in the 3rd case to exit with an error, without printing
anything.

This would mean that an otherwise perfectly reasonable command, such as

exim -Mrm $( exiqgrep -i -f bad@??? )

is no longer a mere 2 characters away from deleting the entire queue.

(I know exipick doesn't have this problem, and our staff have now been told to
use that instead of exiqgrep. Perhaps exiqgrep could just go away?)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email