[exim-dev] [Bug 2821] New: exiqgrep -r and -f options match …

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumptes nous: [exim-dev] [Bug 2821] exiqgrep -r and -f options match all messages if no, [exim-dev] [Bug 2821] exiqgrep -r and -f options match all messages if no, [exim-dev] [Bug 2821] exiqgrep -r and -f options match all messages if no, [exim-dev] [Bug 2821] exiqgrep -r and -f options match all messages if no
Assumpte: [exim-dev] [Bug 2821] New: exiqgrep -r and -f options match all messages if no regex defined
https://bugs.exim.org/show_bug.cgi?id=2821

            Bug ID: 2821
           Summary: exiqgrep -r and -f options match all messages if no
                    regex defined
           Product: Exim
           Version: 4.94
          Hardware: All
                OS: FreeBSD
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Exigrep
          Assignee: unallocated@???
          Reporter: ltning-exim@???
                CC: exim-dev@???


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 <regexp>     Match sender address sender (field is "< >" wrapped)
  ...
which indicates that <regexp> is a required criteria.


I presume the absence of <regexp> 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.

--
You are receiving this mail because:
You are on the CC list for the bug.